| 3721 | presence_penalty?: number; |
| 3722 | } |
| 3723 | interface AsyncBatch { |
| 3724 | requests?: { |
| 3725 | /** |
| 3726 | * User-supplied reference. This field will be present in the response as well it can be used to reference the request and response. It's NOT validated to be unique. |
| 3727 | */ |
| 3728 | external_reference?: string; |
| 3729 | /** |
| 3730 | * Prompt for the text generation model |
| 3731 | */ |
| 3732 | prompt?: string; |
| 3733 | /** |
| 3734 | * If true, the response will be streamed back incrementally using SSE, Server Sent Events. |
| 3735 | */ |
| 3736 | stream?: boolean; |
| 3737 | /** |
| 3738 | * The maximum number of tokens to generate in the response. |
| 3739 | */ |
| 3740 | max_tokens?: number; |
| 3741 | /** |
| 3742 | * Controls the randomness of the output; higher values produce more random results. |
| 3743 | */ |
| 3744 | temperature?: number; |
| 3745 | /** |
| 3746 | * Adjusts the creativity of the AI's responses by controlling how many possible words it considers. Lower values make outputs more predictable; higher values allow for more varied and creative responses. |
| 3747 | */ |
| 3748 | top_p?: number; |
| 3749 | /** |
| 3750 | * Random seed for reproducibility of the generation. |
| 3751 | */ |
| 3752 | seed?: number; |
| 3753 | /** |
| 3754 | * Penalty for repeated tokens; higher values discourage repetition. |
| 3755 | */ |
| 3756 | repetition_penalty?: number; |
| 3757 | /** |
| 3758 | * Decreases the likelihood of the model repeating the same lines verbatim. |
| 3759 | */ |
| 3760 | frequency_penalty?: number; |
| 3761 | /** |
| 3762 | * Increases the likelihood of the model introducing new topics. |
| 3763 | */ |
| 3764 | presence_penalty?: number; |
| 3765 | response_format?: JSONMode; |
| 3766 | }[]; |
| 3767 | } |
| 3768 | type Ai_Cf_Meta_Llama_3_3_70B_Instruct_Fp8_Fast_Output = { |
| 3769 | /** |
| 3770 | * The generated text response from the model |
nothing calls this directly
no outgoing calls
no test coverage detected