@nomyx/assistant v2.2.6
AI Assistant
This project implements a conversational AI interpreter / chatbot assistant using Node.js. It allows you to control your machine and execute scripts through natural language commands.
Overview
The bot uses OpenAI's GPT-4 API to understand text requests and translate them into executable bash, Python, or Node.js scripts.
Key features:
- Natural language understanding
- Converts requests to code
- Executes scripts on your system
- CLI for conversing with bot
Refer to the tutorial article for a full guide on how this bot is built and how the components fit together.
Getting Started
Prerequisites
You'll need:
- Node.js installed
- NPM modules:
axios
,shelljs
,cardinal
,python-shell
,marked
- OpenAI API key
Installation
- Clone this repo:
git clone https://github.com/nomyx-io/ai-assistant.git
- Navigate into the project:
cd chatbot-assistant
- Install dependencies:
npm install
- Create a
.env
file with your OpenAI key:
OPENAI_API_KEY=YOUR_KEY_HERE
Usage
const assistant =
> List all PNG files ordered by size
> Install package tensorflow
Refer to the article for more details.
Customizing
See the Now It's Your Turn section of the tutorial for enhancement ideas like:
- Output formatting
- Authentication
- Visual interface
- Expanding capabilities
Contributions welcome!
License
This project is open source and available under the MIT License.
0x32cd51e798b475835111a3466ed6d1e5af7228b77a9a116ebbe6701b2125e999
27 days ago
30 days ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago