Skip to content

wallinslax/langChatNextjs

Repository files navigation

Document-based Question Answering (DocQA)

This feature provides the capability to efficiently retrieve information from extensive document repositories, including legal proceedings. Sample Loaded Document: state_of_the_union.txt

Try 👉 here

  1. Try ask:

    What did the president say about Justice Breyer?
    
  2. Try ask follow up:

    Is this good?
    
  3. Try ask irrelevant question:

    Where am I?
    

Demo

GMT20230531-010647_Recording_2560x1600.mp4

Tech Stack

JavaScript Next JS OpenAI ChatGPT Vercel

Getting Started

First, run the development server:

npm install
export OPENAI_API_KEY="YOUR OPENAI KEY"
npm run dev

Open http://localhost:3000 with your browser to see the result.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published