/chat-retrieval-ai

Projeto desenvolvido utilizando Typescript, pgvector, prisma e langchain para praticar o desenvolvimento de ferramentas baseadas em IA

Primary LanguageTypeScript

Chat Retrieval AI

Version: 1.0.0

Description

Chat Retrieval AI is a chat application designed to retrieve data and answer questions about the provided information. It leverages various technologies to handle chat interactions, data retrieval, and question-answering capabilities.

Database Setup with Docker

Docker Compose:

docker compose up -d

Usage

To Start Development Server:

npm start

To Build and Start Production Server:

npm run start:prod

To Run Tests:

npm test

To Start Development Server with Nodemon:

npm run dev

Dependencies

  • @prisma/client: ^5.6.0
  • cors: ^2.8.5
  • dotenv: ^16.3.1
  • express: ^4.18.2
  • fs-extra: ^11.1.1
  • langchain: ^0.0.195
  • multer: ^1.4.5-lts.1
  • pdf-parse: ^1.1.1
  • prisma: ^5.6.0

Development Dependencies

  • @types/cors: ^2.8.17
  • @types/express: ^4.17.21
  • @types/fs-extra: ^11.0.2
  • @types/multer: ^1.4.8
  • @types/node: ^20.9.3
  • @typescript-eslint/eslint-plugin: ^6.12.0
  • @typescript-eslint/parser: ^6.12.0
  • eslint: ^8.54.0
  • eslint-config-prettier: ^9.0.0
  • eslint-plugin-prettier: ^5.0.1
  • nodemon: ^3.0.1
  • prettier: ^3.1.0
  • ts-node: ^10.9.1
  • typescript: ^5.3.2

Contributing

Feel free to contribute to the project by opening issues or submitting pull requests.

License

This project is licensed under the ISC License.