Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -86,8 +86,8 @@ llm = ChatOpenAI(
|
|
86 |
# This initializes the Chat OpenAI model with the provided endpoint, API key, deployment name, and a temperature setting of 0 (to control response variability).
|
87 |
|
88 |
# set the LLM and embedding model in the LlamaIndex settings.
|
89 |
-
Settings.llm =
|
90 |
-
Settings.embedding =
|
91 |
|
92 |
#================================Creating Langgraph agent======================#
|
93 |
|
|
|
86 |
# This initializes the Chat OpenAI model with the provided endpoint, API key, deployment name, and a temperature setting of 0 (to control response variability).
|
87 |
|
88 |
# set the LLM and embedding model in the LlamaIndex settings.
|
89 |
+
Settings.llm = llm # Complete the code to define the LLM model
|
90 |
+
Settings.embedding = embedding_model # Complete the code to define the embedding model
|
91 |
|
92 |
#================================Creating Langgraph agent======================#
|
93 |
|