teddyllm commited on
Commit
b63b6f7
·
verified ·
1 Parent(s): d27c42e

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,10 +19,10 @@ def format_docs(docs):
19
 
20
  embeddings = OpenAIEmbeddings()
21
  db = FAISS.load_local("faiss_index", embeddings, allow_dangerous_deserialization=True)
22
- retriever = db.as_retriever(k=3)
23
 
24
 
25
- llm = ChatOpenAI(model="gpt-3.5-turbo-0125")
26
 
27
  prompt = ChatPromptTemplate.from_messages([
28
  ('system',
 
19
 
20
  embeddings = OpenAIEmbeddings()
21
  db = FAISS.load_local("faiss_index", embeddings, allow_dangerous_deserialization=True)
22
+ retriever = db.as_retriever(k=5)
23
 
24
 
25
+ llm = ChatOpenAI(model="gpt-4o")
26
 
27
  prompt = ChatPromptTemplate.from_messages([
28
  ('system',