Integration guide for Hmodel OpenAI Compatibility with Python and JavaScript.
openai
package.
Parameter | Description |
---|---|
model | Name of the model used (daddy1 or daddy1-adv ). |
messages | List of messages to structure the conversation. |
temperature | Controls response creativity (0 = deterministic, 1 = highly creative). |
max_tokens | Maximum number of tokens in the response. |