chromadb/state_of_the_union
Viewer
•
Updated
•
42
•
60
None defined yet.
Making it easy to load data into Chroma since 2023
pip install chroma_datasets
from chroma_datasets import StateOfTheUnion
from chroma_datasets import PaulGrahamEssay
from chroma_datasets import Glue
from chroma_datasets import SciPy
chroma_datasets
is generally backed by hugging face datasets, but it is not a requirement.
The following will:
import chromadb
from chroma_datasets import StateOfTheUnion
from chroma_datasets.utils import import_into_chroma
chroma_client = chromadb.Client()
collection = import_into_chroma(chroma_client=chroma_client, dataset=StateOfTheUnion)
result = collection.query(query_texts=["The United States of America"])
print(result)
Learn about how to create and contribute a package at chroma-core/chroma_datasets.