Spaces:
Build error
Build error
Update variables.py
Browse files- variables.py +2 -1
variables.py
CHANGED
@@ -95,7 +95,8 @@ def embed_tweets(file,model,query,_prompt):
|
|
95 |
ChatOpenAI(temperature=0),
|
96 |
chain_type="stuff",
|
97 |
vectorstore=docsearch,
|
98 |
-
chain_type_kwargs=chain_type_kwargs
|
|
|
99 |
)
|
100 |
|
101 |
result = chain({"query": query})
|
|
|
95 |
ChatOpenAI(temperature=0),
|
96 |
chain_type="stuff",
|
97 |
vectorstore=docsearch,
|
98 |
+
chain_type_kwargs=chain_type_kwargs,
|
99 |
+
k=5
|
100 |
)
|
101 |
|
102 |
result = chain({"query": query})
|