AI-Agent / app.py
Burman-AI's picture
Create app.py
faf25db verified
raw
history blame contribute delete
510 Bytes
import requests
url = "https://api.vectorshift.ai/v1/chatbot/69533bd8a76af4b718068975/run"
payload = {
"text": "Sample input message here",
"conversation_id": "<string>", # optional, will start a new conversation if not provided
"generate_follow_up_questions": false,
"number_of_follow_up_questions": 3,
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)