Functions to integrate different back-ends
R/m-backend-prompt.R, R/m-backend-submit.R
m_backend_prompt
Description
Functions to integrate different back-ends
Usage
m_backend_prompt(backend, additional)
m_backend_submit(backend, x, prompt, preview = FALSE)
Arguments
Arguments | Description |
---|---|
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.