semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

SK Memory Qdrant fail in Microsoft.SemanticKernel, 0.12.207.1-preview

Open kinfey opened this issue 2 years ago • 0 comments

Describe the bug I set SK memory to use Qdrant . In 0.11 version , it is okay . But in 0.12 version , it give me some errors like this

when I save data in Qdrant , errors:

 Error: Microsoft.SemanticKernel.AI.AIException: InvalidRequest: The request is not valid, HTTP status: 404

at Microsoft.SemanticKernel.Connectors.AI.OpenAI.AzureSdk.ClientBase.RunRequestAsync[T](Func`1 request)

at Microsoft.SemanticKernel.Connectors.AI.OpenAI.AzureSdk.ClientBase.InternalGenerateTextEmbeddingsAsync(IList`1 data, CancellationToken cancellationToken)

at Microsoft.SemanticKernel.AI.Embeddings.EmbeddingGenerationExtensions.GenerateEmbeddingAsync[TValue,TEmbedding](IEmbeddingGeneration`2 generator, TValue value, CancellationToken cancellationToken)

at Microsoft.SemanticKernel.Memory.SemanticTextMemory.SaveInformationAsync(String collection, String text, String id, String description, String additionalMetadata, CancellationToken cancel)

at Submission#21.<<Initialize>>d__0.MoveNext()

--- End of stack trace from previous location ---

at Microsoft.CodeAnalysis.Scripting.ScriptExecutionState.RunSubmissionsAsync[TResult](ImmutableArray1 precedingExecutors, Func2 currentExecutor, StrongBox1 exceptionHolderOpt, Func2 catchExceptionOpt, CancellationToken cancellationToken)

To Reproduce

I save data in Qdrant,and run this script, it show me this error

await kernel.Memory.SaveInformationAsync(MemoryCollectionName, id: "id1", text: ".....");

But when I downgrade 0.11 , everything is okay

kinfey avatar Apr 24 '23 13:04 kinfey