Commit History

def refresh_video_LLM_all_content(video_ids):
c095b27

youngtsai commited on

mind map add
ec62ce4

youngtsai commited on

"groq_llama3": "llama-3.1-70b-versatile",
a5d0004

youngtsai commited on

# 飛特音速 add
2225708

youngtsai commited on

change: add junyiacademy.appspot.com to valid origin
dbcfc71
verified

jy-raychen commited on

doc: add note after update youtube_link events
0b69a11
verified

jy-raychen commited on

change to use `input` listener
795857a
verified

jy-raychen commited on

Add block_ready_flag (#2)
8a12255
verified

jy-raychen commited on

update
6991427

youngtsai commited on

update
28353ce

youngtsai commited on

update
b96d724

youngtsai commited on

update
d4bec48

youngtsai commited on

update
c9bb5b3

youngtsai commited on

update
71df495

youngtsai commited on

update
eb776f5

youngtsai commited on

update
9fe5559

youngtsai commited on

update
a15a2f3

youngtsai commited on

update
323212d

youngtsai commited on

update
0af8b29

youngtsai commited on

update
5324cd6

youngtsai commited on

update
f4feb7d

youngtsai commited on

worksheet_edit_button = gr.Button("編輯", size="sm", variant="primary")
b326bfd

youngtsai commited on

with gr.Tab("教學備課"):
54486da

youngtsai commited on

'format': "bestvideo[height<=720][ext=mp4]",
a5c3e6a

youngtsai commited on

with yt_dlp.YoutubeDL(ydl_opts) as ydl:
ba2af2c

youngtsai commited on

vaitor_chatbot_select_btn
17fccaa

youngtsai commited on

refactor setup_chatbot_select_button
01462ec

youngtsai commited on

create_questions_btn.click(
c159b8a

youngtsai commited on

def chatbot_select(chatbot_name):
a579af6

youngtsai commited on

user_message += "/n (請一定要用繁體中文回答 zh-TW,並用台灣人的禮貌口語表達,回答時不要特別說明這是台灣人的語氣,不要提到「台灣腔」,不用提到「逐字稿」這個詞,用「內容」代替),回答時如果有用到數學式,請用數學符號代替純文字(Latex 用 $ 字號 render)"
ae1f4a3

youngtsai commited on

def chat_with_any_ai(ai_type, password, video_id, user_data, transcript_state, key_moments, user_message, chat_history, content_subject, content_grade, questions_answers_json, socratic_mode=False, thread_id=None, ai_name=None):
2f94953

youngtsai commited on

def chat(self, user_message, chat_history, socratic_mode=False, service_type='openai'):
78a1c85

youngtsai commited on

feedback_with_ai
38c9c0c

youngtsai commited on

socratic_mode_btn
b154ec3

youngtsai commited on

user_message = f"""transcription: {transcription}
3ed8987

youngtsai commited on

system_message = """你是專業的 LATEX 轉換師,擅長將數學符號、公式轉換成 LATEX 格式,並用 LATEX 符號 $...$ 包裹,ex: $x^2$
fa78f46

youngtsai commited on

也不要給出多餘的敘述
54c7397

youngtsai commited on

transcription: x的平方加 2x 加 1 等於 0
b40faf1

youngtsai commited on

請將 transcription 的數學、公式、運算式、化學式、物理 formula 內容轉換成 LATEX 格式
0d4173e

youngtsai commited on

system_message = "你是專業的 LATEX 轉換師,擅長將數學符號、公式轉換成 LATEX 格式"
dd78554

youngtsai commited on

CHAT_LIMIT = 10
a6f9c78

youngtsai commited on

question_message = ""
07ae1f3

youngtsai commited on

def get_video_duration(video_id):
2c1b15d

youngtsai commited on

handle_conversation_by_open_ai_assistant
6b24245

youngtsai commited on

refactor
ec27698

youngtsai commited on

def update_send_and_feedback_buttons(chat_history, chat_limit):
0d05167

youngtsai commited on