Skip to content
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

feat: add new feature to support text to visualization #264

Merged
merged 7 commits into from
Sep 11, 2024

Conversation

ruanyl
Copy link
Member

@ruanyl ruanyl commented Aug 27, 2024

A new visualization type visualization-nlq is added to support creating visualization from natural language.

Text.to.visualization.mov

Description

[Describe what this change achieves]

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test.
  • New functionality has user manual doc added.
  • Commits are signed per the DCO using --signoff.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

A new visualization type visualization-nlq is added to support creating
visualization from natural language.

Signed-off-by: Yulong Ruan <[email protected]>
Signed-off-by: Yulong Ruan <[email protected]>
Copy link

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.46%. Comparing base (4f33fa0) to head (22891c4).
Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #264      +/-   ##
==========================================
- Coverage   90.34%   89.46%   -0.89%     
==========================================
  Files          59       60       +1     
  Lines        1575     1671      +96     
  Branches      377      407      +30     
==========================================
+ Hits         1423     1495      +72     
- Misses        150      174      +24     
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Yulong Ruan <[email protected]>
+ change the agent name of text2vega

Signed-off-by: Yulong Ruan <[email protected]>
@ruanyl ruanyl merged commit 4d60d51 into opensearch-project:main Sep 11, 2024
9 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 11, 2024
* feat: add new feature to support text to visualization

A new visualization type visualization-nlq is added to support creating
visualization from natural language.

Signed-off-by: Yulong Ruan <[email protected]>

* update text2ppl agent name to be the same as query assistant

Signed-off-by: Yulong Ruan <[email protected]>

* move savedObjects to requiredBundles

Signed-off-by: Yulong Ruan <[email protected]>

* fix: move savedVisNLQLoader to be under text2viz feature flag

Signed-off-by: Yulong Ruan <[email protected]>

* fix: CI build error

Signed-off-by: Yulong Ruan <[email protected]>

* fix build error

Signed-off-by: Yulong Ruan <[email protected]>

* feat: limit text to vega input size to 400

+ change the agent name of text2vega

Signed-off-by: Yulong Ruan <[email protected]>

---------

Signed-off-by: Yulong Ruan <[email protected]>
(cherry picked from commit 4d60d51)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
@ruanyl ruanyl removed the v2.17.0 label Sep 11, 2024
ruanyl pushed a commit that referenced this pull request Sep 12, 2024
* feat: add new feature to support text to visualization

A new visualization type visualization-nlq is added to support creating
visualization from natural language.

Signed-off-by: Yulong Ruan <[email protected]>

* update text2ppl agent name to be the same as query assistant

Signed-off-by: Yulong Ruan <[email protected]>

* move savedObjects to requiredBundles

Signed-off-by: Yulong Ruan <[email protected]>

* fix: move savedVisNLQLoader to be under text2viz feature flag

Signed-off-by: Yulong Ruan <[email protected]>

* fix: CI build error

Signed-off-by: Yulong Ruan <[email protected]>

* fix build error

Signed-off-by: Yulong Ruan <[email protected]>

* feat: limit text to vega input size to 400

+ change the agent name of text2vega

Signed-off-by: Yulong Ruan <[email protected]>

---------

Signed-off-by: Yulong Ruan <[email protected]>
(cherry picked from commit 4d60d51)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Trigger the backport flow to 2.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants