Software Alternatives, Accelerators & Startups

Using GPT for natural language querying

Vega-Lite Vega Visualization Grammar
  1. High-level grammar of interactive graphics
    Pricing:
    • Open Source
    ## **Follow-up use case - building a query in a query language that the user may not know** This feature is useful when a user needs to query a tool with its own specific query language or with a structure that the user doesnโ€™t know. AWS seems to be running an A/B test of a feature where you can generate a CloudWatch search query based on a natural language input. ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u5pj1782uiunrrjfafn4.png) **Use case - data visualization** Interesting use case - you allow users to pull report data (by e.g. Querying an ElasticSearch index or a database). This is often combined with visualizing the data. Could we allow the user to also define how theyโ€™d like the data presented? Letโ€™s say a manager needs a pie chart for their PowerPoint presentation. Fortunately, thereโ€™s a tool called [Vega](https://vega.github.io/vega/) which is a visualization grammar that allows you to define graphs using a JSON schema. It also comes with [Vega-Lite](https://vega.github.io/vega-lite/), which allows us to easily render these charts using JavaScript. Thereโ€™s also an [interactive playground](https://vega.github.io/editor/#/examples/vega-lite/) that we can use for testing our diagrams. Letโ€™s take [a sample CSV file from Vega-Liteโ€™s demo](https://vega.github.io/editor/data/stocks.csv) that contains the stock prices history of a few tech companies. It will be easy for us to reference it on the playground. The file is a regular CSV that contains a few columns:.

    #Productivity #AI #Marketing 25 social mentions

  2. Visualization grammar for creating, saving, and sharing interactive visualization designs
    Pricing:
    • Open Source
    ## **Follow-up use case - building a query in a query language that the user may not know** This feature is useful when a user needs to query a tool with its own specific query language or with a structure that the user doesnโ€™t know. AWS seems to be running an A/B test of a feature where you can generate a CloudWatch search query based on a natural language input. ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u5pj1782uiunrrjfafn4.png) **Use case - data visualization** Interesting use case - you allow users to pull report data (by e.g. Querying an ElasticSearch index or a database). This is often combined with visualizing the data. Could we allow the user to also define how theyโ€™d like the data presented? Letโ€™s say a manager needs a pie chart for their PowerPoint presentation. Fortunately, thereโ€™s a tool called [Vega](https://vega.github.io/vega/) which is a visualization grammar that allows you to define graphs using a JSON schema. It also comes with [Vega-Lite](https://vega.github.io/vega-lite/), which allows us to easily render these charts using JavaScript. Thereโ€™s also an [interactive playground](https://vega.github.io/editor/#/examples/vega-lite/) that we can use for testing our diagrams. Letโ€™s take [a sample CSV file from Vega-Liteโ€™s demo](https://vega.github.io/editor/data/stocks.csv) that contains the stock prices history of a few tech companies. It will be easy for us to reference it on the playground. The file is a regular CSV that contains a few columns:.

    #Data Visualization #Data Dashboard #Javascript UI Libraries 15 social mentions

Discuss: Using GPT for natural language querying

Log in or Post with