ShawnAI commited on
Commit
f705169
·
1 Parent(s): 49b73d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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", "3gpp")
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 = 10
35
- TOP_K_MAX = 25
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