Azure / Azure/azure-search-vector-samples

Version conflict with Semantic Kernel required package

Open
#61 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
910
Forks
377
PR merge metrics
No merged PRs in 30d

Description

Having a problem trying to get the preview to work with Semantic Kernel. The SK CognitiveSearch connector requires Azure.Search.Documents version 11.5.0-beta.2, but to use the Vector stuff in search I need to use the 11.5.0-alpha.20230522.2 version, and I can't seem to get this to jive. I would really like to use the SemanticHybrid vector search as part of my rag augmented chat app. Please advise

`
error: NU1605: Warning As Error: Detected package downgrade: Azure.Search.Documents from 11.5.0-beta.2 to 11.5.0-alpha.20230522.2. Reference the package directly from the project to select a different version.
error: CopilotChatWebApi -> Microsoft.SemanticKernel.Connectors.Memory.AzureCognitiveSearch 0.16.230615.1-preview -> Azure.Search.Documents (>= 11.5.0-beta.2)
error: CopilotChatWebApi -> Azure.Search.Documents (>= 11.5.0-alpha.20230522.2)
`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing package restore for CopilotChatWebApi and inspect the references to Microsoft.SemanticKernel.Connectors.Memory.AzureCognitiveSearch and Azure.Search.Documents shown in the error. Check whether compatible package versions can be selected without NU1605; done means the project restores successfully and the requested SemanticHybrid vector search remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.