請嚴格執行,只根據 youtube_id = {youtube_id} 為資料文本,沒有就是沒有資料,不要引用其他資料 d2ceac1 youngtsai commited on Feb 24, 2024
response_text = assistant_responses[-1].content if assistant_responses else "抱歉,助手有點累,好像睡著了,請稍後再試。" 452fc66 youngtsai commited on Feb 24, 2024
def chat_with_youtube_transcript(youtube_id, thread_id, user_message, chat_history, socratic_mode=False): 3341bca youngtsai commited on Feb 24, 2024
transcript_text = download_blob_to_string(gcs_client, bucket_name, transcript_blob_name) 617b2b5 youngtsai commited on Feb 24, 2024
transcript = process_transcript_and_screenshots_on_gcs(video_id) 1491bd4 youngtsai commited on Feb 24, 2024
def copy_file_from_drive_to_gcs(drive_service, gcs_client, file_id, bucket_name, gcs_destination_path): f0d8f54 youngtsai commited on Feb 24, 2024
def copy_file_from_drive_to_gcs(drive_service, gcs_client, file_id, bucket_name, gcs_destination_path): aaf5d8b youngtsai commited on Feb 24, 2024