Skip to main content

Importable prompt templates for the MoL robot

Project description

robot_prompt_templates

Robot Prompt Templates

Installation

pip install -e .

How to use

Import prompt template functions and use with expected input arguments

from robot_pt import action_decision_pt

state_chunks = textwrap.dedent('''
        ---
        topic: /asr
        ts: 2024-08-31 17:45:23
        data: Hey robot, I'm heading out for the day.
        ---
        topic: /action_response
        ts: 2024-08-31 17:45:25
        data: Robot reply: Certainly! I hope you had a productive day. Is there anything you need help with before you leave?
    ''')

prompt = action_decision_pt(state_chunks)

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

mol_robot_prompt_templates-0.0.1.tar.gz (39.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mol_robot_prompt_templates-0.0.1-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

Details for the file mol_robot_prompt_templates-0.0.1.tar.gz.

File metadata

File hashes

Hashes for mol_robot_prompt_templates-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7e49ca8392c8ce00fdf840c3d458a7c2b77e88a571e1af2d136521377b06fffc
MD5 33f0b7dc8018cb6b30e45c94d52e9701
BLAKE2b-256 c052d8a2f65e49ac4c26a7d00ec10ed77f6e65356b6d777b2201f19aa3a5a0e5

See more details on using hashes here.

File details

Details for the file mol_robot_prompt_templates-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mol_robot_prompt_templates-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5fa710977fb4ad031be61ace58db392100f0303b4c8bcc5078b5d8bc3ae69bc6
MD5 b59389d3f1fa46c3a522ce895ad67b5f
BLAKE2b-256 3c38de9bbee0248b7950f77c3c9c92d886f6de7543ef1a834d773ab1645f585e

See more details on using hashes here.

Supported by

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