seansullivan commited on
Commit
7b2f4f0
·
verified ·
1 Parent(s): 5ce0e23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -37,7 +37,7 @@ embed = OpenAIEmbeddings(
37
 
38
  # ========== PART 2 ==========
39
  index_name='splade'
40
- namespace_name='HiPerGator2'
41
  pc = Pinecone(api_key=PINE_API_KEY)
42
  index = pc.Index(index_name)
43
 
@@ -133,9 +133,9 @@ def generate_response(prompt):
133
  sources_txt = "\n\nSources:\n" + "\n".join(sources)
134
  yield sources_txt
135
 
136
- question = "How can I do hybrid search with a pinecone database?"
137
- answer = generate_response(question)
138
- print(answer)
139
 
140
  # ==================== THE REST OF THE STREAMLIT APP ====================
141
 
 
37
 
38
  # ========== PART 2 ==========
39
  index_name='splade'
40
+ namespace_name='HiperGator2'
41
  pc = Pinecone(api_key=PINE_API_KEY)
42
  index = pc.Index(index_name)
43
 
 
133
  sources_txt = "\n\nSources:\n" + "\n".join(sources)
134
  yield sources_txt
135
 
136
+ # question = "How can I do hybrid search with a pinecone database?"
137
+ # answer = generate_response(question)
138
+ # print(answer)
139
 
140
  # ==================== THE REST OF THE STREAMLIT APP ====================
141