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

WIP Brave search tool #2737

Draft
wants to merge 30 commits into
base: main
Choose a base branch
from
Draft

WIP Brave search tool #2737

wants to merge 30 commits into from

Commits on Aug 14, 2024

  1. Brave search tool calling.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    f4fb3df View commit details
    Browse the repository at this point in the history
  2. Change the name to announce the beta.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    a71db10 View commit details
    Browse the repository at this point in the history
  3. Fix problem with only displaying one source for tool call excerpts.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    1c9911a View commit details
    Browse the repository at this point in the history
  4. Add the extra snippets to the source excerpts.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    c78c95a View commit details
    Browse the repository at this point in the history
  5. Fix the way we're injecting the context back into the model for web s…

    …earch.
    
    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    dda59a9 View commit details
    Browse the repository at this point in the history
  6. Change the suggestion mode to turn on for tool calls by default.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    d2ee235 View commit details
    Browse the repository at this point in the history
  7. Change the name to inc the beta.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    b0578e2 View commit details
    Browse the repository at this point in the history
  8. Inc again for new beta.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    b9684ff View commit details
    Browse the repository at this point in the history
  9. Stop hardcoding the tool call checking and rely upon the format advoc…

    …ated by ollama for tool calling.
    
    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    7c7558e View commit details
    Browse the repository at this point in the history
  10. Refactor to handle errors in tool calling better and add source comme…

    …nts.
    
    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    fffd9f3 View commit details
    Browse the repository at this point in the history
  11. Refactor the brave search and introduce an abstraction for tool calls.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    dfe3e95 View commit details
    Browse the repository at this point in the history
  12. Begin converting the localdocs to a tool.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    01f67c7 View commit details
    Browse the repository at this point in the history
  13. Serialize the source excerpts from and to pure json

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    27b86da View commit details
    Browse the repository at this point in the history
  14. Use parameters which is in keeping with other standard practices.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    5fc2ff8 View commit details
    Browse the repository at this point in the history
  15. Implement error handling for tool calls.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    244b826 View commit details
    Browse the repository at this point in the history
  16. Tool model.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    cedba6c View commit details
    Browse the repository at this point in the history
  17. Move the usearch submodule to third_party dir.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    f93b764 View commit details
    Browse the repository at this point in the history
  18. Add jinja third party dependency.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    00ecbb7 View commit details
    Browse the repository at this point in the history
  19. Refactor and make use of jinja templates.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    c3cfaff View commit details
    Browse the repository at this point in the history
  20. Get rid of the name change now that 3.2.0 has been released.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    587dd55 View commit details
    Browse the repository at this point in the history
  21. Use an enum for tool usage mode.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    227dbfd View commit details
    Browse the repository at this point in the history
  22. Move the jinja processing to mysettings and validation.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    48117cd View commit details
    Browse the repository at this point in the history
  23. Move to a brave search specific settings page.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    a673087 View commit details
    Browse the repository at this point in the history
  24. Don't advertise brave.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    f118720 View commit details
    Browse the repository at this point in the history
  25. Handle the forced usage of tool calls outside of the recursive prompt…

    … method.
    
    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    75dbf9d View commit details
    Browse the repository at this point in the history
  26. Abstract the built-in web search completely away from ChatLLM.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    991afc6 View commit details
    Browse the repository at this point in the history
  27. Breakout the ask before running which can be thought of as a security…

    … feature.
    
    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    4cb9569 View commit details
    Browse the repository at this point in the history
  28. Display the antenna by introducing notion of privacy scopes to tools.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    054ca43 View commit details
    Browse the repository at this point in the history
  29. Implement all the settings for the web search.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    3a56468 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Force tool usage and refactor.

    Signed-off-by: Adam Treat <treat.adam@gmail.com>
    manyoso committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    4ae6acd View commit details
    Browse the repository at this point in the history