Skip to content

Commit 64dd7b2

Browse files
committed
feat: rename package
1 parent 3c7f3af commit 64dd7b2

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/workflows/release-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ jobs:
2626
run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
2727

2828
- name: Push
29-
run: dotnet nuget push OpenAi-JsonSchema.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key "${{ secrets.NUGET_APIKEY }}"
30-
#run: dotnet nuget push OpenAi-JsonSchema.${VERSION}.nupkg --source https://nuget.pkg.github.com/acraven/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
29+
run: dotnet nuget push LarchSys.OpenAi.JsonSchema.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key "${{ secrets.NUGET_APIKEY }}"
30+
#run: dotnet nuget push LarchSys.OpenAi.JsonSchema.${VERSION}.nupkg --source https://nuget.pkg.github.com/acraven/index.json --api-key ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
2929

3030
- name: Push
31-
run: dotnet nuget push OpenAi-JsonSchema.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key "${{ secrets.NUGET_APIKEY }}"
32-
#run: dotnet nuget push OpenAi-JsonSchema.${VERSION}.nupkg --source https://nuget.pkg.github.com/acraven/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
31+
run: dotnet nuget push LarchSys.OpenAi.JsonSchema.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key "${{ secrets.NUGET_APIKEY }}"
32+
#run: dotnet nuget push LarchSys.OpenAi.JsonSchema.${VERSION}.nupkg --source https://nuget.pkg.github.com/acraven/index.json --api-key ${{ secrets.GITHUB_TOKEN }}

OpenAi.JsonSchema/OpenAi.JsonSchema.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
</PropertyGroup>
1212

1313
<PropertyGroup Label="Nuget Pack">
14-
<PackageId>OpenAi-JsonSchema</PackageId>
14+
<PackageId>LarchSys.OpenAi.JsonSchema</PackageId>
1515
<Version>0.0.0</Version>
16-
<Title>OpenAi-JsonSchema</Title>
16+
<Title>OpenAi JsonSchema</Title>
1717
<Authors>René Larch</Authors>
1818
<Copyright>Copyright © LarchSys and Wedomagic 2024</Copyright>
1919
<PackageTags>OpenAI;JsonSchema;AI;StructuredOutputs;SchemaGeneration</PackageTags>
2020
<Description>
21-
OpenAi-JsonSchema is a lightweight library for generating valid JSON Schema
21+
OpenAi.JsonSchema is a lightweight library for generating valid JSON Schema
2222
for OpenAI models' Structured Outputs feature. It supports a wide range of types,
2323
ensures compatibility with OpenAI's JSON Schema format, and leverages C# descriptions
2424
and attributes for schema generation.

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# OpenAi-JsonSchema
1+
# OpenAi JsonSchema
22

3-
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/r-Larch/OpenAi.JsonSchema/ci.yml) ![NuGet Version](https://img.shields.io/nuget/v/OpenAi-JsonSchema)
3+
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/r-Larch/OpenAi.JsonSchema/ci.yml) ![NuGet Version](https://img.shields.io/nuget/v/LarchSys.OpenAi.JsonSchema)
44

55
**OpenAi-JsonSchema** is a lightweight library for generating valid JSON Schema for OpenAI's Structured Outputs feature, ensuring compatibility with OpenAI's JSON Schema subset. It simplifies the creation of structured outputs for OpenAI models, following the schema generation guidelines provided by OpenAI.
66

@@ -12,15 +12,15 @@
1212

1313
## Installation
1414

15-
Install via [NuGet](https://www.nuget.org/packages/OpenAi-JsonSchema):
15+
Install via [NuGet](https://www.nuget.org/packages/LarchSys.OpenAi.JsonSchema):
1616

1717
```bash
18-
Install-Package OpenAi-JsonSchema
18+
Install-Package LarchSys.OpenAi.JsonSchema
1919
```
2020

2121
## Quick Start
2222

23-
The following example demonstrates how to generate a JSON Schema using the **OpenAi-JsonSchema** library.
23+
The following example demonstrates how to generate a JSON Schema using the **LarchSys.OpenAi.JsonSchema** library.
2424

2525
```csharp
2626
var options = new JsonSchemaOptions(SchemaDefaults.OpenAi);
@@ -114,7 +114,7 @@ public record Line(
114114

115115
## How It Works
116116

117-
OpenAi-JsonSchema simplifies the generation of JSON Schema for structured outputs using C# classes and attributes. It leverages the `System.ComponentModel.DescriptionAttribute` for field descriptions and supports nullable reference types, ensuring full compatibility with the JSON Schema language supported by OpenAI models.
117+
OpenAi JsonSchema simplifies the generation of JSON Schema for structured outputs using C# classes and attributes. It leverages the `System.ComponentModel.DescriptionAttribute` for field descriptions and supports nullable reference types, ensuring full compatibility with the JSON Schema language supported by OpenAI models.
118118

119119
For more details on the OpenAI Structured Outputs feature, check out:
120120
- [Introducing Structured Outputs in the OpenAI API](https://openai.com/index/introducing-structured-outputs-in-the-api/)

0 commit comments

Comments
 (0)