Git Product home page Git Product logo

datagpt's Introduction

๐Ÿค– AI copilot for data analytics, data engineering, and ML science. ๐Ÿค–

๐Ÿ”— Short link ย ย โ€ขย ย  ๐Ÿฆ Twitter



DataGPT is AI copilot for data analytics, data engineering, and ML science. ๐Ÿš€.

๐ŸŽ‰ Roadmap

This platform is currently in alpha, we are currently working on:

  • Long term memory via a vector DB ๐Ÿง 
  • Web browsing capabilities via LangChain ๐ŸŒ
  • Interaction with websites and people ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ
  • Writing capabilities via a document API ๐Ÿ“„
  • Saving run sessions ๐Ÿ’พ
  • Users and authentication ๐Ÿ”

More Coming soon...

๐Ÿš€ Tech Stack

๐Ÿ‘จโ€๐Ÿš€ Getting Started

๐Ÿณ Docker Setup

The easiest way to run DataGPT locally is by using docker. A convenient setup script is provided to help you get started.

./setup.sh --docker

๐Ÿ‘ท Local Development Setup

If you wish to develop DataGPT locally, the easiest way is to use the provided setup script.

./setup.sh --local

๐Ÿ› ๏ธ Manual Setup

๐Ÿšง You will need Nodejs +18 (LTS recommended) installed.

  1. Clone the repository:
git clone [email protected]:aurorain-ai/DataGPT.git
  1. Install dependencies:
cd DataGPT
npm install
  1. Create a .env file with the following content:

๐Ÿšง The environment variables must match the following schema.

# Deployment Environment:
NODE_ENV=development

# Next Auth config:
# Generate a secret with `openssl rand -base64 32`
NEXTAUTH_SECRET=changeme
NEXTAUTH_URL=http://localhost:3000
DATABASE_URL=file:./db.sqlite

# Your open api key
OPENAI_API_KEY=changeme

# Snowflake account info
SNOWFLAKE_ACCOUNT=changeme
SNOWFLAKE_USERNAME=changeme
SNOWFLAKE_PASSWORD=changeme
SNOWFLAKE_REGION=changeme
SNOWFLAKE_WAREHOUSE=changeme
SNOWFLAKE_DATABASE=changeme
SNOWFLAKE_SCHEMA=changeme
  1. Modify prisma schema to use sqlite:
./prisma/useSqlite.sh

Note: This only needs to be done if you wish to use sqlite.

  1. Ready ๐Ÿฅณ, now run:
# Create database migrations
npx prisma db push
npm run dev:all

๐Ÿš€ GitHub Codespaces

Set up AgentGPT in the cloud immediately by using GitHub Codespaces.

  1. From the GitHub repo, click the green "Code" button and select "Codespaces".
  2. Create a new Codespace or select a previous one you've already created.
  3. Codespaces opens in a separate tab in your browser.
  4. In terminal, run bash ./setup.sh --local
  5. When prompted in terminal, add your OpenAI API key.
  6. Click "Open in browser" when the build process completes.
  • To shut AgentGPT down, enter Ctrl+C in Terminal.
  • To restart AgentGPT, run npm run dev in Terminal.

Run the project ๐Ÿฅณ

npm run dev:all

datagpt's People

Contributors

socialmobile 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.