Skip to content

Building an Agent that can talk to your database #665

@riadassir

Description

@riadassir

I'm building an agent that allows users to talk to their database, and query using simple english language.
While it's easy enough to use a Knowledge base that is an actual database, the limit of 2k context makes it difficult to use.
So, if a user wants to see the "Top 10 vendors by sales vloume" for example, the native code can't do that. It shows the wrong list, given its limit of the 2k window.

How would you go around that limit? What would you have to implement to keep much of the native functionality, like the history, and english to SQL query, and back from SQL results into English, etc. I don't want to have to re-write all that in my code.

What is the best design?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions