send_message
WritingClient
The WritingClient is used to send text messages to AI models.
Method: send_message
send_message
Parameters:
input
: The text or list of messages to send.instruction
: Extra instructions for the model (optional).model
: Name of the model to use (optional).
Usage Example:
from zerogpt.utils.writing import WritingClient
client = WritingClient(http2=True)
response = client.send_message("Hello, how are you?")
print(response)
Last updated