Skip to content

Rag/rag transition 4 #25

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 2 commits into
base: rag/rag-transition-3
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.
In Step three. we set everything up to ingest ecto into our RAG system.

Langchain Integration

As we want to have an ongoing discussion about ecto with the chatbot, we integrate our RAG system with langchain.

Therefore, we need to remove the last step in our generation pipeline, the generation of a response.
Instead we feed the retrieved information into the next langchain message using a small helper function.

@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
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