[GH-ISSUE #3639] How can I make anythingllm call Xinference? #2351

Closed
opened 2026-02-22 18:29:18 -05:00 by yindo · 2 comments
Owner

Originally created by @jeerychao on GitHub (Apr 13, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3639

Hello everyone,

I have deployed and installed anythingllm and Xinference in Docker. Both are running properly, and I have tested Xinference using curl and found no issues. However, in the settings of anythingllm, there is no option for the LLM provider to choose Xinference. How can I make anythingllm call Xinference? Please tell me how to do it.

Additionally, I have loaded embedding models and re-ranking models in Xinference. How can I select and call these models in anythingllm?

Thank you!

Originally created by @jeerychao on GitHub (Apr 13, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3639 Hello everyone, I have deployed and installed anythingllm and Xinference in Docker. Both are running properly, and I have tested Xinference using curl and found no issues. However, in the settings of anythingllm, there is no option for the LLM provider to choose Xinference. How can I make anythingllm call Xinference? Please tell me how to do it. Additionally, I have loaded embedding models and re-ranking models in Xinference. How can I select and call these models in anythingllm? Thank you!
yindo closed this issue 2026-02-22 18:29:18 -05:00
Author
Owner

@timothycarambat commented on GitHub (Apr 14, 2025):

This is still an outstanding feature request: https://github.com/Mintplex-Labs/anything-llm/issues/2614

However you can always just use the generic OpenAI connector at the bottom of the available LLM provider list. Then just use the normal base url you would normally use. This can also apply for embedder as well.

Your base URL would be something like http://[some-host-url]:[port]/v1 If Xinference is running in a separate docker container it would be something like http://docker.host.internal:port/v1 - but all depends on how XInference works and how you deployed both services and the OS that docker is running on.

Either way, all user-config stuff, nothing prevents you from using that service today even though we dont have a connector dedicated to XInference at this time.

@timothycarambat commented on GitHub (Apr 14, 2025): This is still an outstanding feature request: https://github.com/Mintplex-Labs/anything-llm/issues/2614 However you can always just use the generic OpenAI connector at the bottom of the available LLM provider list. Then just use the normal base url you would normally use. This can also apply for embedder as well. Your base URL would be something like `http://[some-host-url]:[port]/v1` If Xinference is running in a separate docker container it would be something like `http://docker.host.internal:port/v1` - but all depends on how XInference works and how you deployed both services and the OS that docker is running on. Either way, all user-config stuff, nothing prevents you from using that service today even though we dont have a connector dedicated to XInference at this time.
Author
Owner

@jeerychao commented on GitHub (Apr 14, 2025):

This is still an outstanding feature request: #2614

However you can always just use the generic OpenAI connector at the bottom of the available LLM provider list. Then just use the normal base url you would normally use. This can also apply for embedder as well.

Your base URL would be something like http://[some-host-url]:[port]/v1 If Xinference is running in a separate docker container it would be something like http://docker.host.internal:port/v1 - but all depends on how XInference works and how you deployed both services and the OS that docker is running on.

Either way, all user-config stuff, nothing prevents you from using that service today even though we dont have a connector dedicated to XInference at this time.

Thank you!

@jeerychao commented on GitHub (Apr 14, 2025): > This is still an outstanding feature request: [#2614](https://github.com/Mintplex-Labs/anything-llm/issues/2614) > > However you can always just use the generic OpenAI connector at the bottom of the available LLM provider list. Then just use the normal base url you would normally use. This can also apply for embedder as well. > > Your base URL would be something like `http://[some-host-url]:[port]/v1` If Xinference is running in a separate docker container it would be something like `http://docker.host.internal:port/v1` - but all depends on how XInference works and how you deployed both services and the OS that docker is running on. > > Either way, all user-config stuff, nothing prevents you from using that service today even though we dont have a connector dedicated to XInference at this time. Thank you!
yindo changed title from How can I make anythingllm call Xinference? to [GH-ISSUE #3639] How can I make anythingllm call Xinference? 2026-06-05 14:46:03 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2351