Hello!
I am using AzureCognitiveSearchChatExtensionConfiguration to add context to chat mode:
AzureCognitiveSearchChatExtensionConfiguration cognitiveSearchOptions = new()
{
DocumentCount = 12,
EmbeddingEndpoint = new Uri(apiEmbeddingEndpoint),
SearchEndpoint = new Uri(searchEndpoint),
IndexName = searchIndexName,
QueryType = AzureCognitiveSearchQueryType.VectorSemanticHybrid,
SemanticConfiguration = "default"
};
If I use QueryType VectorHybrid it uses the correct document count, but when I activate VectorSemanticHybrid the number of results used in the context is lower than 12.
How can I configure the Semantic Search to only rerank the documents but not lose documents in the process?
Thank you