Skip to content

Commit 3958c4a

Browse files
committed
docs: update model configuration specification to clarify capabilities fields
Signed-off-by: Zhao Chen <[email protected]>
1 parent 2444492 commit 3958c4a

File tree

1 file changed

+22
-26
lines changed

1 file changed

+22
-26
lines changed

docs/config.md

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -135,51 +135,47 @@ The following terms are used in this section:
135135

136136
Special capabilities that the model supports, such as reasoning, toolusage, etc.
137137

138-
- **modelfs** _object_, REQUIRED
139-
140-
Contains hashes of each uncompressed layer's content.
138+
- **inputTypes** _array of string_, OPTIONAL
141139

142-
- **type** _string_, REQUIRED
140+
An array of strings specifying the data types that the model can accept as input.
141+
The allowed values are: "text", "image", "audio", "video", or "embedding". For input types that are not explicitly defined, the value "other" value should be used.
143142

144-
Must be set to "layers".
143+
- **outputTypes** _array of string_, OPTIONAL
145144

146-
- **diffIds** _array of strings_, REQUIRED
145+
An array of strings specifying the data types that the model can produce as output.
146+
The allowed values are: "text", "image", "audio", "video", or "embedding". For output types that are not explicitly defined, the value "other" value should be used.
147147

148-
An array of layer content hashes (`DiffIDs`), in order from first to last.
148+
- **knowledgeCutoff** _string_, OPTIONAL
149149

150-
- **capabilities** _object_, OPTIONAL
150+
The date and time of the datasets that the model was trained on, formatted as defined by [RFC 3339, section 5.6][rfc3339-s5.6].
151151

152-
Special capabilities that the model supports, such as reasoning, toolusage, etc.
152+
- **reasoning** _boolean_, OPTIONAL
153153

154-
- **inputTypes** _array of string_, OPTIONAL
154+
Whether the model can perform reasoning tasks.
155155

156-
An array of strings specifying the data types that the model can accept as input.
157-
The allowed values are: "text", "image", "audio", "video", or "embedding". For input types that are not explicitly defined, the value "other" value should be used.
156+
- **toolUsage** _boolean_, OPTIONAL
158157

159-
- **outputTypes** _array of string_, OPTIONAL
158+
Whether the model can use external tools or APIs to perform tasks.
160159

161-
An array of strings specifying the data types that the model can produce as output.
162-
The allowed values are: "text", "image", "audio", "video", or "embedding". For output types that are not explicitly defined, the value "other" value should be used.
160+
- **reward** _boolean_, OPTIONAL
163161

164-
- **knowledgeCutoff** _string_, OPTIONAL
162+
Whether the model is a reward model.
165163

166-
The date and time of the datasets that the model was trained on, formatted as defined by [RFC 3339, section 5.6][rfc3339-s5.6].
164+
- **languages** _array of string_, OPTIONAL
167165

168-
- **reasoning** _boolean_, OPTIONAL
166+
What languages can the model speak. Encoded as [ISO 639][iso-639] two letter codes.
169167

170-
Whether the model can perform reasoning tasks.
171-
172-
- **toolUsage** _boolean_, OPTIONAL
168+
- **modelfs** _object_, REQUIRED
173169

174-
Whether the model can use external tools or APIs to perform tasks.
170+
Contains hashes of each uncompressed layer's content.
175171

176-
- **reward** _boolean_, OPTIONAL
172+
- **type** _string_, REQUIRED
177173

178-
Whether the model is a reward model.
174+
Must be set to "layers".
179175

180-
- **languages** _array of string_, OPTIONAL
176+
- **diffIds** _array of strings_, REQUIRED
181177

182-
What languages can the model speak. Encoded as [ISO 639][iso-639] two letter codes.
178+
An array of layer content hashes (`DiffIDs`), in order from first to last.
183179

184180
## Example
185181

0 commit comments

Comments
 (0)