Daniel Foley commited on
Commit
148d8c2
·
1 Parent(s): 83b3fa4

fixed input errors pt 2

Browse files
Files changed (1) hide show
  1. streamlit_app.py +0 -4
streamlit_app.py CHANGED
@@ -58,8 +58,6 @@ def initialize_models() -> Tuple[Optional[ChatOpenAI], HuggingFaceEmbeddings]:
58
  def process_message(
59
  query: str,
60
  llm: ChatOpenAI,
61
- index_name: str,
62
- embeddings: HuggingFaceEmbeddings,
63
  vectorstore: PineconeVectorStore,
64
 
65
  ) -> Tuple[str, List]:
@@ -68,8 +66,6 @@ def process_message(
68
  response, sources = RAG(
69
  query=query,
70
  llm=llm,
71
- index_name=index_name,
72
- embeddings=embeddings,
73
  vectorstore=vectorstore,
74
  )
75
  return response, sources
 
58
  def process_message(
59
  query: str,
60
  llm: ChatOpenAI,
 
 
61
  vectorstore: PineconeVectorStore,
62
 
63
  ) -> Tuple[str, List]:
 
66
  response, sources = RAG(
67
  query=query,
68
  llm=llm,
 
 
69
  vectorstore=vectorstore,
70
  )
71
  return response, sources