Api session items chatchannels: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 32: | Line 32: | ||
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== | ||
attributes: | |||
<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> | |||
count: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/count/?token=API_TOKEN</syntaxhighlight> | |||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
Latest revision as of 07:14, 7 July 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/?f=JSON&token=API_TOKENExample Response:
[ {
"attributes" : null,
"id" : 0,
"instructions" : "",
"maquetteOverride" : null,
"name" : "Team Chat",
"neuralNetworkID" : -1,
"tools" : [ ],
"version" : 1
}, {
"attributes" : {
"PROJECT_INFO" : [ 0.0 ],
"SHOW_THINKING" : [ 0.0 ],
"TEMPERATURE" : [ 0.7 ]
},
"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.",
"maquetteOverride" : null,
"name" : "Wiki Assistant",
"neuralNetworkID" : 4,
"tools" : [ "GET_SUMMARY", "SEARCH_PAGE", "GET_PAGE", "VALIDATE_ENDPOINT" ],
"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_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 | |
| 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 | |
| VALIDATE_ENDPOINT | |
| VALIDATE_QUERY | |
| EXECUTE_QUERY | |
| EXECUTE_ENDPOINT |