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!!