Mintplex-Labs / anything-llm

The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, and more.
https://anythingllm.com
MIT License
27.45k stars 2.76k forks source link

[FEAT]: Any port for API access for "Desktop" version (not "Docker" version)? (for integration with Microsoft Word) #2650

Closed GPTLocalhost closed 2 days ago

GPTLocalhost commented 2 days ago

What would you like to see?

Thank you for the following reply:

https://github.com/Mintplex-Labs/anything-llm/issues/2636#issuecomment-2483731909

But I mean the following "Desktop" version instead of "Docker" version.

https://anythingllm.com/desktop

Port 3001 works well for Docker but not Desktop. I wonder whether it is feasible.

timothycarambat commented 2 days ago

The API runs on port 3001 when on desktop as well - same port with same endpoints (mostly)

GPTLocalhost commented 2 days ago

I had tried AnythingLLM 1.6.7 Desktop version but port 3001 didn't work. It's workable to create an API key, but it seems nowhere to use it. Is there any document I can dig into? Thank you for your advice.

timothycarambat commented 2 days ago

If you are on the API key page, there should be a link to "View documentation" - this will open the local documentation/swagger docs - this will or should show the endpoint as well.

its worth noting that if 3001 is occupied the desktop app will port hunt until a free port is found, which is likely the case here.

GPTLocalhost commented 1 day ago

Indeed, port 3001 works on Desktop version. The following helps. Thanks a lot.

"View documentation" - this will open the local documentation/swagger docs - this will or should show the endpoint as well.