Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command Categories #4614

Closed
1 task done
Boostrix opened this issue Jun 7, 2023 · 6 comments
Closed
1 task done

Command Categories #4614

Boostrix opened this issue Jun 7, 2023 · 6 comments
Labels

Comments

@Boostrix
Copy link
Contributor

Boostrix commented Jun 7, 2023

Duplicates

  • I have searched the existing issues

Summary 💡

Question: Why don't we put certain/some commands into optional categories to free up the namespace / prompt?

The basic idea is to support putting commands into matching categories.
These categories would serve four main purposes:

  • provide additional meta information to the LLM
  • clean up the prompt by allowing the LLM to switch/cd into a certain category and select from its arguments
  • use a namespace based notation to encode additional semantics to the LLM
  • reduce the likelihood of hallucinations by narrowing down relevant commands

Depending on the step in question, the LLM might be in an excellent position to judge what sort of commands are relevant to it, so it could just as well "subscribe" to a list (category) of certain commands. Imagine this like a directory/folder in a file system, with individual commands being the "files".

This would allow us to neatly organize commands, while also reducing the default prompt significantly - at the mere cost of providing new commands to list/browse available categories and switch/cd into those.

Related:

Examples 🌈

  • when browsing, file system utilities might be completely irrelevant
  • likewise, when working with files, web browsing related commands may be irrelevant
  • the commands for inter-agent messaging are only relevant in multi-agent setups

We can probably free up quite a bit of space by coming up with dynamic categories of commands, and at the same time reduce hallucinations that way, too.

Motivation 🔦

@Pwuts asked for this to be tracked separately on github:

@Boostrix Boostrix added command system enhancement New feature or request labels Jun 7, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

@github-actions github-actions bot added the Stale label Sep 6, 2023
@Pwuts Pwuts removed the Stale label Sep 14, 2023
@Boostrix
Copy link
Contributor Author

Boostrix commented Oct 4, 2023

This would be one of those few issues that could help us make better use of the context window, while also offering a narrowed-down list of options to the LLM to pick from. We could basically encode/provide surrounding context to the LLM by reducing its set of options to certain command categories. This could possibly be dynamically adapted, based on the history/results of previously executed commands.

I would sugest to label this accordingly, because making better use of the context window should be one of topmost goals probably ?

Copy link
Contributor

github-actions bot commented Jan 3, 2024

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

@github-actions github-actions bot added the Stale label Jan 3, 2024
@Pwuts
Copy link
Member

Pwuts commented Feb 13, 2024

Related: #6271

@github-actions github-actions bot removed the Stale label Feb 21, 2024
Copy link
Contributor

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

@github-actions github-actions bot added the Stale label Apr 11, 2024
Copy link
Contributor

This issue was closed automatically because it has been stale for 10 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants