Update app.py
Browse files
app.py
CHANGED
@@ -43,6 +43,7 @@ pinecone.init(
|
|
43 |
environment='gcp-starter' # next to api key in console
|
44 |
)
|
45 |
index_name = "rpl-llama" # put in the name of your pinecone index here
|
|
|
46 |
callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])
|
47 |
model_name_or_path = "TheBloke/Llama-2-7b-Chat-GGUF"
|
48 |
model_basename = "llama-2-7b-chat.Q4_0.gguf"
|
|
|
43 |
environment='gcp-starter' # next to api key in console
|
44 |
)
|
45 |
index_name = "rpl-llama" # put in the name of your pinecone index here
|
46 |
+
docsearch = Pinecone.from_existing_index(index_name, embeddings)
|
47 |
callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])
|
48 |
model_name_or_path = "TheBloke/Llama-2-7b-Chat-GGUF"
|
49 |
model_basename = "llama-2-7b-chat.Q4_0.gguf"
|