Skip to content

Commit 4e111c4

Browse files
committed
Update tests
1 parent 783334e commit 4e111c4

File tree

6 files changed

+1031
-1543
lines changed

6 files changed

+1031
-1543
lines changed

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ var webAppEnv = union(azureOpenAIKeyEnv, openAIComKeyEnv, [
303303
}
304304
{
305305
name: 'OPENAICOM_EMBED_MODEL_DIMENSIONS'
306-
value: openAIEmbedHost == 'openaicom' ? '1536' : ''
306+
value: openAIEmbedHost == 'openaicom' ? '1024' : ''
307307
}
308308
{
309309
name: 'OPENAICOM_EMBED_MODEL'

src/backend/fastapi_app/dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def common_parameters():
4444
if OPENAI_EMBED_HOST == "azure":
4545
openai_embed_deployment = os.getenv("AZURE_OPENAI_EMBED_DEPLOYMENT") or "text-embedding-3-large"
4646
openai_embed_model = os.getenv("AZURE_OPENAI_EMBED_MODEL") or "text-embedding-3-large"
47-
openai_embed_dimensions = int(os.getenv("AZURE_OPENAI_EMBED_DIMENSIONS") or 1536)
47+
openai_embed_dimensions = int(os.getenv("AZURE_OPENAI_EMBED_DIMENSIONS") or 1024)
4848
embedding_column = os.getenv("AZURE_OPENAI_EMBEDDING_COLUMN") or "embedding_3l"
4949
elif OPENAI_EMBED_HOST == "ollama":
5050
openai_embed_deployment = None

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy