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.0a2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

lmtr_agents-0.1.0a2-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file lmtr_agents-0.1.0a2.tar.gz.

File metadata

  • Download URL: lmtr_agents-0.1.0a2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for lmtr_agents-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 798444575e0f8636ba034d97396e3d3aa3b4a077ab2445a9f311c627823afd09
MD5 0975b7b0f7af8f56a6de5b78fe9f0ba0
BLAKE2b-256 02d83e82490933a518344592ce329bcc8ae5726dc9c362adabab89e203f38827

See more details on using hashes here.

File details

Details for the file lmtr_agents-0.1.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for lmtr_agents-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 b02640a86d550a6b9ebc38aa121568dedd676d00e8d560fb97e515fc610c97ff
MD5 f839dc7fe1ab7e3a9c61f6ba8f2acc26
BLAKE2b-256 2bd295d4857832731fcffb41a4c4791b640aae49c2e6821f26c6c6732fce96c0

See more details on using hashes here.

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