Skip to content

BookChatBot is a command line-based chatbot project designed to provide user-friendly responses related to books. It utilizes the AI21 language model to generate responses based on user inquiries and predefined document content.

Notifications You must be signed in to change notification settings

yrarjun59/ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookChatBot

BookChatBot is a command line-based chatbot project designed to provide user-friendly responses related to books. It utilizes the AI21 language model to generate responses based on user inquiries and predefined document content.

Features

  • Book Recommendations: Receive concise and engaging book recommendations across various genres.
  • Book Details: Obtain key information about specific books, including authors, genres, and brief summaries.
  • Summarization Requests: Request and receive insightful summaries or overviews of book-related content.
  • User Preferences: Tailor responses based on known user preferences from previous interactions.
  • Interactive Queries: Encourage users to interact further by asking open-ended questions for personalized recommendations.

Usage

Prerequisites Obtain an API key for the AI21 service and replace the API_KEY variable in the chat.py file.

Install the required dependencies by running:

Prerequisites

  • Obtain an API key for the AI21 service and replace the API_KEY variable in the chat.py file.

  • Install the required dependencies by running:

    pip install -r requirements.txt

Running the ChatBot

  1. Open a terminal window.
  2. Navigate to the project directory.
  3. Run the chatbot using the following command:
python chat.py
  1. Follow the prompts to interact with the BookChatBot.

Warning

This project is for testing purposes only, and the prompts are not structured optimally. You may encounter unusual responses during testing.

Guide

Feel free to use your AI21 API key. Install the required dependencies by running pip install -r requirements.txt and run the chatbot on your computer.

About

BookChatBot is a command line-based chatbot project designed to provide user-friendly responses related to books. It utilizes the AI21 language model to generate responses based on user inquiries and predefined document content.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages