Skip to content

fix(ark): add Dimensions field to EmbeddingConfig#790

Open
wucm667 wants to merge 4 commits into
cloudwego:mainfrom
wucm667:fix/ark-embedding-dimensions
Open

fix(ark): add Dimensions field to EmbeddingConfig#790
wucm667 wants to merge 4 commits into
cloudwego:mainfrom
wucm667:fix/ark-embedding-dimensions

Conversation

@wucm667
Copy link
Copy Markdown

@wucm667 wucm667 commented Apr 21, 2026

Add optional Dimensions field to EmbeddingConfig struct, allowing users to specify embedding vector dimensions when creating embeddings.

This fixes the issue where the Indexer specifies Dimensions but the EmbeddingConfig lacks this parameter, causing embedding creation to fail.

Closes #647

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 21, 2026

CLA assistant check
All committers have signed the CLA.

@wucm667 wucm667 force-pushed the fix/ark-embedding-dimensions branch from 298fc46 to c924c7e Compare April 21, 2026 12:43
Add optional Dimensions field to EmbeddingConfig struct, allowing users
to specify embedding vector dimensions when creating embeddings.

This fixes the issue where the Indexer specifies Dimensions but the
EmbeddingConfig lacks this parameter, causing embedding creation to fail.

Closes cloudwego#647
@wucm667 wucm667 force-pushed the fix/ark-embedding-dimensions branch from c924c7e to ad46313 Compare April 21, 2026 12:48
@wucm667
Copy link
Copy Markdown
Author

wucm667 commented Apr 22, 2026

Hi! The check-submodule-changes CI job is failing due to a 403 Resource not accessible by integration error when trying to post a comment. This appears to be a permissions issue with the GITHUB_TOKEN in the workflow — it needs issues: write or pull_requests: write permission to create comments on PRs.

All actual tests pass successfully:
✅ unit-test
✅ unit-benchmark-test
✅ compliant
✅ license/cla

Could someone with repo admin access check the workflow permissions? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[bug] ark/EmbeddingConfig 缺少 Dimensions

2 participants