Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ OPENAI_LINK = "[OpenAI](https://openai.com)"
|
|
23 |
|
24 |
PINECONE_KEY = os.environ.get("PINECONE_KEY", "")
|
25 |
PINECONE_ENV = os.environ.get("PINECONE_ENV", "asia-northeast1-gcp")
|
26 |
-
PINECONE_INDEX = os.environ.get("PINECONE_INDEX",
|
27 |
|
28 |
PINECONE_LINK = "[Pinecone](https://www.pinecone.io)"
|
29 |
LANGCHAIN_LINK = "[LangChain](https://python.langchain.com/en/latest/index.html)"
|
@@ -31,8 +31,8 @@ LANGCHAIN_LINK = "[LangChain](https://python.langchain.com/en/latest/index.html)
|
|
31 |
EMBEDDING_MODEL = os.environ.get("PINECONE_INDEX", "sentence-transformers/all-mpnet-base-v2")
|
32 |
|
33 |
# return top-k text chunks from vector store
|
34 |
-
TOP_K_DEFAULT =
|
35 |
-
TOP_K_MAX =
|
36 |
|
37 |
|
38 |
BUTTON_MIN_WIDTH = 215
|
|
|
23 |
|
24 |
PINECONE_KEY = os.environ.get("PINECONE_KEY", "")
|
25 |
PINECONE_ENV = os.environ.get("PINECONE_ENV", "asia-northeast1-gcp")
|
26 |
+
PINECONE_INDEX = os.environ.get("PINECONE_INDEX", '3gpp-r16')
|
27 |
|
28 |
PINECONE_LINK = "[Pinecone](https://www.pinecone.io)"
|
29 |
LANGCHAIN_LINK = "[LangChain](https://python.langchain.com/en/latest/index.html)"
|
|
|
31 |
EMBEDDING_MODEL = os.environ.get("PINECONE_INDEX", "sentence-transformers/all-mpnet-base-v2")
|
32 |
|
33 |
# return top-k text chunks from vector store
|
34 |
+
TOP_K_DEFAULT = 15
|
35 |
+
TOP_K_MAX = 30
|
36 |
|
37 |
|
38 |
BUTTON_MIN_WIDTH = 215
|