Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page