Api session items chatchannels: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Endpoint: /api/session/items/chatchannels/ Edit items with events described at Api session event editor chatchannel. Default Query: <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/?f=JSON&token=API_TOKEN</syntaxhighlight> Example Response: <syntaxhighlight lang="text" copy>[ { "attributes" : null, "id" : 0, "instructions" : "", "maquetteOverride" : null, "name" : "Team Chat", "tools" : [ ], "version" : 1..."
Tag: Recreated
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:
   "maquetteOverride" : null,
   "maquetteOverride" : null,
   "name" : "Team Chat",
   "name" : "Team Chat",
  "neuralNetworkID" : -1,
   "tools" : [ ],
   "tools" : [ ],
   "version" : 1
   "version" : 1
}, {
}, {
   "attributes" : {
   "attributes" : {
     "PROJECT_INFO" : [ 0.0 ]
     "PROJECT_INFO" : [ 0.0 ],
    "SHOW_THINKING" : [ 0.0 ],
    "TEMPERATURE" : [ 0.7 ]
   },
   },
   "id" : 1,
   "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.",
   "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,
   "maquetteOverride" : null,
   "name" : "Wiki Assistant",
   "name" : "Wiki Assistant",
   "tools" : [ "GET_SUMMARY", "SEARCH_PAGE", "GET_PAGE", "VALIDATE_ENDPOINT", "VALIDATE_QUERY", "EXECUTE_QUERY" ],
  "neuralNetworkID" : 4,
   "tools" : [ "GET_SUMMARY", "SEARCH_PAGE", "GET_PAGE", "VALIDATE_ENDPOINT" ],
   "version" : 2
   "version" : 2
} ]</syntaxhighlight>
} ]</syntaxhighlight>
Line 28: 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>
==Show Queries==
==Get Queries==
attributes:
<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>
size:  
count:  
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/size/?token=API_TOKEN</syntaxhighlight>
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/chatchannels/count/?token=API_TOKEN</syntaxhighlight>
==Formats==
==Formats==
HTML:  
HTML:  
Line 75: Line 81:
| String
| String
|  
|  
|-
| neuralNetworkID
| int
| [[Neural Network]] ID
|-
|-
| tools
| tools

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_TOKEN

Example 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_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

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 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