Skip to content

Commit 46dbd66

Browse files
committed
Add Weaviate Example for Retrieval Query
1 parent bbb7430 commit 46dbd66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

generative_ai/rag/retrieval_query_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def retrieval_query(
4545
text="Hello World!",
4646
similarity_top_k=10, # Optional
4747
vector_distance_threshold=0.5, # Optional
48+
# vector_search_alpha=0.5, # Optional - Only supported for Weaviate
4849
)
4950
print(response)
5051
# Example response:

0 commit comments

Comments
 (0)