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

Add Ollama as an embeddings provider #4456

Merged
merged 3 commits into from
Mar 13, 2024

Commits on Mar 4, 2024

  1. Implemented Ollama as an embeddings provider

    Initial prototype of Ollama embeddings actually working, error handlign / retries still missing.
    
    Allow model to be any String and require dimensions parameter
    
    Fixed rustfmt formatting issues
    
    There were some formatting issues in the initial PR and this should not make the changes comply with the Rust style guidelines
    
    Because I accidentally didn't follow the style guide for commits in my commit messages I squashed them into one to comply
    jakobklemm committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    d3004d8 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Add Ollama dimension inference and add clearer errors

    Instead of the user manually specifying the model dimensions it will now automatically get determined
    Just like with hf.rs the word "test" gets embedded to determine the dimensions of the output
    Add a dedicated error type for if the model doesn't exist (don't automatically pull it though) and set the fault of that error to be the user
    jakobklemm committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    88bc955 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Update milli/src/vector/error.rs

    Fix Meilisearch capitalization
    dureuill committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    ae67d5e View commit details
    Browse the repository at this point in the history