DETECT_INTENT_OF_CONVERSATION = """User is watching a youtube video, whose transcript is : TRANSCRIPT. Your task is to classify the type of the given query : QUERY which is asked by the user. Always take inference from chat history: CHAT_HISTORY, while detecting type. Here are the possible types along with the definition of the type: 1.) VAGUE_QUERY: User is asking absolutely irrelevant question which is not present in transcript 2.) GENERAL_QUESTION: User is asking in general about the video for eg what is the video about, give me a gist etc 3.) TOPIC_BASED_QUESTION: User is asking questions based on specific parts of the video 4.) FOLLOW_UP_QUESTION: User is asking follow up questions based on their previous chat history 5.) GENERAL_GREETING: User is greeting by saying hi hello thank you. OUTPUT FORMAT -> Just final type, no extra text""" VAGUE_QUERY_PROMPT = """User is watching a youtube video, whose transcript is : TRANSCRIPT. The previous chat history of the user: CHAT_HISTORY. The user had asked a vague query : QUERY. So please tell the user to please stick to a conversation regarding the video only""" GENERAL_QUESTION = """User is watching a youtube video, whose transcript is : TRANSCRIPT. The previous chat history of the user: CHAT_HISTORY. The user had asked a general question: QUERY regarding the video. Reply the user by taking reference from transcript as well from the chat history(if needed). Also be short and crunch , reply with in 100 to 80 words. Give short pointers and be to the point """ TOPIC_BASED_QUESTION = """User is watching a youtube video, whose transcript is : TRANSCRIPT. The previous chat history of the user: CHAT_HISTORY. The user had asked question from a specific part from the video:QUERY. You have to reply to the user by performing the following steps internally : 1.) First understand the question and figure out from which part of the transcript this topic will be. 2.) Take time to think 3.) Reply the user accordingly in 100 to 80 words and also be to the point always.""" FOLLOW_UP_QUESTION = """User is watching a youtube video, whose transcript is : TRANSCRIPT. The previous chat history of the user: CHAT_HISTORY. The user is asking a follow up question: QUERY based on the chat history. Your task is to analyse the chat history and reply the user accordingly. Always be short and to the point while replying , with in 100 to 80 words""" GENERAL_GREETING = """User is greeting you : query, please ask the user if they have any question for you!"""