Skip to content

Commit

Permalink
commentic ai search semantic
Browse files Browse the repository at this point in the history
  • Loading branch information
Manoranjan Rajguru committed Sep 20, 2024
1 parent 4da92ee commit 91d4e6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ai_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ def retrieve_documentation(
results = search_client.search(
search_text=question,
vector_queries=[vector_query],
#query_type=QueryType.SEMANTIC,
#semantic_configuration_name="default",
#query_caption=QueryCaptionType.EXTRACTIVE,
#query_answer=QueryAnswerType.EXTRACTIVE,
query_type=QueryType.SEMANTIC,
semantic_configuration_name="default",
query_caption=QueryCaptionType.EXTRACTIVE,
query_answer=QueryAnswerType.EXTRACTIVE,
top=3,
)

Expand Down

0 comments on commit 91d4e6c

Please sign in to comment.