Update openai-embeddings.adoc

change incorrect configuration: `spring.ai.openai.chat.embeddings-path` to the correct: `spring.ai.openai.embedding.embeddings-path`

Signed-off-by: shusheng007 <wangben850113@163.com>
This commit is contained in:
shusheng007
2025-05-18 23:07:17 +08:00
committed by Mark Pollack
parent d601af76b5
commit f5243b8fe2

View File

@@ -140,7 +140,7 @@ The prefix `spring.ai.openai.embedding` is property prefix that configures the `
| spring.ai.openai.embedding.enabled (Required and no longer valid) | Enable OpenAI embedding model. | true
| spring.ai.model.embedding | Enable OpenAI embedding model. | openai
| spring.ai.openai.embedding.base-url | Optional overrides the spring.ai.openai.base-url to provide embedding specific url | -
| spring.ai.openai.chat.embeddings-path | The path to append to the base-url | `/v1/embeddings`
| spring.ai.openai.embedding.embeddings-path | The path to append to the base-url | `/v1/embeddings`
| spring.ai.openai.embedding.api-key | Optional overrides the spring.ai.openai.api-key to provide embedding specific api-key | -
| spring.ai.openai.embedding.organization-id | Optionally you can specify which organization used for an API request. | -
| spring.ai.openai.embedding.project-id | Optionally, you can specify which project is used for an API request. | -