Skip to content
Snippets Groups Projects
store_intent.py 245 B
Newer Older
import requests

#the function that sends the intents to the stored intents api
def store_intent_fun(stored_intents_url, intent):
    requests.post(stored_intents_url, json=intent)
    #print(response.json())
    print('stored intent: ', intent)