Topics

Overview

modelTypeConfiguration

Keys
Value
modelType
meeting_topics
modelConfig
Model Configuration object for meeting_topics (No configurations)

Example Request

Curl
Python
curl --location --request POST 'https://api.marsview.ai/cb/v1/conversation/compute' \
--header 'Content-Type: application/json' \
--header "Authorization: {{Insert Auth Token}}" \
--data-raw '{
"txnId": "{{Insert txn ID}}",
"enableModels":[
{
"modelType":"speech_to_text",
"modelConfig":{
"automatic_punctuation" : true,
"custom_vocabulary":["Marsview", "Communication"],
"speaker_seperation":{
"num_speakers":2
},
"enableKeywords":true,
"enableTopics":false
}
},
{
"modelType":"meeting_topics"
}
]
}'
import requests
user_id = "[email protected]"
auth_token = "replace this with your auth token"
txn_id = "Replace this with your txn id"
request_url = "https://api.marsview.ai/cb/v1/conversation/compute"
def get_meeting_topics):
payload={
"txnId": txn_id,
"enableModels":[
{
"modelType":"speech_to_text",
"modelConfig":{
"automatic_punctuation" : True,
"custom_vocabulary":["Marsview", "Communication"],
"speaker_seperation":{
"num_speakers":2
},
"enableKeywords":True,
"enableTopics":False
}
},
{
"modelType":"meeting_topics"
}
]
}
headers = {'authorization': '{}'.format(auth_token)}
response = requests.request("POST", headers=headers, json=payload)
print(response.text)
if response.status_code == 200 and response.json()["status"] == "true":
return response.json()["data"]["enableModels"]["state"]["status"]
else:
raise Exception("Custom exception")
if __name__ == "__main__":
get_meeting_topics()

Example Response

"data": {
"topicsData": [
"clear safety situations",
"loss",
"biggest weakness",
"qualified applicants",
"questions",
"biggest strengths",
"nicholas state university",
"next question",
"hard worker",
"pool certifications",
"good evening teresa",
"touch goodbye goodbye",
"good very good job",
"sporting events",
"quality time",
"good answer next question",
"good question",
]
}

Response Object

Field
Description
topicsData
List of key Topics discussed in the Video/Audio.