Files
baserow/docs/development/embeddings-server.md
T
Davide SilvestriandBram Wiepjes 784c7df891 Switch to udspy (#4153)
* Switch to udspy

* fix search tool and message history

* Added embeddings server docs

* Remove remaining litellm references

* bump udspy version to v0.1.6

* Added docs for setting up the AI-assistant

* fixed table

* port workflow formula generation tools to udspy

* Set a fake OPENAI_API_KEY for tests

* Fix flaky tests

---------

Co-authored-by: Bram Wiepjes <bramw@protonmail.com>
2025-11-12 21:17:24 +01:00

913 B

Setup embeddings server in dev environment

If you would like to use the AI-assistant in combination with the search documentation tool, then you must add the embeddings server. This

Docker compose

Add the following to your docker-compose.dev.yml and then (re)start your dev server. The BASEROW_EMBEDDINGS_API_URL=http://embeddings:80 variable is already configured by default for the backend container, so it should then work out of the box.

  embeddings:
    build:
      context: ./embeddings
      dockerfile: Dockerfile
    ports:
      - "${HOST_PUBLISH_IP:-127.0.0.1}:7999:80"
    networks:
      local:
    restart: unless-stopped
    healthcheck:
      test:
        [
          "CMD",
          "python",
          "-c",
          "import requests; requests.get('http://localhost/health').raise_for_status()",
        ]
      interval: 1m30s
      timeout: 10s
      retries: 3