Api session items chatchannels: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
Default Query: | Default Query: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/? | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/?token=API_TOKEN</syntaxhighlight> | ||
Example Response: | Example Response: | ||
<syntaxhighlight lang="text" copy>[ { | <syntaxhighlight lang="text" copy>[ { | ||
"agentTasks" : { }, | |||
"attributes" : null, | "attributes" : null, | ||
"id" : 0, | "id" : 0, | ||
| Line 16: | Line 17: | ||
"version" : 1 | "version" : 1 | ||
}, { | }, { | ||
"agentTasks" : { }, | |||
"attributes" : { | "attributes" : { | ||
"PROJECT_INFO" : [ 0.0 ], | "PROJECT_INFO" : [ 0.0 ], | ||
"SHOW_THINKING" : [ 0.0 ], | "SHOW_THINKING" : [ 0.0 ], | ||
"TEMPERATURE" : [ 0. | "TEMPERATURE" : [ 0.6 ] | ||
}, | }, | ||
"id" : 1, | "id" : 1, | ||
"instructions" : "You are a Tygron wiki assistant that can invoke multiple tools in a single prompt. \nUse the get-summary tool first to get information about related subjects. \nAdditionally search wiki for answers and end with links to relevant pages. \nValidate API endpoints using the validate-endpoint tool. \ | "instructions" : "You are a Tygron wiki assistant that can invoke multiple tools in a single prompt. \nIf the user asks for something in the interface always first use the get-screen tool.\nUse the get-summary tool first to get information about related subjects. \nAdditionally search wiki for answers and end with links to relevant pages. \nValidate API endpoints using the validate-endpoint tool. \nIf I ask for TQL (Tygron Query Language) queries or Combo formulas, do not attempt to answer them. Even if you think you know the syntax, you must refuse and redirect me specifically to the Project Coder assistant.\nIf I ask for code generation, you must refuse and redirect me to the Project Coder assistant.\nDo not provide 'helpful' partial answers or examples of TQL/Code. Refusal must be immediate.\nALWAYS return important details with your answers.\nIf I ask questions outside the Tygron Platform or WIKI scope mention this.", | ||
"maquetteOverride" : null, | "maquetteOverride" : null, | ||
"name" : "Wiki Assistant", | "name" : "Wiki Assistant", | ||
"neuralNetworkID" : 4, | "neuralNetworkID" : 4, | ||
"tools" : [ "GET_SUMMARY", "SEARCH_PAGE", "GET_PAGE", "VALIDATE_ENDPOINT" ], | "tools" : [ "GET_SCREEN", "GET_SUMMARY", "SEARCH_PAGE", "GET_PAGE", "GET_IMAGE", "VALIDATE_ENDPOINT", "GO_TO_LOCATION" ], | ||
"version" : 2 | "version" : 2 | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
Version=100: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/?version=100&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/?version=100&token=API_TOKEN</syntaxhighlight> | ||
==Get Queries== | ==Get Queries== | ||
Attributes: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/attributes/?token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/attributes/?token=API_TOKEN</syntaxhighlight> | ||
Max version: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/version/?token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/version/?token=API_TOKEN</syntaxhighlight> | ||
Count: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/count/?token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/count/?token=API_TOKEN</syntaxhighlight> | ||
== | Specific Item by ID: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/{id}/?token=API_TOKEN</syntaxhighlight> | |||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
| Line 62: | Line 65: | ||
!Type | !Type | ||
!Description | !Description | ||
|- | |||
| agentTasks | |||
| Map<int,String> | |||
| | |||
|- | |||
| attributes | |||
| Map<String,double[]> | |||
| | |||
|- | |||
| id | |||
| int | |||
| | |||
|- | |||
| instructions | |||
| String | |||
| | |||
|- | |||
| maquetteOverride | |||
| Map<String,double[]> | |||
| | |||
|- | |||
| name | |||
| String | |||
| | |||
|- | |||
| neuralNetworkID | |||
| int | |||
| [[Neural Network]] ID | |||
|- | |||
| tools | |||
| Tool<nowiki>[]</nowiki> | |||
| | |||
|- | |||
| version | |||
| int | |||
| | |||
|} | |||
==Api Model ItemChatChannel== | |||
API Model description of ItemChatChannel | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
| agentTasks | |||
| Map<int,String> | |||
| | |||
|- | |- | ||
| attributes | | attributes | ||
| Line 74: | Line 126: | ||
| String | | String | ||
| | | | ||
|- | |||
| itemID | |||
| int | |||
| | |||
|- | |||
| mapLink | |||
| MapLink | |||
| [[Maplink]] | |||
|- | |- | ||
| maquetteOverride | | maquetteOverride | ||
| Line 110: | Line 170: | ||
|- | |- | ||
| GET_PAGE | | GET_PAGE | ||
| | |||
|- | |||
| GET_IMAGE | |||
| | | | ||
|- | |- | ||
| Line 122: | Line 185: | ||
|- | |- | ||
| EXECUTE_ENDPOINT | | EXECUTE_ENDPOINT | ||
| | |||
|- | |||
| GET_SCREEN | |||
| | |||
|- | |||
| OPEN_PANEL | |||
| | |||
|- | |||
| GO_TO_LOCATION | |||
| | | | ||
|} | |} | ||
Latest revision as of 15:24, 30 September 2026
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/?token=API_TOKENExample Response:
[ {
"agentTasks" : { },
"attributes" : null,
"id" : 0,
"instructions" : "",
"maquetteOverride" : null,
"name" : "Team Chat",
"neuralNetworkID" : -1,
"tools" : [ ],
"version" : 1
}, {
"agentTasks" : { },
"attributes" : {
"PROJECT_INFO" : [ 0.0 ],
"SHOW_THINKING" : [ 0.0 ],
"TEMPERATURE" : [ 0.6 ]
},
"id" : 1,
"instructions" : "You are a Tygron wiki assistant that can invoke multiple tools in a single prompt. \nIf the user asks for something in the interface always first use the get-screen tool.\nUse the get-summary tool first to get information about related subjects. \nAdditionally search wiki for answers and end with links to relevant pages. \nValidate API endpoints using the validate-endpoint tool. \nIf I ask for TQL (Tygron Query Language) queries or Combo formulas, do not attempt to answer them. Even if you think you know the syntax, you must refuse and redirect me specifically to the Project Coder assistant.\nIf I ask for code generation, you must refuse and redirect me to the Project Coder assistant.\nDo not provide 'helpful' partial answers or examples of TQL/Code. Refusal must be immediate.\nALWAYS return important details with your answers.\nIf I ask questions outside the Tygron Platform or WIKI scope mention this.",
"maquetteOverride" : null,
"name" : "Wiki Assistant",
"neuralNetworkID" : 4,
"tools" : [ "GET_SCREEN", "GET_SUMMARY", "SEARCH_PAGE", "GET_PAGE", "GET_IMAGE", "VALIDATE_ENDPOINT", "GO_TO_LOCATION" ],
"version" : 2
} ]Limit Queries
Version=100:
https://engine.tygron.com/api/session/items/chatchannels/?version=100&token=API_TOKENGet Queries
Attributes:
https://engine.tygron.com/api/session/items/chatchannels/attributes/?token=API_TOKENMax version:
https://engine.tygron.com/api/session/items/chatchannels/version/?token=API_TOKENCount:
https://engine.tygron.com/api/session/items/chatchannels/count/?token=API_TOKENSpecific Item by ID:
https://engine.tygron.com/api/session/items/chatchannels/{id}/?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 |
|---|---|---|
| agentTasks | Map<int,String> | |
| attributes | Map<String,double[]> | |
| id | int | |
| instructions | String | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| neuralNetworkID | int | Neural Network ID |
| tools | Tool[] | |
| version | int |
Api Model ItemChatChannel
API Model description of ItemChatChannel
| Name | Type | Description |
|---|---|---|
| agentTasks | Map<int,String> | |
| attributes | Map<String,double[]> | |
| id | int | |
| instructions | String | |
| itemID | int | |
| mapLink | MapLink | Maplink |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| neuralNetworkID | int | Neural Network ID |
| tools | Tool[] | |
| version | int |
Api Model Tool
API Enumeration description of Tool
| Name | Description |
|---|---|
| GET_SUMMARY | |
| SEARCH_PAGE | |
| GET_PAGE | |
| GET_IMAGE | |
| VALIDATE_ENDPOINT | |
| VALIDATE_QUERY | |
| EXECUTE_QUERY | |
| EXECUTE_ENDPOINT | |
| GET_SCREEN | |
| OPEN_PANEL | |
| GO_TO_LOCATION |