Skip to content

Commit

Permalink
Feature/feature x (#2)
Browse files Browse the repository at this point in the history
* Feature X complete

* commentic ai search semantic

---------

Co-authored-by: Manoranjan Rajguru <[email protected]>
  • Loading branch information
monuminu and Manoranjan Rajguru authored Sep 20, 2024
1 parent 0d56923 commit 2f49e04
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 2f49e04

Please sign in to comment.