Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 499 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 499 Bytes

Minimal example

This is a minimal example that shows how chromem-go works. For more sophisticated examples that use the persistent DB, locally running embedding models, a basic RAG pipeline, with more explanations in the README as well as code comments, check the other examples!

How to run

  1. Set the OpenAI API key in your env as OPENAI_API_KEY
  2. Run the example: go run .

Output

ID: 1
Similarity: 0.6833369
Content: The sky is blue because of Rayleigh scattering.