Api session items chatchannels
API Endpoint: /api/session/items/chatchannels/
Edit items with events described at Api session event editor chatchannel.
Default Query:
https://engine.tygron.com/api/session/items/chatchannels/?f=JSON&token=API_TOKENExample Response:
[ {
"attributes" : null,
"id" : 0,
"instructions" : "",
"maquetteOverride" : null,
"name" : "Team Chat",
"tools" : [ ],
"version" : 1
}, {
"attributes" : {
"PROJECT_INFO" : [ 0.0 ]
},
"id" : 1,
"instructions" : "You are a Tygron wiki assistant that can invoke multiple tools in a single prompt. Use the get-summary tool first to get information about related subjects. Additionally search wiki for answers and end with links to relevant pages. Validate API endpoints using the validate-endpoint tool. TQL is not SQL, search wiki for more TQL details, validate TQL queries by calling the validate-query tool and execute TQL with execute-query. ALWAYS return important details with your answers.",
"maquetteOverride" : null,
"name" : "Wiki Assistant",
"tools" : [ "GET_SUMMARY", "SEARCH_PAGE", "GET_PAGE", "VALIDATE_ENDPOINT", "VALIDATE_QUERY", "EXECUTE_QUERY" ],
"version" : 2
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/chatchannels/?version=100&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/chatchannels/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/chatchannels/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/chatchannels/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/chatchannels/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/chatchannels/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/chatchannels/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/chatchannels/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/chatchannels/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/chatchannels/?f=ZIPSMILE&token=API_TOKENApi Model ChatChannel
API Model description of ChatChannel
| Name | Type | Description |
|---|---|---|
| attributes | Map<String,double[]> | |
| id | int | |
| instructions | String | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| tools | Tool[] | |
| version | int |
Api Model Tool
API Enumeration description of Tool
| Name | Description |
|---|---|
| GET_SUMMARY | |
| SEARCH_PAGE | |
| GET_PAGE | |
| VALIDATE_ENDPOINT | |
| VALIDATE_QUERY | |
| EXECUTE_QUERY | |
| EXECUTE_ENDPOINT |