Skip to content

[Jalandhar] Gopal Mondal - Rag to Mcp submission#8

Open
I-mgopal wants to merge 3 commits intonasscomAI:masterfrom
I-mgopal:participant/gopal-jalandhar
Open

[Jalandhar] Gopal Mondal - Rag to Mcp submission#8
I-mgopal wants to merge 3 commits intonasscomAI:masterfrom
I-mgopal:participant/gopal-jalandhar

Conversation

@I-mgopal
Copy link
Copy Markdown

@I-mgopal I-mgopal commented Apr 14, 2026

  1. mcp_server.py (The Portal)
    Standardized the server to use JSON-RPC 2.0. It now correctly tells AI agents what tools are available and routes their questions to the RAG database.

  2. rag_server.py (The Engine)
    Optimized with resource caching (singleton). This prevents the heavy AI model from reloading on every question, making the server fast enough to pass verification.

  3. test_client.py (The Auditor)
    Increased the timeout to 30s. This ensures the tests don't crash just because the computer needs a few extra seconds to process complex AI retrievals.

  4. agents.md (The Rules)
    Defined the R.I.C.E framework for the agent. This sets the strict operational boundary (HR, IT, Finance) and ensures the agent never halucinates about out-of-scope topics.

  5. skills.md (The Capabilities)
    Outlined the core Skillset of the server. It clearly defines how to handle policy queries and how to return structured errors when a question is out-of-scope.

  6. Threshold Tuning (The Filter)
    Adjusted the similarity threshold to 0.30 to balance between finding the right policy answers and blocking irrelevant "Budget" or "Weather" questions.

…classifier.py with full R.I.C.E enforcement for taxonomy, severity keywords, and justification
…efusals → Optimized threshold and refined prompt grounding to enforce multiple role citations
…hresholds → Added resource caching and tuned similarity threshold to 0.30
@github-actions
Copy link
Copy Markdown

Hi there, participant! Thanks for joining our RAG-to-MCP Workshop!

We're reviewing your PR for the 3 Use Cases (UC-0A, UC-RAG, UC-MCP). Once your submission is validated and merged, you'll be awarded your completion badge!

Next Steps:

  • Make sure all 3 UCs are finished.
  • Ensure your commit messages match the required format.
  • Fill out every section of the PR template.
  • Good luck!

@I-mgopal I-mgopal changed the title pull request all work in soimple formatParticipant/gopal jalandhar [Jalandhar] Gopal Mondal - Mcp to Rag submission Apr 14, 2026
@I-mgopal I-mgopal changed the title [Jalandhar] Gopal Mondal - Mcp to Rag submission [Jalandhar] Gopal Mondal - Rag to Mcp submission Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant