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",
"session_id": 283467,
"upload_file_id": 283467,
})
# Handle response
print(res)
"<any>"
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",
"session_id": 283467,
"upload_file_id": 283467,
})
# Handle response
print(res)
"<any>"
Request model to test an insight tool.
Successful Response
The response is of type any
.