Api session items chatchannels: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
Server@tygron.com (talk | contribs)
No edit summary
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
API Endpoint: /api/session/items/chatchannels/
API Endpoint: /api/session/items/chatchannels/


Edit items with events described at [[Api session event editor chatchannel]].
Edit items with events described at [[Api session event editor chat]].


Default Query:
Default Query:
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/?f=JSON&token=API_TOKEN</syntaxhighlight>
<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 13: Line 14:
   "name" : "Team Chat",
   "name" : "Team Chat",
   "neuralNetworkID" : -1,
   "neuralNetworkID" : -1,
  "parentID" : -1,
   "tools" : [ ],
   "tools" : [ ],
   "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.7 ]
     "TEMPERATURE" : [ 0.8 ]
   },
   },
   "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. \nFor questions related to TQL, Combo overlays refer to the TQL & Combo Generator assistant. \nALWAYS return important details with your answers.",
   "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.\nTQL is not SQL, search wiki for more TQL details.\nAlways use the math tool for math expressions, never try to solve math yourself.\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" ],
  "parentID" : -1,
   "tools" : [ "GET_SCREEN", "GET_SUMMARY", "SEARCH_PAGE", "GET_PAGE", "GET_IMAGE", "VALIDATE_ENDPOINT", "VALIDATE_QUERY" ],
   "version" : 2
   "version" : 2
} ]</syntaxhighlight>
} ]</syntaxhighlight>
==Limit Queries==
==Limit Queries==
version=100:  
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==
==Show Queries==
Attributes:  
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:  
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:  
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 55: Line 60:
ZIPSMILE:  
ZIPSMILE:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight>
==Api Model AgentTool==
API Enumeration description of AgentTool
{|class=wikitable
!Name
!Description
|-
| GET_SUMMARY
|
|-
| SEARCH_PAGE
|
|-
| GET_PAGE
|
|-
| GET_IMAGE
|
|-
| VALIDATE_ENDPOINT
|
|-
| VALIDATE_QUERY
|
|-
| EXECUTE_QUERY
|
|-
| EXECUTE_ENDPOINT
|
|-
| START_WORKER
|
|-
| GET_SCREEN
|
|-
| OPEN_PANEL
|
|-
| GO_TO_LOCATION
|
|}
==Api Model ChatChannel==
==Api Model ChatChannel==
API Model description of ChatChannel
API Model description of ChatChannel
Line 62: Line 111:
!Type
!Type
!Description
!Description
|-
| agentTasks
| Map&lt;int,String&gt;
|
|-
|-
| attributes
| attributes
Line 86: Line 139:
| int
| int
| [[Neural Network]] ID  
| [[Neural Network]] ID  
|-
| parentID
| int
| [[Chat Channel]] ID
|-
|-
| tools
| tools
| Tool<nowiki>[]</nowiki>
| AgentTool<nowiki>[]</nowiki>
|  
|  
|-
|-
Line 96: Line 153:
|}
|}


==Api Model Tool==
==Api Model ItemChatChannel==
API Enumeration description of Tool
API Model description of ItemChatChannel


{|class=wikitable
{|class=wikitable
!Name
!Name
!Type
!Description
!Description
|-
|-
| GET_SUMMARY
| agentTasks
| Map&lt;int,String&gt;
|
|-
| attributes
| Map&lt;String,double[]&gt;
|
|-
| id
| int
|  
|  
|-
|-
| SEARCH_PAGE
| instructions
| String
|  
|  
|-
|-
| GET_PAGE
| itemID
| int
|  
|  
|-
|-
| VALIDATE_ENDPOINT
| mapLink
| MapLink
| [[Maplink]]
|-
| maquetteOverride
| Map&lt;String,double[]&gt;
|  
|  
|-
|-
| VALIDATE_QUERY
| name
| String
|  
|  
|-
|-
| EXECUTE_QUERY
| neuralNetworkID
| int
| [[Neural Network]] ID
|-
| parentID
| int
| [[Chat Channel]] ID
|-
| tools
| AgentTool<nowiki>[]</nowiki>
|  
|  
|-
|-
| EXECUTE_ENDPOINT
| version
| int
|  
|  
|}
|}


{{article end|seealso=*[[Api Content Items]]
{{article end|seealso=*[[Api Content Items]]
*[[Api session event editor chatchannel]]
*[[Api session event editor chat]]
}}
}}


[[Category:API]]
[[Category:API]]
[[Category:Items]]
[[Category:Items]]

Latest revision as of 16:01, 20 November 2026

API Endpoint: /api/session/items/chatchannels/

Edit items with events described at Api session event editor chat.

Default Query:

https://engine.tygron.com/api/session/items/chatchannels/?token=API_TOKEN

Example Response:

[ {
  "agentTasks" : { },
  "attributes" : null,
  "id" : 0,
  "instructions" : "",
  "maquetteOverride" : null,
  "name" : "Team Chat",
  "neuralNetworkID" : -1,
  "parentID" : -1,
  "tools" : [ ],
  "version" : 1
}, {
  "agentTasks" : { },
  "attributes" : {
    "PROJECT_INFO" : [ 0.0 ],
    "SHOW_THINKING" : [ 0.0 ],
    "TEMPERATURE" : [ 0.8 ]
  },
  "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.\nTQL is not SQL, search wiki for more TQL details.\nAlways use the math tool for math expressions, never try to solve math yourself.\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,
  "parentID" : -1,
  "tools" : [ "GET_SCREEN", "GET_SUMMARY", "SEARCH_PAGE", "GET_PAGE", "GET_IMAGE", "VALIDATE_ENDPOINT", "VALIDATE_QUERY" ],
  "version" : 2
} ]

Limit Queries

Version=100:

https://engine.tygron.com/api/session/items/chatchannels/?version=100&token=API_TOKEN

Get Queries

Attributes:

https://engine.tygron.com/api/session/items/chatchannels/attributes/?token=API_TOKEN

Max version:

https://engine.tygron.com/api/session/items/chatchannels/version/?token=API_TOKEN

Count:

https://engine.tygron.com/api/session/items/chatchannels/count/?token=API_TOKEN

Specific Item by ID:

https://engine.tygron.com/api/session/items/chatchannels/{id}/?token=API_TOKEN

Formats

HTML:

https://engine.tygron.com/api/session/items/chatchannels/?f=HTML&token=API_TOKEN

JSON:

https://engine.tygron.com/api/session/items/chatchannels/?f=JSON&token=API_TOKEN

CSV:

https://engine.tygron.com/api/session/items/chatchannels/?f=CSV&token=API_TOKEN

SSV:

https://engine.tygron.com/api/session/items/chatchannels/?f=SSV&token=API_TOKEN

SMILE:

https://engine.tygron.com/api/session/items/chatchannels/?f=SMILE&token=API_TOKEN

ZIPJSON:

https://engine.tygron.com/api/session/items/chatchannels/?f=ZIPJSON&token=API_TOKEN

ZIPSMILE:

https://engine.tygron.com/api/session/items/chatchannels/?f=ZIPSMILE&token=API_TOKEN

Api Model AgentTool

API Enumeration description of AgentTool

Name Description
GET_SUMMARY
SEARCH_PAGE
GET_PAGE
GET_IMAGE
VALIDATE_ENDPOINT
VALIDATE_QUERY
EXECUTE_QUERY
EXECUTE_ENDPOINT
START_WORKER
GET_SCREEN
OPEN_PANEL
GO_TO_LOCATION

Api 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
parentID int Chat Channel ID
tools AgentTool[]
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
parentID int Chat Channel ID
tools AgentTool[]
version int