希望openai 的向量接口调用可以支持 OPENAI_API_BASE #438

Closed
opened 2026-02-21 17:27:10 -05:00 by yindo · 2 comments
Owner

Originally created by @leochen-g on GitHub (Aug 24, 2023).

Is your feature request related to a problem? Please describe.
在docker yaml 里设置了OPENAI_API_BASE 后,调用向量化接口 发现用的还是默认的api.openai.com 这个,并不是OPENAI_API_BASE 的值

Describe the solution you'd like
希望能够复用 OPENAI_API_BASE,这样在本地或者无法访问外网的服务器也可以调用向量接口

Originally created by @leochen-g on GitHub (Aug 24, 2023). **Is your feature request related to a problem? Please describe.** 在docker yaml 里设置了OPENAI_API_BASE 后,调用向量化接口 发现用的还是默认的api.openai.com 这个,并不是OPENAI_API_BASE 的值 **Describe the solution you'd like** 希望能够复用 OPENAI_API_BASE,这样在本地或者无法访问外网的服务器也可以调用向量接口
yindo added the stt & tts label 2026-02-21 17:27:10 -05:00
yindo closed this issue 2026-02-21 17:27:10 -05:00
Author
Owner

@JohnJyong commented on GitHub (Aug 25, 2023):

The embedding operation is called in the worker service. Please configure the same variables in the worker service.

@JohnJyong commented on GitHub (Aug 25, 2023): The embedding operation is called in the worker service. Please configure the same variables in the worker service.
Author
Owner

@leochen-g commented on GitHub (Aug 25, 2023):

My mistake.

@leochen-g commented on GitHub (Aug 25, 2023): My mistake.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#438