nickmuchi commited on
Commit
1dc65be
1 Parent(s): 3e6c28b

Update variables.py

Browse files
Files changed (1) hide show
  1. 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})