Michaeldavidstein commited on
Commit
9b0b83d
·
verified ·
1 Parent(s): 2524578

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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 langchain.embeddings.openai import OpenAIEmbeddings # OpenAI embeddings for text vectors
 
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