Это видео недоступно.
Сожалеем об этом.

Set Up ChromaDB with Docker & Enable Role-Based Token Authentication

Поделиться
HTML-код
  • Опубликовано: 21 июн 2024
  • I'll guide you through how to set up a ChromaDB instance using Docker Compose, including configuring authentication methods like Token-based and Role-based access control. We’ll start by getting ChromaDB up and running quickly in a Docker container, accessible via an HTTP client without authentication. Then, we'll add token-based authentication for a single admin user, followed by role-based token authentication to support multiple users with different permissions. Additionally, see how to build a custom Docker image to resolve the 'ModuleNotFoundError: No module named hypothesis' error in ChromaDB version 0.5.2 and install additional packages into the container.
    Steal my code: github.com/joh...
    Support me here: www.buymeacoff...

Комментарии • 9

  • @davidtindell950
    @davidtindell950 4 дня назад +1

    Thank You Yet AGAIN ! We owe you a pot of coffee ! ! !

  • @MichaelDavidAngelo
    @MichaelDavidAngelo День назад

    Hello, I encountered an error while executing the get_or_create_collection function.

  • @mystic2212
    @mystic2212 Месяц назад

    Really good video. I have a big issue with the understanding how to delete and add files to the chromaDB I have done it also with a Docker Container and I have issue to get the file Names for example of the documents who are in the DB stored. I am also using the Metadata fields for reference files for specific chunks etc. Is there any explanation of those concepts, that would be awesome!

    • @johnnycode
      @johnnycode  Месяц назад

      I use the metadata fields in these videos and also use the Where Filter to query, let me know if these solves your problem: ruclips.net/video/QSW2L8dkaZk/видео.html
      ruclips.net/video/u_N1t0CBuqA/видео.html

  • @mohamedbassiony9322
    @mohamedbassiony9322 Месяц назад

    Awesome!!
    Is it better to divide data into chunks before embeddings?

    • @johnnycode
      @johnnycode  Месяц назад +2

      It depends on the problem that you're trying to solve. The semantic meaning of a line of text vs a paragraph of text vs a page of text vs the whole document are different. Which level to divide into chunks depends on what your needs are when querying the database.

  • @manarma7536
    @manarma7536 Месяц назад

    I came across your chroma db list, one question , why would i need to use Docker ? i mean what is the goal

    • @johnnycode
      @johnnycode  Месяц назад

      Docker has several purposes: 1) consistency between your development, test, and production environments, and 2) deploy your container easily to cloud providers. If you're just playing around with chromadb, you don't need Docker.