Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In version 1.6.24, we add a new feature that is custom embedding model. It means you can use your favorite text embedding model to instead the default built-in model which is optimized for English.

...

  1. Open https://huggingface.co/jinaai/jina-embeddings-v2-base-de in your browser, jina-embeddings-v2-base-de is a German/English bilingual text embedding model.

  2. Select the “Files and versions” tab, download “tokenizer.json”.

    image-20241224-072337.png
  3. Open “onnx” folder, download “model_quantized.onnx”. We recommend using a model which size less than 200M. Using a larger model will have a better recall but will cost more memory and CPU. NOTE: Only supports ONNX format models.

    image-20241224-073514.png
  4. Go back the configuration page, enable the switch, then upload the two files.

    image-20241224-074604.png
  5. Click the “Save” button, it will show like this if success:

    image-20241224-074841.pngImage Removedimage-20241227-062302.pngImage Added
  6. Open “Manage apps” page, restart the plugin(click “Disable” and then “Enable”).

    image-20241224-075442.png

Now the embedding model has switched to your custom model. It will cost some time to rebuild the embedding store, depends on the count of your Confluence contents.

...

Model Resources: