AI prompts
base on DarkGPT is an OSINT assistant based on GPT-4-200K (recommended use) designed to perform queries on leaked databases, thus providing an artificial intelligence assistant that can be useful in your traditional OSINT processes. ![Descripción de la imagen](https://i.imgur.com/bYW6pai.jpg)
# Installation Guide for the DarkGPT Project
Welcome to DarkGPT! DarkGPT is your friendly artificial intelligence assistant powered by GPT-4-200K, specially designed to help you perform insightful queries on leaked databases. Whether you're setting it up for personal use or within a team, this guide will walk you through the steps to get DarkGPT up and running on your local machine.
## Prerequisites
Before we dive in, ensure you have the following:
- **Python Installed**: Make sure Python 3.8 or a newer version is installed on your system. You can download it from the [official Python website](https://www.python.org/downloads/).
## Environment Setup
Let's set up your development environment step by step.
### 1. Clone the Repository
First, you'll need to copy the DarkGPT repository to your local machine. Open your terminal and run:
```shell
git clone https://github.com/luijait/DarkGPT.git
cd DarkGPT
```
### 2. Set Up a Virtual Environment
Creating a virtual environment helps manage dependencies and keeps your project isolated. Here's how to set it up:
- **Create the Virtual Environment**
```shell
python3 -m venv venv
```
- **Activate the Virtual Environment**
- On **Windows**:
```shell
venv\Scripts\activate
```
- On **macOS and Linux**:
```shell
source venv/bin/activate
```
Once activated, your terminal prompt will change to indicate that you're working inside the virtual environment.
### 3. Configure Environment Variables
DarkGPT requires certain environment variables to function correctly. Follow these steps:
1. **Copy the Example Configuration**
```shell
cp .example.env .env
```
2. **Edit the `.env` File**
Open the `.env` file in your favorite text editor and fill in your credentials:
```env
DEHASHED_API_KEY="your_dehashed_api_key_here"
DEHASHED_USERNAME="your_dehashed_username"
OPENAI_API_KEY="your_openai_api_key_here"
GPT_MODEL_NAME="gpt-4o-mini"
```
- **DeHashed API Key**: Instructions to obtain your DeHashed API key are provided below.
- **OpenAI API Key**: Instructions to obtain your OpenAI API key are provided below.
### 4. Install Dependencies
With your virtual environment activated and environment variables configured, install the necessary Python packages:
```shell
pip install -r requirements.txt
```
### 5. Run the Project
Everything is set! Start DarkGPT by running:
```shell
python3 main.py
```
## Obtaining API Keys
### DeHashed API Key
1. **Sign Up or Log In**: Visit the [DeHashed website](https://www.dehashed.com/). If you don't have an account, sign up. Otherwise, log in.
2. **Subscribe to a Plan**: DeHashed offers various subscription plans. Choose one that suits your needs and complete the subscription process.
3. **Retrieve Your API Key**: After subscribing, navigate to your account settings or dashboard to find your API key under the "API" section. If you encounter any issues, refer to DeHashed's support or documentation.
4. **Keep It Secure**: Your API key grants access to your DeHashed account. **Never share it publicly** or expose it in any public code repositories.
### OpenAI API Key
1. **Sign Up or Log In**: Go to the [OpenAI website](https://openai.com/) and create an account or log in if you already have one.
2. **Access the API Key**: Once logged in, navigate to your account dashboard and find the section for API keys or developer settings to obtain your key.
3. **Understand Usage and Billing**: Familiarize yourself with OpenAI's usage limits and billing policies to manage costs effectively. Monitor your API usage regularly to avoid unexpected charges.
4. **Maintain Security**: Just like your DeHashed API key, **keep your OpenAI API key confidential**. Do not expose it in public repositories or share it with unauthorized individuals.
## General Tips for Managing API Keys
- **Use Environment Variables**: Storing API keys in environment variables enhances security and flexibility. Avoid hard-coding them into your scripts.
- **Update `.gitignore`**: Ensure that your `.env` file is listed in your `.gitignore` to prevent accidental uploads to public repositories.
- **Consult Official Documentation**: Always refer to the official documentation of the API providers for the most accurate and up-to-date instructions on managing your keys.
By following this guide, you'll have DarkGPT set up securely and efficiently, ready to assist you in your OSINT and information gathering endeavors!
", Assign "at most 3 tags" to the expected json: {"id":"8564","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"