Giter VIP home page Giter VIP logo

my-open-stack's Introduction

Ask Your Stack - have ChatGPT query the docs of your stack

We have crawled and loaded in Xata the docs from several projects. Select your stack, ask a question and ChatGPT will query the docs of your stack and return the best answer.

Deployed at: https://ask-your-stack.vercel.app/

How it works

The app uses Xata AI to query ChatGPT with context from the up-to-date docs. This provides more recent information and reduces hallucinations. It uses this high-level algorithm:

  • Pass the question to ChatGPT and ask it to provide keywords
  • Use the Xata search functionality to retrieve the most relevant docs
  • Form a prompt using this context and the question and pass it to ChatGPT

This blog post provides more details on the general approach.

Development

If you want to deploy this application, start by creating a Xata database and crawling the data by running the instructions from xata-crawler.

Install Project Dependencies

npm install

Setup environment variables

Connect to your Xata database by running:

xata init

and selecting the database that you have created.

Start the app

npm run dev

By default the app runs on localhost:3000

my-open-stack's People

Contributors

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