AI CHAT Function Call
The Taam API offers a powerful AI chat service that enables seamless integration of intelligent conversational agents into your applications.
Function Call
POST
/
v1/chat/completions
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Key
Example Value
Type
Required
Description
stream
false
Boolean
Yes
Whether to stream (typewriter effect)
messages
-
Array
Yes
List of messages in the conversation
messages.role
user
String
Yes
Role of the message sender (e.g., user)
messages.content
hello
String
Yes
Content of the message
model
gpt-4o
String
Yes
Model to be used for the conversation
json raw
Response
Last updated