-
-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤖 chore: Auto format and add i18n json files
- Loading branch information
1 parent
ef376c2
commit afe0ac8
Showing
325 changed files
with
1,923 additions
and
1,512 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,68 @@ | ||
{"type":"object","properties":{"author":{"type":"string"},"config":{"type":"object","properties":{"compressThreshold":{"type":"number"},"displayMode":{"type":"string","enum":["chat","docs"]},"enableCompressThreshold":{"type":"boolean"},"enableHistoryCount":{"type":"boolean"},"enableMaxTokens":{"type":"boolean"},"fewShots":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string"},"role":{"type":"string","enum":["user","system","assistant","function"]}},"required":["content","role"],"additionalProperties":false}},"historyCount":{"type":"number"},"inputTemplate":{"type":"string"},"model":{"type":"string","default":"gpt-3.5-turbo"},"params":{"type":"object","properties":{"frequency_penalty":{"type":"number","default":0},"max_tokens":{"type":"number"},"presence_penalty":{"type":"number","default":0},"temperature":{"type":"number","default":0},"top_p":{"type":"number","default":1}},"additionalProperties":false},"plugins":{"type":"array","items":{"type":"string"}},"systemRole":{"type":"string"}},"required":["systemRole"],"additionalProperties":false},"createAt":{"type":"string"},"createdAt":{"type":"string"},"examples":{"$ref":"#/properties/config/properties/fewShots"},"homepage":{"type":"string"},"identifier":{"type":"string"},"meta":{"type":"object","properties":{"avatar":{"type":"string"},"backgroundColor":{"type":"string"},"category":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"title":{"type":"string"}},"required":["avatar","description","tags","title"],"additionalProperties":false},"schemaVersion":{"type":"number"}},"required":["author","config","createdAt","homepage","identifier","meta","schemaVersion"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"} | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"additionalProperties": false, | ||
"properties": { | ||
"author": { "type": "string" }, | ||
"config": { | ||
"type": "object", | ||
"properties": { | ||
"compressThreshold": { "type": "number" }, | ||
"displayMode": { "type": "string", "enum": ["chat", "docs"] }, | ||
"enableCompressThreshold": { "type": "boolean" }, | ||
"enableHistoryCount": { "type": "boolean" }, | ||
"enableMaxTokens": { "type": "boolean" }, | ||
"fewShots": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"content": { "type": "string" }, | ||
"role": { "type": "string", "enum": ["user", "system", "assistant", "function"] } | ||
}, | ||
"required": ["content", "role"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"historyCount": { "type": "number" }, | ||
"inputTemplate": { "type": "string" }, | ||
"model": { "type": "string", "default": "gpt-3.5-turbo" }, | ||
"params": { | ||
"type": "object", | ||
"properties": { | ||
"frequency_penalty": { "type": "number", "default": 0 }, | ||
"max_tokens": { "type": "number" }, | ||
"presence_penalty": { "type": "number", "default": 0 }, | ||
"temperature": { "type": "number", "default": 0 }, | ||
"top_p": { "type": "number", "default": 1 } | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"plugins": { "type": "array", "items": { "type": "string" } }, | ||
"systemRole": { "type": "string" } | ||
}, | ||
"required": ["systemRole"], | ||
"additionalProperties": false | ||
}, | ||
"createAt": { "type": "string" }, | ||
"createdAt": { "type": "string" }, | ||
"examples": { "$ref": "#/properties/config/properties/fewShots" }, | ||
"homepage": { "type": "string" }, | ||
"identifier": { "type": "string" }, | ||
"meta": { | ||
"type": "object", | ||
"properties": { | ||
"avatar": { "type": "string" }, | ||
"backgroundColor": { "type": "string" }, | ||
"category": { "type": "string" }, | ||
"description": { "type": "string" }, | ||
"tags": { "type": "array", "items": { "type": "string" } }, | ||
"title": { "type": "string" } | ||
}, | ||
"required": ["avatar", "description", "tags", "title"], | ||
"additionalProperties": false | ||
}, | ||
"schemaVersion": { "type": "number" } | ||
}, | ||
"required": ["author", "config", "createAt", "homepage", "identifier", "meta", "schemaVersion"], | ||
"type": "object" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.