togetherai_completion
Run text completions with Together AI models by providing a prompt and API key. Supports parameters like max_tokens, temperature, top_p, and stop sequences.
Instructions
Run a text completion with any Together AI model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Together AI API key | |
| model | No | Model ID (e.g. mistralai/Mistral-7B-v0.1) | |
| prompt | Yes | Text prompt to complete | |
| max_tokens | No | Maximum tokens to generate | |
| temperature | No | Sampling temperature 0-2 | |
| top_p | No | Top-p nucleus sampling | |
| top_k | No | Top-k sampling | |
| stop | No | Stop sequences |