# Sample workloads · Chromia Docs (concept)

> Try common AI-powered use cases on Chromia's vector-ready data layer.

Source: https://docs.chromia.com/build/vector-search/sample-workloads/

# Sample workloads

On this page

* [Recommendation feed](#recommendation-feed)
* [AI-assisted search](#ai-assisted-search)
* [RAG pipelines](#rag-pipelines)

## Recommendation feed

1. Store embeddings for each piece of content in a dedicated table.
2. Use the `pgvector` `cosine_distance` operator to rank candidates per user.
3. Persist the recommendation in a cache table so you can audit what was shown to each user.

## AI-assisted search

* Use a lightweight embedding model (such as `text-embedding-3-small`) off-chain.
* Push vectors through the Filehub API or any backend worker.
* Combine similarity search with full-text indexing to keep results relevant and deterministic.

## RAG pipelines

Connect your knowledge base by:

* Ingesting documents into Filehub (for binary data) and referencing them from the database tables.
* Chunking the documents and storing embeddings per chunk.
* Serving RAG answers through Postchain REST endpoints guarded by ACL logic in Rell.

Continue experimenting by mapping these steps to your domain-specific schema or by prototyping directly in the CLI
cookbook templates.

[View this page on docs.chromia.com](https://docs.chromia.com/build/vector-search/sample-workloads/)Content mirrored from the live docs
