Giter VIP home page Giter VIP logo

openai-example's Introduction

GOAL Initial simple Proof of concept, then we will look to build this out further with more development iterations.
FUNCTIONAL REQUIREMENTS
PSEUDO narrative

LOOP datasets dataset (x,y) pairs of data, sometimes, x,y,z Pass these to OpenAI for analysis Ask for 5 x bullet points about the data, literally 5 lines are required Ask for 1 x recommendation of Chart visualization Pass these 6 elements back to Node stack, populate Mysql table INSERT (bullettext1, bullettext2, bullettext3, bullettext4, bullettext5, chart)

EXAMPLE INPUT Manually prompting ChatGPT

You Can you provide 5 insights/observations about this dataset Labels ["January","February","March","April","May","June","July"] Datasets [{"label":"Total Sales","data":[65,59,180,181,56,55,40]}]

EXAMPLE OUTPUT

EXAMPLE2 INPUT ["January","February","March","April","May","June","July"] Data [{"label":"Total Sales","data":[65,59,80,81,56,55,40]},{"label":"Total Profit","data":[15,29,20,100,26,25,20]}]

OUTPUT ⦁ Sales and Profit Trends: Both total sales and profit exhibit a decreasing trend from January to July. ⦁ Profit Fluctuation in April: While sales peak in April, total profit experiences a significant spike. ⦁ Consistent Profit in May and June: Despite lower sales, total profit remains relatively stable during these months. ⦁ Opportunities for Profit Optimization: Analyzing sales and profit data together can identify opportunities to optimize profit margins. ⦁ Integrated Business Strategy: Businesses should consider an integrated approach to sales and profit management, recognizing the interplay between the two.

Visual Recommendation

can you recommend a visual chart to use for this. say from bar, pie, scatter or funnel? Answer: For visualizing the relationship between total sales and total profit across different months, a line chart would be a suitable choice.

openai-example's People

Contributors

he-cat-e avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.