overlay/llm/provider/mistral
Types
Values
pub fn completion_chunk_parse(
remaining: BitArray,
chunk: BitArray,
) -> #(List(chat.Completion(tool.Call)), BitArray)
pub fn stream_completion_request(
config: Config,
model: String,
system_prompt: String,
messages: List(chat.Message(tool.Call)),
tools: List(tool.Tool),
) -> request.Request(BitArray)
pub fn tool_call_decoder() -> decode.Decoder(tool.Call)