This PR showcases capabilities of Contextual AI's managed RAG platform. Create a datastore, ingest documents, spin up an agent, and chat grounded on your data.
Features:
Document ingestion to Contextual AI datastores
Agent creation bound to one or more datastores
Response generation via Contextual’s Grounded Language Model (GLM) for faithful, retrieval-grounded answers
Reranking of retrieved documents by query relevance and custom instructions (multilingual)
Retrieval visualization (show attribution page image and metadata)
LMUnit evaluation of answers using a custom rubric
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/Shubhamsaboo/awesome-llm-apps/pull/330
**Author:** [@Jinash-Rouniyar](https://github.com/Jinash-Rouniyar)
**Created:** 9/5/2025
**Status:** ✅ Merged
**Merged:** 9/7/2025
**Merged by:** [@Shubhamsaboo](https://github.com/Shubhamsaboo)
**Base:** `main` ← **Head:** `main`
---
### 📝 Commits (1)
- [`84fe9fb`](https://github.com/Shubhamsaboo/awesome-llm-apps/commit/84fe9fbe1a8d4d3e4f7d05ba89855f697c945dcd) feat: Add Contextual AI RAG agent
### 📊 Changes
**4 files changed** (+395 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `README.md` (+1 -0)
➕ `rag_tutorials/contextualai_rag_agent/README.md` (+62 -0)
➕ `rag_tutorials/contextualai_rag_agent/contextualai_rag_agent.py` (+328 -0)
➕ `rag_tutorials/contextualai_rag_agent/requirements.txt` (+4 -0)
</details>
### 📄 Description
This PR showcases capabilities of Contextual AI's managed RAG platform. Create a datastore, ingest documents, spin up an agent, and chat grounded on your data.
Features:
- Document ingestion to Contextual AI datastores
- Agent creation bound to one or more datastores
- Response generation via Contextual’s Grounded Language Model (GLM) for faithful, retrieval-grounded answers
- Reranking of retrieved documents by query relevance and custom instructions (multilingual)
- Retrieval visualization (show attribution page image and metadata)
- LMUnit evaluation of answers using a custom rubric
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/Shubhamsaboo/awesome-llm-apps/pull/330
Author: @Jinash-Rouniyar
Created: 9/5/2025
Status: ✅ Merged
Merged: 9/7/2025
Merged by: @Shubhamsaboo
Base:
main← Head:main📝 Commits (1)
84fe9fbfeat: Add Contextual AI RAG agent📊 Changes
4 files changed (+395 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)➕
rag_tutorials/contextualai_rag_agent/README.md(+62 -0)➕
rag_tutorials/contextualai_rag_agent/contextualai_rag_agent.py(+328 -0)➕
rag_tutorials/contextualai_rag_agent/requirements.txt(+4 -0)📄 Description
This PR showcases capabilities of Contextual AI's managed RAG platform. Create a datastore, ingest documents, spin up an agent, and chat grounded on your data.
Features:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.