Files
SillyTavern/public/scripts
bmen25124andCohee cd176039ef Added structured output for common APIs (#4272)
* Added structured output for common APIs

* eslint

* Added frontend impl

* Type name change

* Unprefix json_schema, apply review suggestions

* Add schema to generateQuietPrompt, add comments

* Prettify diff

* Extract JSON from Claude response

* Add structured gen for Mistral

* Hack to support schema for DeepSeek

* Hack JSON schema for AI21

* Add Groq structured gen

* Add JSON mode for pollinations

* Add JSON schema for perplexity

* Add JSON schema for AIML

* Using extractJsonFromData in custom-request, added google rules for flattenSchema

* Fix response parsing

* Fix Google

* Fixed json parse

* Expose generateRaw to getContext

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-07-15 21:54:36 +03:00
..
2025-06-11 21:26:19 +03:00
…
2025-06-07 14:10:35 +03:00
2025-07-06 23:27:53 +03:00
2025-06-03 00:11:06 +03:00
2025-07-06 16:13:22 +03:00
2025-07-06 23:27:53 +03:00
2025-06-09 23:35:10 +03:00
…
…
2025-07-06 23:27:53 +03:00
2025-07-03 19:28:09 +03:00
2025-07-06 23:27:53 +03:00
2025-06-03 00:11:06 +03:00
2025-06-02 23:57:11 +03:00
2025-05-17 16:50:02 +03:00
2025-06-16 08:28:06 +00:00
2025-07-06 23:27:53 +03:00