Files
chroma/examples
Ben Eggers 317d547d7a Fix failing example terraform (#1175)
## Description of changes

`lifecycle` blocks don't allow variables. Right now our example
deployment for AWS doesn't work. @tazarov has a fix for this and a few
other things in https://github.com/chroma-core/chroma/pull/1173 but I'd
like to get the basic fix out before the weekend.

## Test plan
local `terraform init` failed before, now works.

## Documentation Changes
*Are all docstrings for user-facing APIs updated if required? Do we need
to make documentation changes in the [docs
repository](https://github.com/chroma-core/docs)?*
2023-09-22 15:49:29 -07:00
..
2023-09-11 20:49:25 -07:00
2023-06-28 10:26:36 -07:00

Examples

Searching for community contributions! Join the #contributing Discord Channel to discuss.

This folder will contain an ever-growing set of examples.

The key with examples is that they should always work. The failure mode of examples folders is that they get quickly deprecated.

Examples are:

  • Easy to maintain
  • Easy to maintain examples are simple
  • Use case examples are fine, technology is better
folder structure
- basic_functionality - notebooks with simple walkthroughs
- advanced_functionality - notebooks with advanced walkthroughs
- deployments - how to deploy places
- use_with - chroma + ___, where ___ can be langchain, nextjs, etc
- data - common data for examples

💡 Feel free to open a PR with an example you would like to see

Basic Functionality

  • Examples of using different embedding models
  • Local persistance demo
  • Where filtering demo

Advanced Functionality

  • Clustering
  • Projections
  • Fine tuning

Use With

LLM Application Code

  • Langchain
  • LlamaIndex
  • Semantic Kernal

App Frameworks

  • Streamlit
  • Gradio
  • Nextjs
  • Rails
  • FastAPI

Inference Services

  • Brev.dev
  • Banana.dev
  • Modal

LLM providers/services

  • OpenAI
  • Anthropic
  • Cohere
  • Google PaLM
  • Hugging Face

Inspiration