TUI chatbot in Rust w/ Gemini
|
|
||
|---|---|---|
| .github/workflows | ||
| archive | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| .travis.yml | ||
| Cargo.toml | ||
| config.toml | ||
| LICENSE.md | ||
| README.md | ||
| rustfmt.toml | ||
| TODO.md | ||
😐 UNOPENED AI
A terminal-based chatbot written in Rust using Gemini & OpenAI, and the ratatui crate for the front-end,
Requires:
- Rust 2021 or greater https://rustup.rs/
or run
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh - Gemini Pro API key https://aistudio.google.com/app/apikey
- OpenAI API key To start:
git clone https://github.com/waynemaranga/unopened_ai.git
cd unopened_ai
cp -v .env.example .env
Add your Google API Key to the .env file
...then build the project to install dependencies:
cargo build -j 4 # install dependencies
cargo run # run the app
©️ 2024, Wayne Maranga
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at LICENSE
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.