anything-llm icon indicating copy to clipboard operation
anything-llm copied to clipboard

[FEAT]: Per-Thread Settings

Open ericthomas1 opened this issue 1 year ago • 3 comments

What would you like to see?

It would be quite powerful to set temperature, prompt, chat history to include, etc. per-thread rather than per-Workspace.

Use-case:

  • Using the same Workspace and document set
    • Request "Creative" tasks of the LLM (aka: temp closer to 1, more creative system prompt) in one thread
    • Request "More Probable" tasks of the LLM (aka: temp closer to 0, more deterministic system prompt) in another thread

As of now, one has to create separate Workspaces to change temperature and system_prompt.

ericthomas1 avatar Aug 26 '24 21:08 ericthomas1

Would being able to easily duplicate a workspace benefit you? This would be pretty complex to add just for threads, believe it or not, and it kind of breaks our mental model for workspaces.

Its not impossible by any means, but I dont want to overload people with too much possible config!

timothycarambat avatar Aug 26 '24 21:08 timothycarambat

Hm...we've been framing Workspaces as a flexible way to segment a Team's instance by doc type / role / position / tenure / individual, etc.

If a team has 10 people and each teammate has their own individual Workspace + their collective workspaces, I could see the leftnav getting busy.

Whereas the way threads collapse when not used keeps the leftnav clean.

So making more Workspaces (easily duplicating) may make things busy...hm...have to think about it some more / test out with more teams.

ericthomas1 avatar Aug 26 '24 21:08 ericthomas1

I know its possible to control Workspace visibility using AnythingLLM's built in auth, but this isn't something thats allowed in our org (non-centralized UAC/mgmt.). We're waiting for AAD/EntraID implementation. Maybe at that point authorization could control visibility in a clean way.

ericthomas1 avatar Aug 26 '24 21:08 ericthomas1