Skip to content

[Bug]: While creating chroma client - getting error - no such tokenizer: trigram #836

@ashu-accolitedigital

Description

@ashu-accolitedigital

What happened?

When trying to create chroma db client, running into the following error. This error occurs both on google colab

chroma_client = chromadb.PersistentClient(path="/content/chromadb")

Versions

Here is my colab environment-

Python implementation: CPython
Python version : 3.10.12
IPython version : 7.34.0

chromadb: 0.4.0

sqlite3.sqlite_version => 3.31.1

Relevant log output

---------------------------------------------------------------------------
OperationalError                          Traceback (most recent call last)
[<ipython-input-67-2adad2a0c4f4>](https://localhost:8080/#) in <cell line: 1>()
----> 1 chroma_client = chromadb.PersistentClient(path="/content/chromadb")

6 frames
[/usr/local/lib/python3.10/dist-packages/chromadb/db/impl/sqlite.py](https://localhost:8080/#) in apply_migration(self, cur, migration)
    207     @override
    208     def apply_migration(self, cur: base.Cursor, migration: Migration) -> None:
--> 209         cur.executescript(migration["sql"])
    210         cur.execute(
    211             """

OperationalError: no such tokenizer: trigram

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions