ciocan/langchain-chat-with-documents
소개
Chat with documents (pdf, docx, txt) using ChatGPT and Langchain
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalChat with documents using LLM
This is a Bellingcat hackathon submission
Team Members
Radu Ciocan - code
Ana State - design
Tool Description
A chat interface that allows users to upload PDF/DOCX documents and and chat with them using ChatGPT as the large language model.
https://user-images.githubusercontent.com/4984377/233852126-6828f7b6-cfc3-485c-a893-c2ce9e6b345f.mp4
Installation
- Make sure you ave installed Node v18 or later
- Download the tool's repository using the command:
git clone [email protected]:ciocan/langchain-chat-with-documents.git
- Move to the tool's directory and install the tool
cd langchain-chat-with-documents
npm install
- Copy the .env.example into .env file and add the following variables:
WEAVIATE_HOST= # do not use https:// just the domain like bellingcat-xxx.weaviate.network
WEAVIATE_API_KEY=
# cloudflare r2
CLOUDFLARE_ACCOUNT_ID=
CLOUDFLARE_SECRET_KEY=
CLOUDFLARE_SECRET_ACCESS_KEY=
# open ai key
OPENAI_API_KEY=
Weaviate is an open source vector database where the documents are vectorized and indexed. You can install it locally or use their free cloud.
Cloudflare R2 is a object storage solution compatible with AWS S3. They have a free tier of 10gb. More info
Signup for an OpenAI API key here
- Start the tool
npm run dev
Tech Stack
This is a T3 Stack project bootstrapped with create-t3-app.
Additional libraries:
- Zustand - Used for state management
- Mantine UI - Used for awesome UI components
- LangChain - Used for interacting with the LLM model (OpenAI)
High Level Architecture

관련 프로젝트 살펴보기
불러오는 중…