Skip to content

This is a chatbot that is able to chat with multiple files uploaded

Notifications You must be signed in to change notification settings

josep562/Chatbot-for-PDFs-csv-json-txt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Dialogflow File Search

This Node.js project integrates with Google's Dialogflow API to handle chat requests and perform search operations in various file types including PDF, CSV, JSON and TXT files.

Features

  • File upload functionality with multer.
  • File processing and text extraction for PDF, CSV, JSON, and TXT files.
  • Natural Language Processing through Dialogflow for understanding user chat requests.
  • Search functionality in file contents based on the detected intent.

Setup
Clone the repository to your local machine.

Install the required npm modules by running the following command in your terminal:
- npm install

Replace the placeholder values in the code with your actual Dialogflow projectId, privateKey path, and client_email.

Run the application:
- node app.js

Usage
Make a POST request to /chat endpoint with a file and a message in the body of the request.

About

This is a chatbot that is able to chat with multiple files uploaded

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published