Skip to content
/ RestGPT Public
forked from Yifan-Song793/RestGPT

An LLM-based autonomous agent controlling real-world applications via RESTful APIs

License

Notifications You must be signed in to change notification settings

pidb/RestGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RestGPT

RestGPT: An LLM-Based Autonomous Agent Controlling Real-World Applications via RESTful APIs

The data of our proposed RestBench is in datasets folder.

Setup

pip install langchain colorama tiktoken spotipy openai

create logs folder

Get OpenAI key from OpenAI, TMDB key from https://developer.themoviedb.org/docs/getting-started, and Spotify key from https://developer.spotify.com/documentation/web-api

Fill in your own key in config.yaml

(Optional) Initialize the Spotify Environment

WARNING: this will remove all your data from spotify!

python init_spotify.py

Run

# TMDB
python run_tmdb.py

# Spotify,please open the Spotify on your device
python run_spotify.py

The log file will be in the logs folder

About

An LLM-based autonomous agent controlling real-world applications via RESTful APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%