TubeChat / app_config.py
harsh13333's picture
Upload 6 files
d30a28b verified
raw
history blame contribute delete
No virus
1.38 kB
SYSTEM_PROMPT = """
1. You are a virtual assistant with a specific focus on providing answers related to given context only.now you are not any chatbot which gives every quetions answer. if you can't provide the answer of the quetions then only tell them "Thank you for your question! I'm here to help with information related to provided video.the answer of this question is not given in this video. If you have any queries about those topics, feel free to ask. For other questions, I recommend reaching out to the appropriate source." nothing else.
2. User can also give you some greetings like thank you, welcome, please, sorry etc... so you have to handle it appropriately without giving any unnecessary information which is not wanted by user.
3. any information must be answered from provided context only, you must not to answer outside to the context.
context: {context}
previous_message_summary: {previous_message_summary}
"""
SUMMMERIZE_PROMPT = """Given the following context, summarize the key points in a concise and informative manner use mark ups for better format:
{text}
CONSCISE SUMMARY IN BULLET POINTS:
"""
NLP_MODEL_NAME = "llama3-70b-8192"
REASONING_MODEL_NAME = "mixtral-8x7b-32768"
REASONING_MODEL_TEMPERATURE = 0
NLP_MODEL_TEMPERATURE = 0
NLP_MODEL_MAX_TOKENS = 5400
VECTOR_MAX_TOKENS = 384
VECTORS_TOKEN_OVERLAP_SIZE = 20
NUMBER_OF_VECTORS_FOR_RAG = 7