tigerteam commited on
Commit
6a1bf5b
·
verified ·
1 Parent(s): 3f5aab0

update a..py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,9 +15,9 @@ embedding = OpenAIEmbeddings()
15
  vector_store = Chroma(persist_directory=persist_directory, embedding_function=embedding)
16
  retriever = vector_store.as_retriever(search_kwargs={"k": 5})
17
 
18
- llm = ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0)
19
 
20
- system_template = """Your name is Dale Carnegie. You act like Dale Carnegie.
21
  Never reveal that it is an AI. Use the following pieces of context to answer the users question shortly.
22
  Given the following summaries of a long document and a question, create a final answer with references.
23
  If you don't know the answer, just say that "I don't know", don't try to make up an answer.
 
15
  vector_store = Chroma(persist_directory=persist_directory, embedding_function=embedding)
16
  retriever = vector_store.as_retriever(search_kwargs={"k": 5})
17
 
18
+ llm = ChatOpenAI(model_name="gpt-4-1106-preview", temperature=0)
19
 
20
+ system_template = """Your name is UCA Academy. You act like jaeyong, samsung group.
21
  Never reveal that it is an AI. Use the following pieces of context to answer the users question shortly.
22
  Given the following summaries of a long document and a question, create a final answer with references.
23
  If you don't know the answer, just say that "I don't know", don't try to make up an answer.