Class CohereModelInfo
Information about a Cohere model.
Inherited Members
Namespace: Glitch9.AIDevKit.Cohere
Assembly: Glitch9.AIDevKit.Provider.Cohere.dll
Syntax
public class CohereModelInfo : IModelInfo, IAIResource, IData, IHasId<string>, IHasName, IDeprecatable
Properties
| Edit this page View SourceApi
Declaration
[JsonIgnore]
public Api Api { get; }
Property Value
| Type | Description |
|---|---|
| Api |
ContextLength
Optional. The maximum number of tokens that the model can process in a single request. Note that not all of these tokens are always available due to special tokens and preambles that Cohere has added by default.
Declaration
[JsonProperty("context_length")]
public double? ContextLength { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
DefaultEndpoints
Optional. The API endpoints that the model is default to.
Declaration
[JsonProperty("default_endpoints")]
public string[] DefaultEndpoints { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
Endpoints
Optional. The API endpoints that the model is compatible with.
Declaration
[JsonProperty("endpoints")]
public string[] Endpoints { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
Features
Optional. The features that the model supports.
Declaration
[JsonProperty("features")]
public string[] Features { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] |
Finetuned
Optional. Whether the model has been fine-tuned or not.
Declaration
[JsonProperty("finetuned")]
public bool? Finetuned { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Id
Required. Specify this name in the model parameter of API requests to use your chosen model.
Declaration
[JsonProperty("name")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IsDeprecated
Optional. Whether the model is deprecated or not.
Declaration
[JsonProperty("is_deprecated")]
public bool? IsDeprecated { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Name
Gets the name of this object.
Declaration
[JsonIgnore]
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
TokenizerUrl
Optional. Public URL to the tokenizer's configuration file.
Declaration
[JsonProperty("tokenizer_url")]
public string TokenizerUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |