Skip to main content

build_prompt_request

Function build_prompt_request 

Source
pub fn build_prompt_request(id: u64, session_id: &str, text: &str) -> String
Expand description

Builds a JSON-RPC 2.0 session/prompt request with a single text block.