m_backend_submit: Functions to integrate different back-ends

View source: R/m-backend-submit.R

m_backend_promptR 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.


mall documentation built on Oct. 24, 2024, 5:09 p.m.