Skip to content

update readme with Wren AI API#1604

Merged
wwwy3y3 merged 2 commits into
mainfrom
readme/api
Apr 25, 2025
Merged

update readme with Wren AI API#1604
wwwy3y3 merged 2 commits into
mainfrom
readme/api

Conversation

@chilijung
Copy link
Copy Markdown
Member

@chilijung chilijung commented Apr 25, 2025

Summary by CodeRabbit

  • Documentation
    • Updated the README to highlight new API-based AI features, including embedding SQL and chart generation via the Wren AI API.
    • Replaced the export/visualization section with information on API integration and monitoring.
    • Updated images and added a link to full API documentation.
    • Added a new subsection emphasizing embedded AI capabilities in user applications.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 25, 2025

Walkthrough

The README documentation was updated to highlight new features related to the Wren AI API. The previous section about exporting and visualizing data was replaced with information about embedding AI-powered SQL and chart generation directly into user applications via the Wren AI API. The update also introduced a new subsection under the "Why Wren AI?" section, emphasizing the capability to build AI agents and applications using the API. Visual assets and links were updated to reflect these changes.

Changes

File(s) Change Summary
README.md Replaced the export/visualization section with details about embedding AI via the Wren AI API, updated screenshots, added API documentation link, and introduced a new subsection about embedded AI capabilities.

Poem

In README fields where features grow,
A new API now steals the show!
With charts and SQL at your command,
Wren AI’s powers close at hand.
Embed, explore, let insights fly—
The docs refreshed, so give it a try!
🐇✨

Suggested labels

wren-ai-service


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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@chilijung chilijung requested a review from wwwy3y3 April 25, 2025 15:16
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.

Actionable comments posted: 0

🧹 Nitpick comments (1)
README.md (1)

129-138: Improve accessibility and punctuation consistency
The API documentation image at line 134 lacks an alt attribute, which is flagged by markdownlint (MD045). Additionally, the link text on line 137 should end with a period for consistency.

Proposed diff:

- <img src="./misc/API_doc.png" style="max-width: 700px"/>
+ <img alt="Screenshot of Wren AI API documentation" src="./misc/API_doc.png" style="max-width: 700px"/>

- Check out the [full API documentation here](https://wrenai.readme.io/reference/welcome)
+ Check out the [full API documentation here](https://wrenai.readme.io/reference/welcome).
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

134-134: Images should have alternate text (alt text)
null

(MD045, no-alt-text)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 437d45c and 1079ea7.

⛔ Files ignored due to path filters (1)
  • misc/API_doc.png is excluded by !**/*.png
📒 Files selected for processing (1)
  • README.md (2 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
README.md

134-134: Images should have alternate text (alt text)
null

(MD045, no-alt-text)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (go)
🔇 Additional comments (1)
README.md (1)

155-158: New "4. Embedded AI with Wren AI API" section is clear
The added subsection succinctly highlights building custom AI agents with the Wren AI API. No issues found.

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.

Actionable comments posted: 1

🧹 Nitpick comments (1)
README.md (1)

34-34: Add Oxford comma in feature list
To improve readability and maintain consistency with the Oxford comma style used elsewhere, please add a comma before "and embedded AI."

- > Open-source GenBI AI Agent that empowers data-driven teams to chat with their data to generate Text-to-SQL, charts, spreadsheets, reports, BI and embedded AI. 
+ > Open-source GenBI AI Agent that empowers data-driven teams to chat with their data to generate Text-to-SQL, charts, spreadsheets, reports, BI, and embedded AI.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1079ea7 and 7105939.

📒 Files selected for processing (1)
  • README.md (3 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
README.md

134-134: Images should have alternate text (alt text)
null

(MD045, no-alt-text)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: Analyze (go)
🔇 Additional comments (2)
README.md (2)

129-133: Review new "Embedded AI-Powered SQL and Charts" section
The new heading and descriptive blockquote (lines 129–133) clearly outline the API-powered SQL and chart capabilities. Please ensure that numbering (“7.”) aligns with the feature list above. Otherwise, the content is spot-on.


155-158: Approve "Embedded AI with Wren AI API" under Why Wren AI?
The added subsection (lines 155–158) integrates smoothly with the “Why Wren AI?” section, succinctly highlighting how developers can leverage the API for GenBI agents. Formatting and tone match the existing points.

Comment thread README.md

<p align="center">
<img src="./misc/wren-excel.png" style="max-width: 700px"/>
<img src="./misc/API_doc.png" style="max-width: 700px"/>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Add alt text to API documentation image
The <img> tag at line 134 is missing an alt attribute, which impacts accessibility. Please include a concise, descriptive alt text.

- <img src="./misc/API_doc.png" style="max-width: 700px"/>
+ <img src="./misc/API_doc.png" alt="Screenshot of Wren AI API documentation" style="max-width: 700px"/>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<img src="./misc/API_doc.png" style="max-width: 700px"/>
<img src="./misc/API_doc.png" alt="Screenshot of Wren AI API documentation" style="max-width: 700px"/>
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

134-134: Images should have alternate text (alt text)
null

(MD045, no-alt-text)

@wwwy3y3 wwwy3y3 merged commit d028674 into main Apr 25, 2025
9 checks passed
@wwwy3y3 wwwy3y3 deleted the readme/api branch April 25, 2025 15:28
@coderabbitai coderabbitai Bot mentioned this pull request Jul 8, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Sep 23, 2025
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