Ask a question to get started
Enter to sendā¢Shift+Enter new line
A function that transforms {prompt, stop, **kwargs} into a JSON-compatible request object that the endpoint accepts. For example, you can apply a prompt template to the input prompt.
{prompt, stop, **kwargs}
transform_input_fn: Optional[Callable] = None