Skip to content

Conversation

xbotter
Copy link
Contributor

@xbotter xbotter commented Nov 20, 2023

Changes:

  1. Change the injection of Semantic Kernel's components from IKernel to using IServiceCollection .
  2. Added mapping for the TextEmbedding and mapping for the MemoryStore.

Breaking Changes:

  1. move ITextEmbedding.GetVector -> ITextEmbedding.GetVectorAsync
  2. move ITextEmbedding.GetVectors -> ITextEmbedding.GetVectorsAsync

- Update ITextEmbedding interface to use async methods for getting vectors
- Update KnowledgeService to use async methods for getting vectors
- Update TextEmbeddingProvider and fastTextEmbeddingProvider to use async methods for getting vectors
- Update IntentClassifier to use async methods for getting vectors
- Update SemanticKernelTextEmbeddingProvider to use async methods for getting vectors
@xbotter xbotter marked this pull request as ready for review November 20, 2023 14:06
@Oceania2018 Oceania2018 merged commit 4c1af4c into SciSharp:master Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants