Closed Barshan-Mandal closed 1 day ago
Hi @Barshan-Mandal are you taking the semantic Kernel samples from https://github.com/elbruno/phi3-labs by @elbruno?
If so please raise issues on that repo?
Hi I'm working on update this sample to make it work again. In the meantime, you can refer to this post from Arafat, who performs a very similar scenario doing RAG in local mode.
https://arafattehsin.com/ai-copilot-offline-phi3-semantic-kernel/
Best
semantic text cant handle long books .try using kernel memory
System.MissingMethodException HResult=0x80131513 Message=Method not found: 'System.ValueTuple
3<System.ReadOnlyMemory1<Int64>,System.ReadOnlyMemory
11<Int64>> FastBertTokenizer.BertTokenizer.Encode(System.String, Int32, System.Nullable
11 outputBuffer, Int32 maximumTokens) at SmartComponents.LocalEmbeddings.LocalEmbedder.Embed(String inputText, Int32 maximumTokens) at SmartComponents.LocalEmbeddings.SemanticKernel.LocalTextEmbeddingGenerationService.GenerateEmbeddingsAsync(IList
1 data, Kernel kernel, CancellationToken cancellationToken) at Microsoft.SemanticKernel.Embeddings.EmbeddingGenerationExtensions.occurs at the following line
await memory.SaveInformationAsync(MemoryCollectionName, id: "info1", text: "Gisela's favourite super hero is Batman");