m_backend_prompt {mall}R Documentation

Functions to integrate different back-ends

Description

Functions to integrate different back-ends

Usage

m_backend_prompt(backend, additional)

m_backend_submit(backend, x, prompt, preview = FALSE)

Arguments

backend

An mall_session object

additional

Additional text to insert to the base_prompt

x

The body of the text to be submitted to the LLM

prompt

The additional information to add to the submission

preview

If TRUE, it will display the resulting R call of the first text in x

Value

m_backend_submit does not return an object. m_backend_prompt returns a list of functions that contain the base prompts.


[Package mall version 0.1.0 Index]