Перейти к основному содержимому

Add an Embedding Provider

This document is a step-by-step tutorial designed for beginners. It will guide you through the process of integrating an embedding provider with Casibase, our powerful knowledge base system.


Embedding is a technique used to represent words and documents as vectors. Embedding providers allow you to analyze and process data within your knowledge base system, making it more intelligent and efficient.

Refer to the Core Concepts section of our previous documentation for more information about embedding.

In Casibase, you can add an embedding provider by following these steps:

Step 1: Deploy Casdoor and Casibase

Before you can add an embedding provider, make sure you have Casdoor and Casibase deployed. If you haven't done this yet, please refer to the Deploy Casdoor and Casibase tutorial in our previous documentation.

Step 2: Add a New Embedding Provider

Embedding providers are used to integrate embedding into Casibase. You can add them by following these steps:

Click the Providers button on the home page.


Step 2.1: Add an Embedding Provider

Click the Add button to add an embedding provider.


Step 2.2: Fill in Embedding Provider Details

Fill in the embedding provider details and click the Save & Exit button.



Same as the Model Provider section, Casibase supports many embedding providers, including:

  • OpenAI
    • AdaSimilarity
    • DavinciSimilarity
    • AdaEmbedding2
    • ......
  • Hugging Face
    • sentence-transformers/paraphrase-MiniLM-L6-v2
    • ......

Return providers list page:


Now, you can use the embedding provider to convert text to vectors.

After adding an embedding provider, you can use it to retrieve similar documents in Casibase. For more information, please refer to the Core Concepts section of our previous documentation.

In the next chapter, we will learn how to integrate storage providers, model providers, and embedding providers with Casibase.