Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silveirinhajuan/juanprime
I need help to improve my model and database. JuanPrime is a machine learning project built with PyTorch, focusing on creating a Discord bot. It utilizes natural language processing techniques to provide interactive bot functionalities within the Discord platform.
https://github.com/silveirinhajuan/juanprime
discord discord-bot discord-py machine-learning machine-learning-algorithms nlp nlp-machine-learning nltk nltk-library nltk-python numpy python pytorch
Last synced: 1 day ago
JSON representation
I need help to improve my model and database. JuanPrime is a machine learning project built with PyTorch, focusing on creating a Discord bot. It utilizes natural language processing techniques to provide interactive bot functionalities within the Discord platform.
- Host: GitHub
- URL: https://github.com/silveirinhajuan/juanprime
- Owner: silveirinhajuan
- License: mit
- Created: 2023-07-07T03:11:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-14T01:02:25.000Z (over 1 year ago)
- Last Synced: 2024-12-19T20:13:13.533Z (about 2 months ago)
- Topics: discord, discord-bot, discord-py, machine-learning, machine-learning-algorithms, nlp, nlp-machine-learning, nltk, nltk-library, nltk-python, numpy, python, pytorch
- Language: Python
- Homepage:
- Size: 686 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🧠Juan Prime🤖
Description |
Features |
Prerequisites |
API |
License[![GitHub license](https://img.shields.io/github/license/silveirinhajuan/juanprime)](https://github.com/silveirinhajuan/juanprime/blob/362b3dc497b782fcba275f46e57c235fe32c20f3/LICENSE)
[![GitHub stars](https://img.shields.io/github/stars/silveirinhajuan/juanprime)](https://github.com/silveirinhajuan/juanprime/stargazers)
![]()
## 📋 Description
JuanPrime is a machine learning project built with PyTorch, focusing on creating a Discord bot. It utilizes natural language processing techniques to provide interactive bot functionalities within the Discord platform.
## ✅ Features
- Timeout Discord
- On Discord answer only when called
- Created API
- API hosted on render## ⚙ Prerequisites
Before getting started, ensure that you have the following dependencies installed:
```
- discord.py==2.3.1
- nltk==3.8.1
- numpy==1.24.3
- torch~=2.0.1
```
## 💻 InstallationFollow the steps below to install and run JuanPrime:
1. Clone the repository:
```bash
git clone https://www.github.com/silveirinhajuan/juanprime.git
```
2. Navigate to the project directory:```bash
cd juanprime
```3. Install the dependencies:
```bash
pip install -r requirements.txt
```4. Run the project:
```bash
python main.py
```## 🌐 API
Follow the steps below to consume API.
1. Ensure that you have an internet connection and a client application capable of making HTTP requests.2. Make a POST request to the API endpoint `https://api-ai.onrender.com/response_msg` using your preferred method or tool (e.g., cURL, Postman, or a programming language).
3. Set the following headers in your request:
- `Content-Type: application/json`4. In the request body, provide the message data in JSON format. The JSON should contain a single key-value pair, where the key is `"text"` and the value is the message you want to send to your AI. For example:
```json
{
"text": "Hello, AI!"
}
```5. Send the POST request to the API endpoint.
6. The API will process your request and return a response. The response will be in JSON format and will contain a key `"response"` with the corresponding value as the response generated by your AI. For example:
```json
{
"response": "your response"
}
```## 👩💻 How to Contribute
Contributions are always welcome! To contribute to JuanPrime, follow these steps:
1. Fork the project
2. Create a new branch for your feature: `git checkout -b my-feature`
3. Commit your changes: `git commit -m 'Adding a new feature'`
4. Push to the branch: `git push origin my-feature`
5. Open a pull request
## :memo: License
This project is licensed under the [MIT License](https://github.com/silveirinhajuan/juanprime/blob/362b3dc497b782fcba275f46e57c235fe32c20f3/LICENSE).
## Contact- Email: [email protected]
- GitHub: [silveirinhajuan](https://github.com/silveirinhajuan)
- LinkedIn: [silveirinhajuan](https://br.linkedin.com/in/silveirinhajuan)---
Made with ♥ by Juan Guerra :wave: [Access my LinkedIn!](https://www.linkedin.com/in/silveirinhajuan/)