gpt-4-0314· openai
Suzhen/CodeChat
add to grouplist, groups for first corps and second corps if selectedcorp ==…
- User
add to group_list, groups for first corps and second corps if selected_corp == "first_corpus": group_list = ["АОЭ/21", "АОКС/21", "АОИС1/21", "АОРТ/21", "АОМЦ/21", "АОМЦ3/22", "АОЮ1/21", "АОЮ2/21", "АОЭ/20", "АОМТ/20", "АОКС/20", "АОРТ/20", "АОМЦ/20", "АОПИ/20", "АОИС2/21", "АОЮ1/20", "АОЮ2/20", "АОЭ/19", "АОКС/19", "АОМТ/19", "АОРТ/19", "АОПИ/19", "АОМЦ/19"], а для второго корпуса elif selected_corp == "second_corpus": group_list = ["АОЭ/34", "АОКС/35", "АОИС1/36"] markup = create_group_buttons(group_list)
if callback_query.from_user.id == ADMIN_ID: markup.add(InlineKeyboardButton(text="🔧Изменить расписание", callback_data="change_path")) await message.reply("📃Выберите группу", reply_markup=markup) - Assistant
group_list = [] if selected_corp == "first_corpus": group_list = [ "АОЭ/21", "АОКС/21", "АОИС1/21", "АОРТ/21", "АОМЦ/21", "АОМЦ3/22", "АОЮ1/21", "АОЮ2/21", "АОЭ/20", "АОМТ/20", "АОКС/20", "АОРТ/20", "АОМЦ/20", "АОПИ/20", "АОИС2/21", "АОЮ1/20", "АОЮ2/20", "АОЭ/19", "АОКС/19", "АОМТ/19", "АОРТ/19", "АОПИ/19", "АОМЦ/19" ] elif selected_corp == "second_corpus": group_list = [ "АОЭ/34", "АОКС/35", "АОИС1/36" ] markup = create_group_buttons(group_list) if callback_query.from_user.id == ADMIN_ID: markup.add(InlineKeyboardButton(text="🔧Изменить расписание", callback_data="change_path")) await message.reply("📃Выберите группу", reply_markup=markup) - User
привет
- Assistant
Привет! Как я могу тебе помочь сегодня?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.