Skip to content

Rag/rag transition 3 #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: rag/rag-transition-2
Choose a base branch
from

Conversation

joelpaulkoch
Copy link
Member

See A RAG Library for Elixir

We want to turn chatbot_ex into a RAG system that answers question about ecto. Out of the box, chatbot_ex knows nothing about ecto.

In Step one, we ran the generator.
In Step two, we removed the LLM serving as we will use Ollama to generate responses.

Ingesting Ecto

To enable chatbot_ex to answer questions about ecto, we ingest the documentation and source code of ecto into our RAG system.

First, we change the embeddings model to jina-embeddings-v2-base-code.

Then, we adapt the ingestion pipeline to download code and documentation of ecto from hex.pm, chunk the downloaded files, calculate embeddings of the chunks, and store everything in postgres.

@joelpaulkoch joelpaulkoch added BLOG POST EXAMPLE see [A RAG Library for Elixir](https://bitcrowd.dev/a-rag-library-for-elixir#build-your-rag-system) do not merge labels Mar 12, 2025
@joelpaulkoch joelpaulkoch force-pushed the rag/rag-transition-3 branch from 910b03b to 4ec1e81 Compare March 12, 2025 11:50
This was referenced Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BLOG POST EXAMPLE see [A RAG Library for Elixir](https://bitcrowd.dev/a-rag-library-for-elixir#build-your-rag-system) do not merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant