...

Text file src/gitlab.hexacode.org/go-libs/chromem-go/examples/README.md

Documentation: gitlab.hexacode.org/go-libs/chromem-go/examples

     1# Examples
     2
     31. [Minimal example](minimal)
     4   - A minimal example with the least amount of code and no comments
     5   - Uses OpenAI for creating the embeddings
     62. [RAG Wikipedia Ollama](rag-wikipedia-ollama)
     7   - This example shows a retrieval augmented generation (RAG) application, using `chromem-go` as knowledge base for finding relevant info for a question. More specifically the app is doing *question answering*.
     8   - The underlying data is 200 Wikipedia articles (or rather their lead section / introduction).
     9   - Runs the embeddings model and LLM in [Ollama](https://github.com/ollama/ollama), to showcase how a RAG application can run entirely offline, without relying on OpenAI or other third party APIs.
    103. [Semantic search arXiv OpenAI](semantic-search-arxiv-openai)
    11   - This example shows a semantic search application, using `chromem-go` as vector database for finding semantically relevant search results.
    12   - Loads and searches across ~5,000 arXiv papers in the "Computer Science - Computation and Language" category, which is the relevant one for Natural Language Processing (NLP) related papers.
    13   - Uses OpenAI for creating the embeddings
    144. [WebAssembly](webassembly)
    15   - This example shows how `chromem-go` can be compiled to WebAssembly and then used from JavaScript in a browser
    165. [S3 Export/Import](s3-export-import)
    17   - This example shows how to export the DB to and import it from any S3-compatible blob storage service

View as plain text