Add the following script to your website:
<script src="https://llm-test.azzar.workers.dev/widget.js"></script>
For custom integrations, you can use the API endpoint directly:
POST https://llm-test.azzar.workers.dev/api/chat
Request body:
{
"message": "User message here",
"history": [
{"role": "user", "content": "Previous user message"},
{"role": "assistant", "content": "Previous AI response"}
]
}