Spaces:
Runtime error
Runtime error
Merge branch 'main' of https://huggingface.co/spaces/hbui/RegBot4.0
Browse files11 unmodified lines1213141516171811 unmodified linesprompt_template = """Answer the question using the given context to the best of your ability.If you don't know, answer I don't know.Context: {context}Topic: {topic}"""PROMPT = PromptTemplate(template=prompt_template, input_variables=["context", "topic"])11 unmodified lines121314151617181920212223242526272811 unmodified linesprompt_template = """Answer the question using the given context to the best of your ability.If you don't know, answer I don't know.Context: {context}Topic: {topic}Use the following example format for your answer:[FORMAT]Answer:The answer to the user question.Reference:The list of references to the specific sections of the documents that support your answer.[END_FORMAT]"""PROMPT = PromptTemplate(template=prompt_template, input_variables=["context", "topic"])
models/langOpen.py+11-1