Create Conversation
Installation
Create Conversation using GLChat SDK
You can create conversation programmatically using GLChat SDK.
from pathlib import Path
from glchat_sdk import GLChat
client = GLChat()
conversation = client.conversation.create(
user_id="your-user-id",
chatbot_id="your-chatbot-id",
title="My First Conversation"
)
print(f"Created conversation: {conversation}")Coming soon
curl -X POST 'https://chat.gdplabs.id/api/proxy/conversations' \
-H 'Authorization: Bearer '$GLCHAT_API_KEY'' \
-F 'user_id=user@example.com' \
-F 'chatbot_id=no-op' \
-F 'title="Conversation Title"'Sample Response
This is a sample of the response:
Last updated