Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1241: lower default for Azure OpenAI model "text-embedding-3-large" to observed legal value #1260

Merged
merged 4 commits into from
Jul 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/main/resources/embedding-providers-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ stargate:
- name: vectorDimension
type: number
required: true
default-value: 3072
# https://github.com/stargate/data-api/issues/1241: Docs claim 3072 is max,
# but using values above 1536 does not seem to work. So at least default
# to what seems like a legal value (but leave max higher in case issue is fixed).
default-value: 1536
validation:
numeric-range: [256, 3072]
help: "Vector dimension to use in the database and when calling Azure OpenAI."
Expand Down