Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:Update README with installation instructions and usage examples #35

Merged
merged 1 commit into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/libs/Cohere/Generated/Cohere.Models.BaseModel.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public sealed partial class BaseModel
/// <summary>
/// The possible types of fine-tuned models.<br/>
/// - BASE_TYPE_UNSPECIFIED: Unspecified model.<br/>
/// - BASE_TYPE_GENERATIVE: Generative model.<br/>
/// - BASE_TYPE_GENERATIVE: Deprecated: Generative model.<br/>
/// - BASE_TYPE_CLASSIFICATION: Classification model.<br/>
/// - BASE_TYPE_RERANK: Rerank model.<br/>
/// - BASE_TYPE_CHAT: Chat model.<br/>
Expand All @@ -37,7 +37,7 @@ public sealed partial class BaseModel
/// <summary>
/// The possible strategy used to serve a fine-tuned models.<br/>
/// - STRATEGY_UNSPECIFIED: Unspecified strategy.<br/>
/// - STRATEGY_VANILLA: Serve the fine-tuned model on a dedicated GPU.<br/>
/// - STRATEGY_VANILLA: Deprecated: Serve the fine-tuned model on a dedicated GPU.<br/>
/// - STRATEGY_TFEW: Serve the fine-tuned model on a shared GPU.<br/>
/// Default Value: STRATEGY_UNSPECIFIED
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.Models.BaseType.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Cohere
/// <summary>
/// The possible types of fine-tuned models.<br/>
/// - BASE_TYPE_UNSPECIFIED: Unspecified model.<br/>
/// - BASE_TYPE_GENERATIVE: Generative model.<br/>
/// - BASE_TYPE_GENERATIVE: Deprecated: Generative model.<br/>
/// - BASE_TYPE_CLASSIFICATION: Classification model.<br/>
/// - BASE_TYPE_RERANK: Rerank model.<br/>
/// - BASE_TYPE_CHAT: Chat model.<br/>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Cohere/Generated/Cohere.Models.Strategy.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Cohere
/// <summary>
/// The possible strategy used to serve a fine-tuned models.<br/>
/// - STRATEGY_UNSPECIFIED: Unspecified strategy.<br/>
/// - STRATEGY_VANILLA: Serve the fine-tuned model on a dedicated GPU.<br/>
/// - STRATEGY_VANILLA: Deprecated: Serve the fine-tuned model on a dedicated GPU.<br/>
/// - STRATEGY_TFEW: Serve the fine-tuned model on a shared GPU.<br/>
/// Default Value: STRATEGY_UNSPECIFIED
/// </summary>
Expand Down
31 changes: 0 additions & 31 deletions src/libs/Cohere/Generated/Cohere.Models.ToolContent.g.cs

This file was deleted.

18 changes: 0 additions & 18 deletions src/libs/Cohere/Generated/Cohere.Models.ToolContentOutput.g.cs

This file was deleted.

45 changes: 0 additions & 45 deletions src/libs/Cohere/Generated/Cohere.Models.ToolContentType.g.cs

This file was deleted.

8 changes: 3 additions & 5 deletions src/libs/Cohere/Generated/Cohere.Models.ToolMessage2.g.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

#pragma warning disable CS0618 // Type or member is obsolete

#nullable enable

namespace Cohere
Expand All @@ -18,18 +16,18 @@ public sealed partial class ToolMessage2
public global::Cohere.ToolMessage2Role Role { get; set; }

/// <summary>
///
/// The id of the associated tool call that has provided the given content
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("tool_call_id")]
[global::System.Text.Json.Serialization.JsonRequired]
public required string ToolCallId { get; set; }

/// <summary>
///
/// A list of outputs from a tool. The content should formatted as a JSON object string
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("tool_content")]
[global::System.Text.Json.Serialization.JsonRequired]
public required global::System.Collections.Generic.IList<global::System.OneOf<global::Cohere.ToolContent>> ToolContent { get; set; }
public required global::System.Collections.Generic.IList<string> ToolContent { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
49 changes: 0 additions & 49 deletions src/libs/Cohere/Generated/JsonConverters.ToolContentType.g.cs

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions src/libs/Cohere/Generated/JsonSerializerContext.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ namespace Cohere
typeof(global::OpenApiGenerator.JsonConverters.AssistantMessageRoleNullableJsonConverter),
typeof(global::OpenApiGenerator.JsonConverters.SystemMessageRoleJsonConverter),
typeof(global::OpenApiGenerator.JsonConverters.SystemMessageRoleNullableJsonConverter),
typeof(global::OpenApiGenerator.JsonConverters.ToolContentTypeJsonConverter),
typeof(global::OpenApiGenerator.JsonConverters.ToolContentTypeNullableJsonConverter),
typeof(global::OpenApiGenerator.JsonConverters.ToolMessage2RoleJsonConverter),
typeof(global::OpenApiGenerator.JsonConverters.ToolMessage2RoleNullableJsonConverter),
typeof(global::OpenApiGenerator.JsonConverters.Tool2TypeJsonConverter),
Expand Down
Loading
Loading