Spaces:
Sleeping
Sleeping
cdupland
commited on
Commit
·
d40f467
1
Parent(s):
59af68e
Add debug print statement for common_id in get_retreive_answer function
Browse files
rag.py
CHANGED
@@ -110,6 +110,7 @@ def add_to_knowledge_base(enterprise_id,information,index,enterprise_name):
|
|
110 |
|
111 |
def get_retreive_answer(enterprise_id,prompt,index,common_id):
|
112 |
try:
|
|
|
113 |
|
114 |
embedding = OpenAIEmbeddings(model="text-embedding-3-large")
|
115 |
vector_store = PineconeVectorStore(index=index, embedding=embedding,namespace=enterprise_id)
|
|
|
110 |
|
111 |
def get_retreive_answer(enterprise_id,prompt,index,common_id):
|
112 |
try:
|
113 |
+
print("common_id ",common_id)
|
114 |
|
115 |
embedding = OpenAIEmbeddings(model="text-embedding-3-large")
|
116 |
vector_store = PineconeVectorStore(index=index, embedding=embedding,namespace=enterprise_id)
|