Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -29,8 +29,9 @@ from langchain.agents import create_tool_calling_agent, AgentExecutor
|
|
29 |
from langchain_core.prompts import ChatPromptTemplate
|
30 |
|
31 |
# LangChain OpenAI imports
|
32 |
-
from langchain_openai import AzureOpenAIEmbeddings, AzureChatOpenAI # OpenAI embeddings and models
|
33 |
-
from
|
|
|
34 |
|
35 |
# LlamaParse & LlamaIndex imports
|
36 |
from llama_parse import LlamaParse # Document parsing library
|
|
|
29 |
from langchain_core.prompts import ChatPromptTemplate
|
30 |
|
31 |
# LangChain OpenAI imports
|
32 |
+
# from langchain_openai import AzureOpenAIEmbeddings, AzureChatOpenAI # OpenAI embeddings and models
|
33 |
+
from langchain_openai import OpenAIEmbeddings # OpenAI embeddings for text vectors
|
34 |
+
from langchain_openai import ChatOpenAI
|
35 |
|
36 |
# LlamaParse & LlamaIndex imports
|
37 |
from llama_parse import LlamaParse # Document parsing library
|