Skip to content

Conversation

MT2-0901
Copy link

@MT2-0901 MT2-0901 commented Aug 4, 2025

Describe what this PR does / why we need it

When using the OpenAI embedding model configuration, the schema method will report an error because the input is empty, but the underlying OpenAI embedding model does not allow empty input and will throw an exception causing an error.

Does Fixes https://github.com/alibaba/spring-ai-alibaba/issues/1460this pull request fix one issue?

Fixes #1460

Describe how you did it

Modify matching similar types of data using the wildcard * and vector thresholds to prevent errors from empty queries.

Describe how to verify it

Special notes for reviews

@github-actions github-actions bot added the area/nl2sql SAA nl2sql module label Aug 4, 2025
@chickenlj chickenlj changed the base branch from main to a2a-support September 21, 2025 09:37
@VLSMB VLSMB merged commit 03cc732 into alibaba:a2a-support Sep 21, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/nl2sql SAA nl2sql module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] nl2sql 使用openAiEmbeddingModel时,EmbeddingRequet的input为空时,报错
3 participants