Skip to content

xrysamuel/PlotAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plotting AI Agent

1. Getting Started

Welcome to the Plotting AI Agent project! This README will guide you through the setup process and provide essential information to help you get started.

Environment Setup

To set up your development environment, follow these steps:

  1. Create a New Conda Environment:

    conda create -n agent python=3.12
    conda activate agent

We recommend using Conda to manage your Python environments, but you can skip this step and use your system Python if you prefer.

  1. Install Required Packages:

    Make sure you have the necessary libraries by installing from the requirements.txt file.

    pip install -r requirements.txt
  2. Configure the dependencies for the Docker sandbox:

    cd sandbox
    mkdir workspace
    bash setup.sh .

The Docker sandbox is used to execute code from the LLM, optional.

Configuration

Before running the application, you need to create a .env file to store your configuration variables:

  1. Create a .env file:

    touch .env
  2. Add the following environment variables to the .env file:

    MODEL_NAME=qwen-max
    BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
    OPENAI_API_KEY=sk-xxx
    

    Replace sk-xxx with your actual OpenAI API key.

Running the Application

Once your environment is set up and configured, you can start the application with the following command:

python plot_agent.py

Usage

After running the application, you can interact with the AI agent to create plots and visualize data.

2. Contact

For questions or suggestions, feel free to reach out via xrysamuel (at) 163 (dot) com.


Thank you for your interest in the Plotting AI Agent! We hope you find it useful.

About

Plotting AI Agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published