-
Notifications
You must be signed in to change notification settings - Fork 41
Update Inline Agent Documentation with latest UI changes #211
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
base: main
Are you sure you want to change the base?
Conversation
WalkthroughDocumentation updates to reflect UI terminology changes, workflow modifications, and new visual guides. Changes include updated field labels (e.g., "Base path" and "Port"), resolver construction flow shifts from "Statement → Agent" to "AI section → Agent," and replacement of illustrations with updated GIFs. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
en/docs/integration-guides/ai/agents/introduction-to-inline-agents.md (2)
42-44: Reduce repetitive sentence starters in Step 4.Lines 42–44 begin three consecutive sentences with "Click," reducing readability and flow. Consider restructuring to vary the starters.
🔎 Proposed revision
1. Click the created `task` operation in the side panel to navigate to the resolver editor view. 2. In the flow, click the **+** button to open the side panel. 3. Under the **AI** section, select **Agent**, which navigates you to the agent creation panel.
40-57: Step 4 numbering is unconventional; clarify the flow structure.The step structure (numbered 1–7, then a GIF, then 8–10) is atypical. While the intent is clear (showing resolver configuration in two stages), consider adding a transitional phrase or subheading to make it explicit that the GIF at line 50 captures steps 1–7, and steps 8–10 continue the configuration.
For example:
... 7. Click **Save**. *The following animation illustrates steps 1–7 above:* [GIF at line 50] 8. Next, configure the agent's memory...This improves clarity for readers following the steps linearly.
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (5)
en/docs/assets/img/integration-guides/ai/agents/introduction-to-inline-agents/inline-agent-create-a-graphql-resolver.gifis excluded by!**/*.gifen/docs/assets/img/integration-guides/ai/agents/introduction-to-inline-agents/inline-agent-create-a-graphql-service.gifis excluded by!**/*.gifen/docs/assets/img/integration-guides/ai/agents/introduction-to-inline-agents/inline-agent-create-a-new-integration-project.gifis excluded by!**/*.gifen/docs/assets/img/integration-guides/ai/agents/introduction-to-inline-agents/inline-agent-implement-resolver.gifis excluded by!**/*.gifen/docs/assets/img/integration-guides/ai/agents/introduction-to-inline-agents/inline-agent-return-response.gifis excluded by!**/*.gif
📒 Files selected for processing (1)
en/docs/integration-guides/ai/agents/introduction-to-inline-agents.md
🧰 Additional context used
🪛 LanguageTool
en/docs/integration-guides/ai/agents/introduction-to-inline-agents.md
[style] ~44-~44: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... in the flow to open the side panel. 3. Click Agent under the AI section, whi...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
🔇 Additional comments (1)
en/docs/integration-guides/ai/agents/introduction-to-inline-agents.md (1)
11-57: Documentation updates align well with PR objectives.The terminology and workflow changes reflect the latest UI accurately:
- Correct field labels ("Base path" and "Port" instead of older names)
- Accurate workflow shift to "AI section → Agent"
- Proper handling of expression-mode input for the Query field
- Updated GIF assets matching the new flow
The documentation effectively communicates how inline agents integrate with GraphQL resolvers.
Purpose
Resolves wso2/product-ballerina-integrator#2161
This PR updates the Inline Agent Documentation in https://bi.docs.wso2.com/integration-guides/ai/agents/introduction-to-inline-agents/ to include screenshots/gifs with the latest UI changes.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.