| 686 | request.text_input = engine::runtime::Transcript{ |
| 687 | engine::io::json::require_string(body, "input"), |
| 688 | engine::io::json::optional_string(body, "language", ""), |
| 689 | }; |
| 690 | |
| 691 | request.options = options_from_object(body.find("options")); |
| 692 | add_option_from_json(request.options, body, "seed", "seed"); |
| 693 | add_option_from_json(request.options, body, "temperature", "temperature"); |
| 694 | add_option_from_json(request.options, body, "top_k", "top_k"); |
| 695 | add_option_from_json(request.options, body, "top_p", "top_p"); |
| 696 | add_option_from_json(request.options, body, "max_tokens", "max_tokens"); |
| 697 | add_option_from_json(request.options, body, "max_steps", "max_steps"); |
| 698 | add_option_from_json(request.options, body, "repetition_penalty", "repetition_penalty"); |
| 699 | add_option_from_json(request.options, body, "guidance_scale", "guidance_scale"); |
| 700 | add_option_from_json(request.options, body, "num_inference_steps", "num_inference_steps"); |
nothing calls this directly
no test coverage detected