Skip to content

feat(flow): Integrate Rag-based Agentic Flow - #1315

Draft
Ayush8923 wants to merge 2 commits into
feat/kaapi-chatbot-flow-v2from
feat/rag-agent-flow
Draft

Ayush8923 wants to merge 2 commits into
feat/kaapi-chatbot-flow-v2from
feat/rag-agent-flow

Conversation

@Ayush8923

@Ayush8923 Ayush8923 commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

Issue

Closes #PLEASE_TYPE_ISSUE_NUMBER

Summary

  • Before: The previous flow did not utilize the Rag-based structure effectively.
  • Now: The new flow integrates Rag-based methodologies for improved agentic performance.
  • Implemented necessary adjustments to support the Rag-based approach.
  • Enhanced overall functionality to align with the new flow.

Checklist

Before submitting a pull request, please ensure that you mark these task.

  • Ran fastapi run --reload app/main.py or docker compose up in the repository root and test.
  • If you've fixed a bug or added code that is tested and has test cases.

Notes

Please add here if any other information is required for the reviewer.

Original PR description

Issue

Closes #PLEASE_TYPE_ISSUE_NUMBER

Summary

Explain the motivation for making this change. What existing problem does the pull request solve?

Checklist

Before submitting a pull request, please ensure that you mark these task.

  • Ran fastapi run --reload app/main.py or docker compose up in the repository root and test.
  • If you've fixed a bug or added code that is tested and has test cases.

Notes

Please add here if any other information is required for the reviewer.

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one): 1
  • ready-for-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Ayush8923
Ayush8923 changed the base branch from main to feat/kaapi-chatbot-flow-v2 October 31, 2026 17:35
@github-actions github-actions Bot changed the title feat: Rag Based Agentic Flow feat(flow): Integrate Rag-based methodologies Oct 31, 2026
@github-actions

Copy link
Copy Markdown

OpenAPI changes   🔴 3 breaking changes

Caution

Downstream consumers may need an update before merging.

Breaking changes  ·  3
Method Path Change
🔴 GET /api/v1/feature-flags added the new CHATBOT enum value to the data/anyOf[subschema #1]/items/key response property for the response status 200
🔴 PATCH /api/v1/feature-flags added the new CHATBOT enum value to the data/anyOf[subschema #1: FeatureFlagPublic]/key response property for the response status 200
🔴 POST /api/v1/feature-flags added the new CHATBOT enum value to the data/anyOf[subschema #1: FeatureFlagPublic]/key response property for the response status 200
Full changelog  ·  19
Method Path Change
🔴 GET /api/v1/feature-flags added the new CHATBOT enum value to the data/anyOf[subschema #1]/items/key response property for the response status 200
🔴 PATCH /api/v1/feature-flags added the new CHATBOT enum value to the data/anyOf[subschema #1: FeatureFlagPublic]/key response property for the response status 200
🔴 POST /api/v1/feature-flags added the new CHATBOT enum value to the data/anyOf[subschema #1: FeatureFlagPublic]/key response property for the response status 200
🟢 — — a breaking change was detected but the version is still 0.5.0
🟢 GET /api/v1/chatbots endpoint added
🟢 POST /api/v1/chatbots endpoint added
🟢 GET /api/v1/chatbots/sessions/latest endpoint added
🟢 POST /api/v1/chatbots/sessions/{session_id}/message endpoint added
🟢 DELETE /api/v1/chatbots/{chatbot_id} endpoint added
🟢 GET /api/v1/chatbots/{chatbot_id} endpoint added
🟢 PATCH /api/v1/chatbots/{chatbot_id} endpoint added
🟢 GET /api/v1/chatbots/{chatbot_id}/flow endpoint added
🟢 PUT /api/v1/chatbots/{chatbot_id}/flow endpoint added
🟢 POST /api/v1/chatbots/{chatbot_id}/flow/publish endpoint added
🟢 POST /api/v1/chatbots/{chatbot_id}/sessions endpoint added
🟢 DELETE /api/v1/feature-flags added the new CHATBOT enum value to the request property key
🟢 GET /api/v1/feature-flags added the enum value CHATBOT to the property anyOf[subschema #1: FeatureFlag] of the query request parameter key
🟢 PATCH /api/v1/feature-flags added the new CHATBOT enum value to the request property key
🟢 POST /api/v1/feature-flags added the new CHATBOT enum value to the request property key

main ↔ 14b0487c · generated by oasdiff

@Ayush8923 Ayush8923 changed the title feat(flow): Integrate Rag-based methodologies feat(flow): Integrate Rag-based Agentic Flow Oct 31, 2026
@codecov

codecov Bot commented Oct 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.57983% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
backend/app/services/chatbot/agents/registry.py 86.36% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

This branch has not been deployed

No deployments
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