import os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.insights.tools.insights_tool_test(request={
"tool_name": "summary-tool",
})
# Handle response
print(res){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Manually run the given insight tool against a session and return the response.
import os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.insights.tools.insights_tool_test(request={
"tool_name": "summary-tool",
})
# Handle response
print(res){
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Request model to test an insight tool.
Human readable name of insight tool configuration
"summary-tool"
The session ID of the session against which to run the tool
"283467"
The file ID of the uploaded file against which to run the tool
"283467"
Successful Response