Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ prompt = PromptTemplate(template=prompt_template,
|
|
| 73 |
input_variables=['context', 'question', 'chat_history'])
|
| 74 |
|
| 75 |
# You can also use other LLMs options from https://python.langchain.com/docs/integrations/llms. Here I have used TogetherAI API
|
| 76 |
-
TOGETHER_AI_API= os.environ['TOGETHER_AI']
|
| 77 |
llm = Together(
|
| 78 |
model="mistralai/Mistral-7B-Instruct-v0.2",
|
| 79 |
temperature=0.5,
|
|
|
|
| 73 |
input_variables=['context', 'question', 'chat_history'])
|
| 74 |
|
| 75 |
# You can also use other LLMs options from https://python.langchain.com/docs/integrations/llms. Here I have used TogetherAI API
|
| 76 |
+
TOGETHER_AI_API= os.environ['TOGETHER_AI']
|
| 77 |
llm = Together(
|
| 78 |
model="mistralai/Mistral-7B-Instruct-v0.2",
|
| 79 |
temperature=0.5,
|