Skip to content

HSodhani/TechBot.ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TechBot.ai

TechBot.ai is a responsive and interactive AI-driven chat interface built with Streamlit and powered by OpenAI's GPT-3.5 Turbo model. It offers users the capability to engage in a dynamic conversation, manage conversation history, and execute special commands to generate detailed step-by-step guides on specified topics.

Key Features

  • Interactive Chat Interface: Allows users to interact through a simple text input to receive detailed and context-aware responses.
  • Session State Management: Tracks and manages user conversations within the session, enabling features like saving and reloading conversations.
  • Special Command Detection: Detects and processes specific commands to generate structured content such as step-by-step guides on user-requested topics.
  • Conversation Management: Provides tools to save, load, and delete conversations, giving users control over their chat histories.

System Requirements

  • Python 3.x
  • Streamlit
  • OpenAI Python Client
  • Regular Expressions (re)

Installation

To setup the OpenAI API key

Paste the OpenAI API key in the .streamlit/secrets.toml file before running the code

To set up TechBot.ai, follow these steps:

  • Clone the repository:

git clone https://github.com/HSodhani/TechBot.ai

  • Install the required dependencies:

pip install streamlit openai

Usage

To run TechBot.ai, navigate to the project directory and run the following command in your terminal:

streamlit run main.py

How to Interact with the ChatBot

  • Starting a New Conversation: Simply type your question or command in the provided text area and hit 'Send'.
  • Managing Conversations: Use the sidebar to save, load, or delete conversations. Conversations can be named for easy retrieval.
  • Generating Guides: To generate a step-by-step guide, type your request in the format: "generate a step by step guide on [topic]".

Youtube Link:

https://youtu.be/nwieVZLAeAM

Development

Developers can extend this project by adding more specialized commands, improving the AI's response accuracy, or integrating additional AI models.

Contributing

Contributions are welcome! Please fork the repository and submit pull requests with your enhancements.

About TechBot.ai

TechBot.ai leverages advanced AI techniques to provide insightful and actionable responses, aiming to enhance user experience through technology. It's a versatile tool for anyone looking to explore AI capabilities in conversation management.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages