Multi-Agent Language Game Environments for Large Language Models
Project description
Installation
pip install llm-agent==0.3.0
Need to assign the OPENAI_API_KEY, if you are trying to use openai api
export OPENAI_API_KEY=""
To assess your own large language model, follow the below instructions
from llm-agent
def chatbox(*args, **kwargs):
## define your chatbox's function and make sure it follow the GPT-3.5-turbo format with 'message', 'temperature' and 'max_tokens' paramenters.
llm_agent.run(chatbox, file_path) ## the file path refers to the path to store your results
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
llm-agent-0.3.0.tar.gz
(92.9 kB
view hashes)