mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: Support Azure embedding model
This commit is contained in:
parent
003f3d13e0
commit
097cabbf5b
|
|
@ -23,3 +23,7 @@ class AzureOpenAIEmbeddingModel(MaxKBBaseModel, AzureOpenAIEmbeddings):
|
|||
openai_api_version=model_credential.get('api_version'),
|
||||
openai_api_type="azure",
|
||||
)
|
||||
|
||||
|
||||
def is_cache_model(self):
|
||||
return True
|
||||
Loading…
Reference in New Issue