bstraehle commited on
Commit
ef400ea
·
verified ·
1 Parent(s): ca00ef5

Update custom_utils.py

Browse files
Files changed (1) hide show
  1. custom_utils.py +6 -4
custom_utils.py CHANGED
@@ -19,10 +19,12 @@ def rag_ingestion(collection):
19
  collection.insert_many(dataset)
20
  return "Manually create a vector search index (in free tier, this feature is not available via SDK)"
21
 
22
- def rag_retrieval_naive(openai_api_key,
23
- prompt,
24
- db,
25
- collection,
 
 
26
  vector_index="vector_index"):
27
  # Naive RAG: Semantic search
28
 
 
19
  collection.insert_many(dataset)
20
  return "Manually create a vector search index (in free tier, this feature is not available via SDK)"
21
 
22
+ def rag_retrieval_naive(openai_api_key,
23
+ prompt,
24
+ accomodates,
25
+ bedrooms,
26
+ db,
27
+ collection,
28
  vector_index="vector_index"):
29
  # Naive RAG: Semantic search
30