Skip to content

All actions are retrieved on each agent cycle #5

Description

@zfoong

Action router selects all actions in each agent cycle (top_k > 50). This caused large token usage and slow down inference speed.
The reason top_k is set to cover all actions now is that the query passed to chromadb is incorrect (using the trigger description, which does not have any semantic meaning to the action required).

Query/keyword rewrite to search for action can be a good solution to query for the correct actions, without having to retrieve all actions. Also, this way we can have more actions in our database.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ImprovementOptimization and improvement over existing featurebugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions