mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 14:59:23 +08:00
Feat: support azure openai for temporary (#101)
This commit is contained in:
@@ -33,8 +33,11 @@ class IndexBuilder:
|
||||
max_chunk_overlap=20
|
||||
)
|
||||
|
||||
provider = LLMBuilder.get_default_provider(tenant_id)
|
||||
|
||||
model_credentials = LLMBuilder.get_model_credentials(
|
||||
tenant_id=tenant_id,
|
||||
model_provider=provider,
|
||||
model_name='text-embedding-ada-002'
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user