microsoft / kernel-memory

RAG architecture: index and query any data using LLM and natural language, track sources, show citations, asynchronous memory patterns.

Home Page:https://microsoft.github.io/kernel-memory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why AzureOpenAITextEmbeddingGenerator class does not have option for ManualTokenCredential?[Question]

ravijariwala opened this issue · comments

Context / Scenario

For Azure OpenAI API calls we are using Token Credential authentication approach. For Text Generation API , it is supported but for embedding API , we get error : Azure OpenAI auth type 'ManualTokenCredential' not available

Question

AzureOpenAITextGenerator class supports ManualTokenCredential for authentication. AzureOpenAITextEmbeddingGenerator allows only Managed identity or API Key. Is it not there for a reason why ManualTokenCredential is not included? Thanks

Fixed in #295

Thank you for prompt handling of the request!!