Spaces:
Sleeping
Sleeping
Mr-Vicky-01
commited on
Commit
•
aa45e63
1
Parent(s):
2b3801a
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def get_conversational_chain():
|
|
47 |
"""
|
48 |
|
49 |
model = ChatGoogleGenerativeAI(model="gemini-pro",
|
50 |
-
temperature=0.
|
51 |
|
52 |
prompt = PromptTemplate(template = prompt_template, input_variables = ["context", "question"])
|
53 |
chain = load_qa_chain(model, chain_type="stuff", prompt=prompt)
|
|
|
47 |
"""
|
48 |
|
49 |
model = ChatGoogleGenerativeAI(model="gemini-pro",
|
50 |
+
temperature=0.1)
|
51 |
|
52 |
prompt = PromptTemplate(template = prompt_template, input_variables = ["context", "question"])
|
53 |
chain = load_qa_chain(model, chain_type="stuff", prompt=prompt)
|