Skip to content

feat(llm): support any openai-style api(standard)#95

Merged
imbajin merged 3 commits intoapache:mainfrom
ChenZiHong-Gavin:embedding-config
Oct 21, 2024
Merged

feat(llm): support any openai-style api(standard)#95
imbajin merged 3 commits intoapache:mainfrom
ChenZiHong-Gavin:embedding-config

Conversation

@ChenZiHong-Gavin
Copy link
Copy Markdown
Collaborator

@ChenZiHong-Gavin ChenZiHong-Gavin commented Oct 19, 2024

Make some change to support a standard openai-style api.
Now we can use LLMs and Embedding models supported by other companies.

image

Also, I changed ways to test llm and embedding connection.
Before, we request /model, which is not always reliable. e.g. if /chat/completions fails down but /model still alive.

@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Oct 19, 2024
@github-actions github-actions Bot added the llm label Oct 19, 2024
@dosubot dosubot Bot added the enhancement New feature or request label Oct 19, 2024
@imbajin imbajin merged commit 40c285f into apache:main Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request llm size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants