Skip to content

Add documentation #13

@DanielDKnudsen

Description

@DanielDKnudsen

There is lacking documentation for the following steps in the setup of korvus in order to run the example scripts:

1. When using a Hugging Face model in a Pipeline, you need to pass a parameter "trust_remote_code": True. Look at below example:

"semantic_search": {"model": "Alibaba-NLP/gte-base-en-v1.5",

Should be:

"semantic_search": {"model": "Alibaba-NLP/gte-base-en-v1.5", "parameters": {"trust_remote_code": True, "token": hf_token}},

2. In order to run any segmentation search you need to create the extension for vectors in the Postgres Database:

$ CREATE EXTENSION IF NOT EXISTS vector;

3. You need to authenticate to Hugging Face in order to use their models in the korvus.OpenSourceAI() component.

This issue I haven't resolved yet

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