Skip to content

Change the build structure #481

Merged
samithkavishke merged 3 commits into
wso2:mainfrom
samithkavishke:changeStructure
May 19, 2026
Merged

Change the build structure #481
samithkavishke merged 3 commits into
wso2:mainfrom
samithkavishke:changeStructure

Conversation

@samithkavishke
Copy link
Copy Markdown
Contributor

@samithkavishke samithkavishke commented May 19, 2026

Purpose

This PR addresses the scalability of the document space for other languages as well as an issue where node_modules was being saved in the en folder.

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email documentation@wso2.com to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter �N/A� plus brief explanation of why there�s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type �Sent� when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to certification@wso2.com and NOT pasted in this PR. If there is no impact on certification exams, type �N/A� and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

  • Unit tests

    Code coverage information

  • Integration tests

    Details about the test cases and coverage

Security checks

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Summary by CodeRabbit

  • Chores

    • Restructured build workflows to execute from project root instead of subdirectory context.
    • Updated npm script configuration to explicitly specify locale parameters.
  • Documentation

    • Removed comprehensive GenAI documentation including guides on AI agents, LLM integration, RAG, MCP integration, natural functions, and related tutorials.

Review Change Stack

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 19, 2026

Warning

Rate limit exceeded

@NipunaRanasinghe has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 44 minutes and 51 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 14d16351-94f5-49e8-9358-fc29d140e70f

📥 Commits

Reviewing files that changed from the base of the PR and between 64694db and 46662d4.

⛔ Files ignored due to path filters (84)
  • en/package-lock.json is excluded by !**/package-lock.json
  • package-lock.json is excluded by !**/package-lock.json
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/1.create-new-project.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/2.create-an-agent.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/3.configure-behaviour.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/4.configure-model-provider.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/4.configure-model.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/5.create-function.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/6.add-functions.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/6.create-agent-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/7.interact-with-agent.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/8.tracing.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-add-gcalendar-connector.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-add-gmail-connector.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-add-mcp-server.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-assistant-chat.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-cleanup-createCalendarEvent-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-cleanup-listCalendarEvents-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-cleanup-listUnreadEmails-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-cleanup-readSpecificEmail-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-confgure-createCalendarEvent-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-gcalendar-connector.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-gmail-connector.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-listCalendarEvents-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-listUnreadEmails-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-readSpecificEmail-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-sendEmail-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-createCalendarEvent-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-listCalendarEvents-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-listUnreadEmails-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-readSpecificEmail-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-sendEmail-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-edit-mcp-server.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-interact-mcp-server.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-create-a-graphql-resolver.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-create-a-graphql-service.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-create-a-new-integration-project.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-execute.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-implement-resolver.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-return-response.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/mcp/add-more-tools.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/mcp/create-a-new-integration-project.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/mcp/create-an-mcp-service.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/mcp/define-a-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/mcp/implement-tool-logic.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/natural-functions/add-return.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/call-np.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/natural-functions/configure-model.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/natural-function-view.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/natural-function.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/run-integration.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/service.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/types.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/update-resource.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/rag/build-rag/1.create-new-service.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/10.create-llm-chat.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/11.llm-chat-logic.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/12.chat-service-logic.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/13.rag-execute.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/2.create-new-resource.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/3.create-embeddings.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/4.create-embeddings-connection.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/5.create-pinecone-connection.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/6.create-retriever-function.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/7.retriever-function-logic.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/8.augment-function-logic.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/9.create-chat-client.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/add-a-confirmation-message.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/create-a-data-loader.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/create-a-new-integration-project.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/create-a-vector-knowledge-base.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/create-an-automation.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/ingest-data-with-vector-knowlege-base.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/load-from-the-data-loader.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/run-the-integration.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/augment-user-query.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/call-model-provider-generate-action.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/create-a-model-provider.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/create-an-http-service.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/create-vector-knowledge-base.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/retrieve-data-from-knowledge-base.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/return-the-response-from-service-resource.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/run-the-integration.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/update-the-resource-method.gif is excluded by !**/*.gif
📒 Files selected for processing (50)
  • .github/workflows/pr_build_check.yaml
  • .github/workflows/pr_preview.yaml
  • .github/workflows/publish_docs.yaml
  • README.md
  • package.json
  • samples/hospital-service/Ballerina.toml
  • samples/hospital-service/Cloud.toml
  • samples/hospital-service/Dependencies.toml
  • samples/hospital-service/service.bal
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/adding-memory-to-an-agent.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/adding-tools-to-an-agent.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/agent-configuration-options.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/ai-agent-evaluations.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/ai-agent-observability.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/creating-an-ai-agent.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/configuring-llm-providers.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/constructing-prompts.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/handling-responses.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/mcp-integration/building-agents-with-mcp-servers.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/mcp-integration/exposing-services-as-mcp-server.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/constructing-prompts.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/defining-natural-functions.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/handling-responses.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/chunking-strategies.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/configuring-embeddings.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/connecting-to-vector-database.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-query/rag-querying.md
  • wso2-integrator-docs/docs/genai/getting-started/build-your-first-ai-integration/hotel-booking-agent.md
  • wso2-integrator-docs/docs/genai/getting-started/build-your-first-ai-integration/smart-calculator-assistant.md
  • wso2-integrator-docs/docs/genai/getting-started/quick-start.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-are-tools.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-a-natural-function.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-an-ai-agent.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-an-llm.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/how-mcp-works.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/index.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/why-mcp.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-memory.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/embeddings-and-vector-databases.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/index.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/rag-ingestion.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/rag-querying.md
  • wso2-integrator-docs/docs/genai/overview.md
  • wso2-integrator-docs/docs/genai/reference/ai-governance-and-security.md
  • wso2-integrator-docs/docs/genai/reference/ballerina-copilot-setup.md
  • wso2-integrator-docs/docs/genai/reference/troubleshooting.md
  • wso2-integrator-docs/docs/genai/tutorials/customer-care-agent-mcp.md
  • wso2-integrator-docs/docs/genai/tutorials/hr-knowledge-base-agent-rag.md
  • wso2-integrator-docs/docs/genai/tutorials/it-helpdesk-chatbot.md
  • wso2-integrator-docs/docs/genai/tutorials/legal-document-qa-rag.md
📝 Walkthrough

Walkthrough

The PR refactors build workflows and npm scripts to operate from the repository root instead of the en/ subdirectory. npm scripts are updated with explicit en locale arguments, caching configuration switches to the root package-lock.json, and Docusaurus build and install steps execute at the root level. README documentation is updated accordingly.

Changes

Build Workflow Root-Level Refactoring

Layer / File(s) Summary
npm script localization and workflow caching configuration
package.json, .github/workflows/pr_build_check.yaml, .github/workflows/pr_preview.yaml, .github/workflows/publish_docs.yaml
package.json Docusaurus scripts now include explicit en locale arguments and typecheck runs tsc -p en. All three CI workflows update caching to use the root package-lock.json and install dependencies from the repo root with npm ci; pr_preview removes its workflow-level defaults.run.working-directory: en setting.
Docusaurus build execution from root
.github/workflows/pr_build_check.yaml
The pr_build_check build step is updated to execute npm run build from the repository root instead of cd en/, while preserving shell error propagation and logging to en/build.log.
README developer documentation updates
README.md
Quick Start, Common Commands, and Validate Locally sections remove references to cd en and clarify that npm scripts should be run from the docs-integrator/ project root.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • KavinduZoysa
  • rosensilva
  • NipunaRanasinghe
  • anupama-pathirage

Poem

🐰 From en/ we hop to root so bright,
Scripts explicit, workflows right,
npm ci from the top we go,
Docs and paths all aglow!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description provides a Purpose stating the intent to address scalability for other languages and fix node_modules placement, but fails to complete most required template sections (Goals, Approach, User stories, Release note, etc.), leaving them as unfilled placeholders. Complete the missing template sections: provide specific Goals, detailed Approach with implementation rationale, user stories, release note summary, and address Documentation/Testing/Security/Related PRs as applicable.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Change the build structure' is directly related to the core changes: reorganizing npm dependencies to the root level and removing documentation folders.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
README.md (1)

27-35: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Fix build output path in command description.

Line 31 says the production output is ./build, but with the new root command flow it is en/build. Please update the comment to avoid local validation confusion.

As per coding guidelines, "IMPORTANT: Your task is to ensure that each instruction is followed for each code segment you review."

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@README.md` around lines 27 - 35, Update the README command list to reflect
the new production build output path: change the description for `npm run build`
that currently says "production build in ./build" to state "production build in
en/build" so the docs match the new root command flow; edit the README.md line
containing the `npm run build` entry to replace "./build" with "en/build".
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@README.md`:
- Around line 27-35: Update the README command list to reflect the new
production build output path: change the description for `npm run build` that
currently says "production build in ./build" to state "production build in
en/build" so the docs match the new root command flow; edit the README.md line
containing the `npm run build` entry to replace "./build" with "en/build".

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 8fdaecee-2f69-49a7-944e-69be6a4a7bdc

📥 Commits

Reviewing files that changed from the base of the PR and between 0668723 and 64694db.

⛔ Files ignored due to path filters (84)
  • en/package-lock.json is excluded by !**/package-lock.json
  • package-lock.json is excluded by !**/package-lock.json
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/1.create-new-project.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/2.create-an-agent.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/3.configure-behaviour.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/4.configure-model-provider.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/4.configure-model.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/5.create-function.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/6.add-functions.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/6.create-agent-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/7.interact-with-agent.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/chat-agents/8.tracing.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-add-gcalendar-connector.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-add-gmail-connector.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-add-mcp-server.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-assistant-chat.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-cleanup-createCalendarEvent-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-cleanup-listCalendarEvents-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-cleanup-listUnreadEmails-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-cleanup-readSpecificEmail-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-confgure-createCalendarEvent-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-gcalendar-connector.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-gmail-connector.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-listCalendarEvents-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-listUnreadEmails-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-readSpecificEmail-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-configure-sendEmail-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-createCalendarEvent-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-listCalendarEvents-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-listUnreadEmails-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-readSpecificEmail-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-create-sendEmail-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-edit-mcp-server.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/external-endpoints/ai-agent-interact-mcp-server.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-create-a-graphql-resolver.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-create-a-graphql-service.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-create-a-new-integration-project.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-execute.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-implement-resolver.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/agents/inline-agents/inline-agent-return-response.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/mcp/add-more-tools.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/mcp/create-a-new-integration-project.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/mcp/create-an-mcp-service.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/mcp/define-a-tool.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/mcp/implement-tool-logic.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/natural-functions/add-return.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/call-np.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/natural-functions/configure-model.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/natural-function-view.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/natural-function.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/run-integration.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/service.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/types.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/natural-functions/update-resource.png is excluded by !**/*.png
  • wso2-integrator-docs/static/img/genai/rag/build-rag/1.create-new-service.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/10.create-llm-chat.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/11.llm-chat-logic.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/12.chat-service-logic.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/13.rag-execute.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/2.create-new-resource.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/3.create-embeddings.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/4.create-embeddings-connection.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/5.create-pinecone-connection.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/6.create-retriever-function.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/7.retriever-function-logic.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/8.augment-function-logic.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/build-rag/9.create-chat-client.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/add-a-confirmation-message.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/create-a-data-loader.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/create-a-new-integration-project.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/create-a-vector-knowledge-base.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/create-an-automation.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/ingest-data-with-vector-knowlege-base.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/load-from-the-data-loader.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/ingestion/run-the-integration.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/augment-user-query.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/call-model-provider-generate-action.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/create-a-model-provider.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/create-an-http-service.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/create-vector-knowledge-base.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/retrieve-data-from-knowledge-base.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/return-the-response-from-service-resource.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/run-the-integration.gif is excluded by !**/*.gif
  • wso2-integrator-docs/static/img/genai/rag/query/update-the-resource-method.gif is excluded by !**/*.gif
📒 Files selected for processing (46)
  • .github/workflows/pr_build_check.yaml
  • .github/workflows/pr_preview.yaml
  • .github/workflows/publish_docs.yaml
  • README.md
  • package.json
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/adding-memory-to-an-agent.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/adding-tools-to-an-agent.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/agent-configuration-options.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/ai-agent-evaluations.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/ai-agent-observability.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/creating-an-ai-agent.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/configuring-llm-providers.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/constructing-prompts.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/handling-responses.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/mcp-integration/building-agents-with-mcp-servers.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/mcp-integration/exposing-services-as-mcp-server.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/constructing-prompts.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/defining-natural-functions.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/handling-responses.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/chunking-strategies.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/configuring-embeddings.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/connecting-to-vector-database.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-query/rag-querying.md
  • wso2-integrator-docs/docs/genai/getting-started/build-your-first-ai-integration/hotel-booking-agent.md
  • wso2-integrator-docs/docs/genai/getting-started/build-your-first-ai-integration/smart-calculator-assistant.md
  • wso2-integrator-docs/docs/genai/getting-started/quick-start.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-are-tools.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-a-natural-function.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-an-ai-agent.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-an-llm.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/how-mcp-works.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/index.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/why-mcp.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-memory.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/embeddings-and-vector-databases.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/index.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/rag-ingestion.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/rag-querying.md
  • wso2-integrator-docs/docs/genai/overview.md
  • wso2-integrator-docs/docs/genai/reference/ai-governance-and-security.md
  • wso2-integrator-docs/docs/genai/reference/ballerina-copilot-setup.md
  • wso2-integrator-docs/docs/genai/reference/troubleshooting.md
  • wso2-integrator-docs/docs/genai/tutorials/customer-care-agent-mcp.md
  • wso2-integrator-docs/docs/genai/tutorials/hr-knowledge-base-agent-rag.md
  • wso2-integrator-docs/docs/genai/tutorials/it-helpdesk-chatbot.md
  • wso2-integrator-docs/docs/genai/tutorials/legal-document-qa-rag.md
💤 Files with no reviewable changes (41)
  • wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/connecting-to-vector-database.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/index.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/chunking-strategies.md
  • wso2-integrator-docs/docs/genai/overview.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-ingestion/configuring-embeddings.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/embeddings-and-vector-databases.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/configuring-llm-providers.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/rag/rag-query/rag-querying.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-an-ai-agent.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/defining-natural-functions.md
  • wso2-integrator-docs/docs/genai/reference/ballerina-copilot-setup.md
  • wso2-integrator-docs/docs/genai/tutorials/customer-care-agent-mcp.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/handling-responses.md
  • wso2-integrator-docs/docs/genai/reference/troubleshooting.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/agent-configuration-options.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-memory.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/rag-querying.md
  • wso2-integrator-docs/docs/genai/tutorials/legal-document-qa-rag.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/handling-responses.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/mcp-integration/building-agents-with-mcp-servers.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-a-natural-function.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/direct-llm-calls/constructing-prompts.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/how-mcp-works.md
  • wso2-integrator-docs/docs/genai/reference/ai-governance-and-security.md
  • wso2-integrator-docs/docs/genai/tutorials/it-helpdesk-chatbot.md
  • wso2-integrator-docs/docs/genai/getting-started/build-your-first-ai-integration/smart-calculator-assistant.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/creating-an-ai-agent.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/ai-agent-evaluations.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-mcp/why-mcp.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/adding-memory-to-an-agent.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/rag-ingestion.md
  • wso2-integrator-docs/docs/genai/getting-started/quick-start.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-are-tools.md
  • wso2-integrator-docs/docs/genai/tutorials/hr-knowledge-base-agent-rag.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-an-llm.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/natural-functions/constructing-prompts.md
  • wso2-integrator-docs/docs/genai/getting-started/build-your-first-ai-integration/hotel-booking-agent.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/ai-agent-observability.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/ai-agents/adding-tools-to-an-agent.md
  • wso2-integrator-docs/docs/genai/key-concepts/what-is-rag/index.md
  • wso2-integrator-docs/docs/genai/build-ai-applications/mcp-integration/exposing-services-as-mcp-server.md

@NipunaRanasinghe
Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 19, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@samithkavishke samithkavishke merged commit 1b9ff9f into wso2:main May 19, 2026
3 checks passed
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.

2 participants