Skip to content

Commit

Permalink
Merge pull request #8 from tghamm/feature/v1.1.2
Browse files Browse the repository at this point in the history
Added constant for Claude Instant 1.2, version bump
  • Loading branch information
tghamm authored Aug 9, 2023
2 parents e595efb + 73f25b4 commit 1d6a847
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Anthropic.SDK.Tests/Completions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public async Task TestClaudeStreamingCompletion()
Temperature = 0.0m,
StopSequences = new[] { AnthropicSignals.HumanSignal },
Stream = true,
Model = AnthropicModels.ClaudeInstant_v1_1
Model = AnthropicModels.ClaudeInstant_v1_2
};

await foreach (var res in client.Completions.StreamClaudeCompletionAsync(parameters))
Expand Down
8 changes: 4 additions & 4 deletions Anthropic.SDK/Anthropic.SDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
<PackageTags>Claude, AI, ML, API, Anthropic</PackageTags>
<Title>Claude API</Title>
<PackageReleaseNotes>
Adds model constants and signal types as well as better validations.
Adds new model constants.
</PackageReleaseNotes>
<PackageId>Anthropic.SDK</PackageId>
<Version>1.1.1</Version>
<AssemblyVersion>1.1.1.0</AssemblyVersion>
<FileVersion>1.1.1.0</FileVersion>
<Version>1.1.2</Version>
<AssemblyVersion>1.1.2.0</AssemblyVersion>
<FileVersion>1.1.2.0</FileVersion>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<ProduceReferenceAssembly>True</ProduceReferenceAssembly>
Expand Down
7 changes: 6 additions & 1 deletion Anthropic.SDK/Constants/AnthropicModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,13 @@ public static class AnthropicModels
public const string ClaudeInstant_v1 = "claude-instant-1";

/// <summary>
/// Claude Instant V1.1 latest full version.
/// Claude Instant V1.1 full version.
/// </summary>
public const string ClaudeInstant_v1_1 = "claude-instant-1.1";

/// <summary>
/// Claude Instant V1.2 latest full version.
/// </summary>
public const string ClaudeInstant_v1_2 = "claude-instant-1.2";
}
}

0 comments on commit 1d6a847

Please sign in to comment.