Spaces:
Runtime error
Runtime error
update a..py
Browse files
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-
|
19 |
|
20 |
-
system_template = """Your name is
|
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.
|