Skip to content

An AI generate text for terminal using OpenAI API and Rust programming language. Deliver intelligent and context-aware responses, optimized for efficient command-line interactions

Notifications You must be signed in to change notification settings

nathannewyen/rust-openai-chatbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Project

This is a simple Rust project by Nathan Nguyen.

Description

This project is a chatbot assistant built in Rust. It uses the OpenAI API to interact with the user and perform various tasks. The chatbot is capable of uploading files, refreshing conversations, and interacting with the user in a conversational manner. The project is structured in a modular way, with separate modules for handling different aspects of the chatbot's functionality.

Getting Started

Dependencies

  • Ensure you have Rust and Cargo installed on your machine. If not, you can download them from here.

Installing

  • Clone the repository to your local machine using git clone <repository-url>.
  • Navigate to the project directory using cd <project-directory>.

Executing program

  • Build the project using cargo build.
  • Run the project using cargo run.

Help

The chatbot supports the following commands:

  • /q: Quit the chatbot.
  • /r or /ra: Refresh all components of the chatbot.
  • /ri: Refresh the chatbot's instance.
  • /rf: Refresh the chatbot's files.
  • /rc: Refresh the chatbot's conversation.

You can also chat with the chatbot by typing any message and pressing enter.

Authors

Contributions are welcome. Please feel free to open an issue or submit a pull request if you have any improvements or features you'd like to add.

Version History

  • 0.1
    • Initial Release

License

This project is licensed under the MIT License.

example-ai-chatbox-ezgif com-video-to-gif-converter

About

An AI generate text for terminal using OpenAI API and Rust programming language. Deliver intelligent and context-aware responses, optimized for efficient command-line interactions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages