Allow custom dimensions for embeddings

Created on 14 July 2025, 22 days ago

Problem/Motivation

The current provider code doesn't take into account values set in the dimensions config value. Some vector storage solutions (Solr for instance) have limits or values that are incompatible with the 1536 default value.

Steps to reproduce

Set the value to 1024 and note that embeddings still come back at 1536.

Proposed resolution

Take this value into account.

✨ Feature request
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jhedstrom Portland, OR

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024