AI-Assistant is a command-line tool designed to integrate with the LocalAI API. It offers a text-based interface for AI-driven conversation and code completion features.
- TUI Interface: Simplified interaction with the LocalAI API through a text interface.
- Chat Mode: Retrieve AI-generated conversational responses.
- Completion Mode: Access AI-enhanced code completions.
- Autostart LocalAI: Automatic startup without the need for manual server interactions.
To initiate the AI-Assistant:
./ai-assistant
Navigation:
- Use arrow keys,
j
, andk
for navigation. - Select options with the
Enter
key.
Available Options:
- Chat: Engage in an AI-generated conversation.
- Completion: Receive code suggestions.
- Exit: Terminate the application and the associated LocalAI server.
To further develop or customize AI-Assistant:
- Clone the repository:
git clone https://github.com/yourusername/ai-assistant.git
- Adhere to Go's development standards for an optimal development experience. Contributions in the form of PRs and issues are always welcome.
- Fork the repository.
- Create a new branch (
git checkout -b feature/NewFeature
). - Commit your changes (
git commit -m 'Add NewFeature'
). - Push the branch (
git push origin feature/NewFeature
). - Submit a pull request.
AI-Assistant is licensed under the MIT License. Refer to the LICENSE file for more details.
- LocalAI for their on-premise AI solutions.
- OpenAI for their advancements in AI technology.
Feedback and issues are appreciated. Feel free to customize as needed.