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

8.8.0 Betalgo.Ranul.OpenAI #661

Merged
merged 6 commits into from
Nov 1, 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
6 changes: 3 additions & 3 deletions .github/workflows/BuildAndDeployBetalgoOpenAI.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build And Deploy Betalgo.OpenAI
name: Build And Deploy Betalgo.Ranul.OpenAI

on:
push:
Expand Down Expand Up @@ -28,7 +28,7 @@ jobs:
id: publish_nuget_OpenAI
uses: alirezanet/publish-nuget@v3.1.0
with:
PROJECT_FILE_PATH: OpenAI.SDK\OpenAI.csproj
PROJECT_FILE_PATH: OpenAI.SDK\Betalgo.Ranul.OpenAI.csproj
NUGET_KEY: ${{secrets.NUGET_KEY}}
INCLUDE_SYMBOLS: true
PACKAGE_NAME: Betalgo.OpenAI
PACKAGE_NAME: Betalgo.Ranul.OpenAI
2 changes: 1 addition & 1 deletion .github/workflows/BuildAndDeployBetalgoOpenAIUtilities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
id: publish_nuget_OpenAI
uses: alirezanet/publish-nuget@v3.1.0
with:
PROJECT_FILE_PATH: OpenAI.Utilities\OpenAI.Utilities.csproj
PROJECT_FILE_PATH: OpenAI.Utilities\Betalgo.OpenAI.Utilities.csproj
NUGET_KEY: ${{secrets.NUGET_KEY}}
INCLUDE_SYMBOLS: true
PACKAGE_NAME: Betalgo.OpenAI.Utilities
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using OpenAI.ObjectModels.ResponseModels;
using Betalgo.Ranul.OpenAI.ObjectModels.ResponseModels;

namespace OpenAI.Playground.ExtensionsAndHelpers;

Expand Down
10 changes: 5 additions & 5 deletions OpenAI.Playground/OpenAI.Playground.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="LaserCatEyes.HttpClientListener" Version="8.0.0" />
<PackageReference Include="LaserCatEyes.HttpClientListener" Version="8.0.1" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
</ItemGroup>

Expand All @@ -48,11 +48,11 @@

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
<PackageReference Include="System.Net.Http.Json" Version="8.0.0" />
<PackageReference Include="System.Net.Http.Json" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\OpenAI.SDK\OpenAI.csproj" />
<ProjectReference Include="..\OpenAI.SDK\Betalgo.Ranul.OpenAI.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions OpenAI.Playground/Program.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using LaserCatEyes.HttpClientListener;
using Betalgo.Ranul.OpenAI.Extensions;
using Betalgo.Ranul.OpenAI.Interfaces;
using LaserCatEyes.HttpClientListener;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using OpenAI.Extensions;
using OpenAI.Interfaces;
using OpenAI.Playground.TestHelpers;

var builder = new ConfigurationBuilder().AddJsonFile("ApiSettings.json").AddUserSecrets<Program>();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using OpenAI.ObjectModels.RequestModels;
using OpenAI.ObjectModels.SharedModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.ObjectModels.RequestModels;
using Betalgo.Ranul.OpenAI.ObjectModels.SharedModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers.AssistantHelpers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System.Text;
using OpenAI.Builders;
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using OpenAI.ObjectModels.RequestModels;
using OpenAI.ObjectModels.SharedModels;
using Betalgo.Ranul.OpenAI.Builders;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.ObjectModels.RequestModels;
using Betalgo.Ranul.OpenAI.ObjectModels.SharedModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers.AssistantHelpers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using OpenAI.ObjectModels.RequestModels;
using OpenAI.ObjectModels.SharedModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.ObjectModels.RequestModels;
using Betalgo.Ranul.OpenAI.ObjectModels.SharedModels;
using OpenAI.Playground.ExtensionsAndHelpers;
using static OpenAI.ObjectModels.StaticValues;

namespace OpenAI.Playground.TestHelpers.AssistantHelpers;

Expand Down Expand Up @@ -43,7 +42,7 @@ public static async Task CreateMessage(IOpenAIService openAI)
}

CreatedThreadId = thread.Id;
var result = await openAI.Beta.Messages.CreateMessage(CreatedThreadId, new(AssistantsStatics.MessageStatics.Roles.User, new("How does AI work? Explain it in simple terms.")));
var result = await openAI.Beta.Messages.CreateMessage(CreatedThreadId, new(StaticValues.AssistantsStatics.MessageStatics.Roles.User, new("How does AI work? Explain it in simple terms.")));
if (result.Successful)
{
CreatedMessageId = result.Id;
Expand Down Expand Up @@ -89,12 +88,12 @@ public static async Task CreateMessageWithImage(IOpenAIService openAI)

MessageContentOneOfType content = new([
MessageContent.TextContent(prompt),
MessageContent.ImageFileContent(uploadFileId, ImageStatics.ImageDetailTypes.High)
MessageContent.ImageFileContent(uploadFileId, StaticValues.ImageStatics.ImageDetailTypes.High)
]);

MessageCreateRequest request = new()
{
Role = AssistantsStatics.MessageStatics.Roles.User,
Role = StaticValues.AssistantsStatics.MessageStatics.Roles.User,
Content = content
};

Expand Down
10 changes: 5 additions & 5 deletions OpenAI.Playground/TestHelpers/AssistantHelpers/RunTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using OpenAI.ObjectModels.RequestModels;
using OpenAI.ObjectModels.ResponseModels;
using OpenAI.ObjectModels.SharedModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.ObjectModels.RequestModels;
using Betalgo.Ranul.OpenAI.ObjectModels.ResponseModels;
using Betalgo.Ranul.OpenAI.ObjectModels.SharedModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers.AssistantHelpers;
Expand Down
10 changes: 5 additions & 5 deletions OpenAI.Playground/TestHelpers/AssistantHelpers/RunTestHelper2.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using OpenAI.Builders;
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using OpenAI.ObjectModels.RequestModels;
using OpenAI.ObjectModels.SharedModels;
using Betalgo.Ranul.OpenAI.Builders;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.ObjectModels.RequestModels;
using Betalgo.Ranul.OpenAI.ObjectModels.SharedModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers.AssistantHelpers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.Interfaces;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers.AssistantHelpers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using OpenAI.ObjectModels.ResponseModels.VectorStoreResponseModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.ObjectModels.ResponseModels.VectorStoreResponseModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers.AssistantHelpers;
Expand Down
4 changes: 2 additions & 2 deletions OpenAI.Playground/TestHelpers/AudioTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
2 changes: 1 addition & 1 deletion OpenAI.Playground/TestHelpers/BatchTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.Interfaces;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
10 changes: 5 additions & 5 deletions OpenAI.Playground/TestHelpers/ChatCompletionTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using OpenAI.Builders;
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using OpenAI.ObjectModels.RequestModels;
using OpenAI.ObjectModels.SharedModels;
using Betalgo.Ranul.OpenAI.Builders;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.ObjectModels.RequestModels;
using Betalgo.Ranul.OpenAI.ObjectModels.SharedModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
4 changes: 2 additions & 2 deletions OpenAI.Playground/TestHelpers/CompletionTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
4 changes: 2 additions & 2 deletions OpenAI.Playground/TestHelpers/EditTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
4 changes: 2 additions & 2 deletions OpenAI.Playground/TestHelpers/EmbeddingTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
4 changes: 2 additions & 2 deletions OpenAI.Playground/TestHelpers/FileTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Text;
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
8 changes: 4 additions & 4 deletions OpenAI.Playground/TestHelpers/FineTuningJobTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using OpenAI.ObjectModels.RequestModels;
using OpenAI.ObjectModels.ResponseModels.FineTuningJobResponseModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.ObjectModels.RequestModels;
using Betalgo.Ranul.OpenAI.ObjectModels.ResponseModels.FineTuningJobResponseModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
6 changes: 3 additions & 3 deletions OpenAI.Playground/TestHelpers/FineTuningTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using OpenAI.ObjectModels.ResponseModels.FineTuneResponseModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.ObjectModels.ResponseModels.FineTuneResponseModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
4 changes: 2 additions & 2 deletions OpenAI.Playground/TestHelpers/ImageTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
2 changes: 1 addition & 1 deletion OpenAI.Playground/TestHelpers/ModelTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.Interfaces;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
2 changes: 1 addition & 1 deletion OpenAI.Playground/TestHelpers/ModerationTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.Interfaces;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
4 changes: 2 additions & 2 deletions OpenAI.Playground/TestHelpers/Predefined.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using OpenAI.ObjectModels.RequestModels;
using OpenAI.ObjectModels.SharedModels;
using Betalgo.Ranul.OpenAI.ObjectModels.RequestModels;
using Betalgo.Ranul.OpenAI.ObjectModels.SharedModels;

namespace OpenAI.Playground.TestHelpers;

Expand Down
2 changes: 1 addition & 1 deletion OpenAI.Playground/TestHelpers/ThreadTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.Interfaces;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;
Expand Down
4 changes: 2 additions & 2 deletions OpenAI.Playground/TestHelpers/TokenizerTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using OpenAI.Playground.ExtensionsAndHelpers;
using OpenAI.Tokenizer.GPT3;
using Betalgo.Ranul.OpenAI.Tokenizer.GPT3;
using OpenAI.Playground.ExtensionsAndHelpers;

namespace OpenAI.Playground.TestHelpers;

Expand Down
13 changes: 6 additions & 7 deletions OpenAI.Playground/TestHelpers/VisionTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using OpenAI.Interfaces;
using OpenAI.ObjectModels;
using OpenAI.ObjectModels.RequestModels;
using Betalgo.Ranul.OpenAI.Interfaces;
using Betalgo.Ranul.OpenAI.ObjectModels;
using Betalgo.Ranul.OpenAI.ObjectModels.RequestModels;
using OpenAI.Playground.ExtensionsAndHelpers;
using static OpenAI.ObjectModels.StaticValues;

namespace OpenAI.Playground.TestHelpers;

Expand All @@ -25,7 +24,7 @@ public static async Task RunSimpleVisionTest(IOpenAIService sdk)
{
MessageContent.TextContent("What is on the picture in details?"),
MessageContent.ImageUrlContent("https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg",
ImageStatics.ImageDetailTypes.High)
StaticValues.ImageStatics.ImageDetailTypes.High)
})
},
MaxTokens = 300,
Expand Down Expand Up @@ -70,7 +69,7 @@ public static async Task RunSimpleVisionStreamTest(IOpenAIService sdk)
{
MessageContent.TextContent("What’s in this image?"),
MessageContent.ImageUrlContent("https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg",
ImageStatics.ImageDetailTypes.Low)
StaticValues.ImageStatics.ImageDetailTypes.Low)
})
},
MaxTokens = 300,
Expand Down Expand Up @@ -124,7 +123,7 @@ public static async Task RunSimpleVisionTestUsingBase64EncodedImage(IOpenAIServi
ChatMessage.FromUser(new List<MessageContent>
{
MessageContent.TextContent("What is on the picture in details?"),
MessageContent.ImageBinaryContent(originalFile, ImageStatics.ImageFileTypes.Png, ImageStatics.ImageDetailTypes.High)
MessageContent.ImageBinaryContent(originalFile, StaticValues.ImageStatics.ImageFileTypes.Png, StaticValues.ImageStatics.ImageDetailTypes.High)
})
},
MaxTokens = 300,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
<PackageIcon>Betalgo-Ranul-OpenAI-icon.png</PackageIcon>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Title>OpenAI SDK by Betalgo</Title>
<Version>8.7.2</Version>
<Version>8.8.0</Version>
<Authors>Tolga Kayhan, Betalgo</Authors>
<Company>Betalgo Up Ltd.</Company>
<Product>OpenAI ChatGPT, Whisper, GPT-4 and DALL·E dotnet SDK</Product>
<Description>Dotnet SDK for OpenAI ChatGPT, Whisper, GPT-4 and DALL·E</Description>
<Product>OpenAI .NET library by Betalgo Ranul</Product>
<Description>.NET library for the OpenAI service API by Betalgo Ranul</Description>
<RepositoryUrl>https://github.com/betalgo/openai/</RepositoryUrl>
<PackageTags>openAI,chatGPT,gpt-4, gpt-3,DALL·E,whisper,azureOpenAI,ai,betalgo,NLP,dalle,,dall-e,OpenAI,OpenAi,openAi,azure</PackageTags>
<PackageId>Betalgo.OpenAI</PackageId>
<PackageId>Betalgo.Ranul.OpenAI</PackageId>
<PackageReadmeFile>Readme.md</PackageReadmeFile>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<RepositoryUrl>https://github.com/betalgo/openai.git</RepositoryUrl>
Expand Down Expand Up @@ -53,7 +53,7 @@
</None>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
Expand All @@ -68,6 +68,6 @@
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Net.Http.Json" Version="8.0.0" />
<PackageReference Include="System.Net.Http.Json" Version="8.0.1" />
</ItemGroup>
</Project>
6 changes: 3 additions & 3 deletions OpenAI.SDK/Builders/FunctionDefinitionBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using OpenAI.ObjectModels.RequestModels;
using OpenAI.ObjectModels.SharedModels;
using Betalgo.Ranul.OpenAI.ObjectModels.RequestModels;
using Betalgo.Ranul.OpenAI.ObjectModels.SharedModels;

namespace OpenAI.Builders;
namespace Betalgo.Ranul.OpenAI.Builders;

/// <summary>
/// FunctionDefinitionBuilder is used to build and validate a FunctionDefinition object.
Expand Down
Loading
Loading