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(wren-ai-service):text2chart #679

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open

Conversation

cyyeh
Copy link
Member

@cyyeh cyyeh commented Sep 24, 2024

api spec

  • POST: /v1/charts
  • input
{
  "query": <str>  // user's question
  "summary": <str> // sql summary
  "sql": <str> // sql query
}
  • output
{
  "query_id": <str>
}
  • PATCH: /v1/charts/{query_id}
  • input
{
  "status": "stopped"
}
  • output
{
   "query_id": <str>
}
  • GET: /v1/charts/{query_id}
  • output
{
  "status": "understanding" | "generating" | "finished" | "failed" | "stopped",
  "response": <str> (optional)  // vega-lite schema
  "error": (optional) {
    "code": "OTHERS",
    "message": <str>
  }
}

@cyyeh cyyeh added module/ai-service ai-service related ci/ai-service ai-service related labels Sep 24, 2024
@cyyeh cyyeh force-pushed the feat/ai-service/text-2-chart branch 5 times, most recently from 7c77f5e to 63af7f9 Compare October 1, 2024 06:12
@cyyeh cyyeh force-pushed the feat/ai-service/text-2-chart branch 6 times, most recently from 4b98212 to 980f13c Compare October 9, 2024 02:58
@cyyeh cyyeh force-pushed the feat/ai-service/text-2-chart branch 3 times, most recently from 5319457 to 756851f Compare October 22, 2024 04:12
@cyyeh cyyeh force-pushed the feat/ai-service/text-2-chart branch from 756851f to 72e2d94 Compare October 29, 2024 09:38
@MGomaa435
Copy link
Contributor

Hi

@cyyeh cyyeh marked this pull request as ready for review October 30, 2024 11:34
@cyyeh cyyeh force-pushed the feat/ai-service/text-2-chart branch 2 times, most recently from 4ee4306 to 6b4ff35 Compare October 31, 2024 23:42
@cyyeh cyyeh force-pushed the feat/ai-service/text-2-chart branch 3 times, most recently from a36117b to 71d65da Compare November 13, 2024 07:24
@cyyeh cyyeh force-pushed the feat/ai-service/text-2-chart branch 3 times, most recently from e66ef74 to a8ab1e6 Compare November 20, 2024 08:15
@cyyeh cyyeh force-pushed the feat/ai-service/text-2-chart branch from 5413d14 to 480c9c4 Compare November 21, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/ai-service ai-service related do-not-merge module/ai-service ai-service related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants