[GH-ISSUE #881] [FEAT]: API vector database endpoints #524

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

Originally created by @timothycarambat on GitHub (Mar 8, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/881

What would you like to see?

Posting from Discord:

I would like to inquire about a potential enhancement for the WorkspaceAPI, specifically regarding the /v1/workspace/{slug}/chat endpoint.

Details:

API Endpoint: /v1/workspace/{slug}/chat
Description: Execute a chat with a workspace.
Parameters:
slug: The unique identifier of the workspace.
Authorization: Authentication token.
Request body: JSON object containing the message and mode of conversation (query or chat).

Proposed Enhancement:

Currently, the /v1/workspace/{slug}/chat endpoint returns a response that includes both text response generated by LLM (Language Model) and associated sources. However, is there a way where the users may only need the text from the sources without relying on the LLM response, especially in query mode? So the LLMs will not be invoked in any case whether there are relevant information or not. How would i be able to do this?

Basically, use AnythingLLM as your vector database and just return the chunks but using all the config and set up already done on AnythingLLM.

Originally created by @timothycarambat on GitHub (Mar 8, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/881 ### What would you like to see? Posting from Discord: > I would like to inquire about a potential enhancement for the WorkspaceAPI, specifically regarding the /v1/workspace/{slug}/chat endpoint. > > Details: > > API Endpoint: /v1/workspace/{slug}/chat > Description: Execute a chat with a workspace. > Parameters: > slug: The unique identifier of the workspace. > Authorization: Authentication token. > Request body: JSON object containing the message and mode of conversation (query or chat). > > Proposed Enhancement: > > Currently, the /v1/workspace/{slug}/chat endpoint returns a response that includes both text response generated by LLM (Language Model) and associated sources. However, is there a way where the users may only need the text from the sources without relying on the LLM response, especially in query mode? So the LLMs will not be invoked in any case whether there are relevant information or not. How would i be able to do this? Basically, use AnythingLLM as your vector database and just return the chunks but using all the config and set up already done on AnythingLLM.
yindo added the enhancementfeature request labels 2026-02-22 18:19:57 -05:00
yindo closed this issue 2026-02-22 18:19:57 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jan 3, 2025):

resolved by https://github.com/Mintplex-Labs/anything-llm/pull/2815

@timothycarambat commented on GitHub (Jan 3, 2025): resolved by https://github.com/Mintplex-Labs/anything-llm/pull/2815
Author
Owner

@Pinocchioi commented on GitHub (Mar 5, 2025):

API 地址:/v1/workspace/{slug}/chat 这个api可以进行上传文档并进行问答吗

@Pinocchioi commented on GitHub (Mar 5, 2025): API 地址:/v1/workspace/{slug}/chat 这个api可以进行上传文档并进行问答吗
yindo changed title from [FEAT]: API vector database endpoints to [GH-ISSUE #881] [FEAT]: API vector database endpoints 2026-06-05 14:35:47 -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#524