watson_generate_text
Generate text from a prompt using watsonx.ai foundation models. Specify model, input, and project ID to create content.
Instructions
Generate text using a watsonx.ai foundation model
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | Model ID | |
| input | Yes | Input prompt | |
| project_id | Yes | watsonx project ID | |
| max_new_tokens | No | Max tokens to generate (default 200) | |
| temperature | No | Temperature 0-2 (default 0.7) | |
| top_p | No | ||
| top_k | No | ||
| region | No |