Skip to main content

Various llm agents (agent_chat, agent_tr, agent_ref, agent_imp, agent_comb) for translation

Project description

lmtr-agents

pytestpythonCode style: blackLicense: MITPyPI version

Various llm agents (agent_tr, agent_ref, agent_imp, agent_comb, agent_comb, agent_comb_imp, agent_comb_imp1) for translation

Intro

Heavily based on the templates of Andrew Ng's translation agent, intended for use in https://llmtool.dattw.eu.org 's last boxes.

Install it

pip install lmtr-agents

Use it

Example .env

LLM_MODEL=gpt-4o-mini  # or gpt-3.5-turbo
LLM_BASE_URL=https://openrouter.ai/api/v1
LLM_API_KEY=sk-or-v1-...
from lmtr_agents import agent_tr, agent_ref, agent_imp, agent_comb, agent_comb, agent_comb_imp, agent_comb_imp1

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

lmtr_agents-0.1.0a1.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

lmtr_agents-0.1.0a1-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

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