Engage App

Initialize a conversation on a designed topic

Initialize a new conversation on a specific topic

POST http://dev-api.med2lab.com/external/v1/engage/topic/init/

Request Body

Name
Type
Description

topic_id*

id

The topic id

Example Output
```json
{
    "engage_id": 854,
    "topic_id": 16,
    "topic_name": "Sale Consultant",
    "dialog": [
        {
            "role": "assistant",
            "content": "Hello! Are you looking for recommendations or assistance with choosing a product? I'm here to help you find the perfect solution to meet your needs! (for example: a dress for a birthday party, a new computer for work etc.)"
        }
    ],
    "data": null,
    "is_end": null
}
```

Chat

Chat on a conversation

POST http://dev-api.med2lab.com/external/v1/engage/topic/conversation/

Request Body

Name
Type
Description

engage_id*

id

The engage id

data_chat*

string

Your input

Last updated