client.generate()
Send a prompt to the decentralized network to receive an AI-generated completion.
Usage
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
prompt | str | Required | Input text prompt |
max_tokens | int | 256 | Max tokens returned |
temperature | float | 0.7 | Sampling randomness |