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

[Go] retrieve and index calls are always actions #291

Merged
merged 1 commit into from
May 31, 2024
Merged

Commits on May 31, 2024

  1. [Go] retrieve and index calls are always actions

    Add ai.DefineRetriever, which creates and registers core.Actions for
    the index and retrieve methods of a vector DB.
    
    Remove RegisterRetriever.
    
    Remove the Init functions from our vector DB plugins.
    Instead, the New functions return a Retriever that supports
    actions directly.
    
    There is no longer a way to create a Retriever that doesn't
    use actions.
    jba committed May 31, 2024
    Configuration menu
    Copy the full SHA
    0684d23 View commit details
    Browse the repository at this point in the history