Releases: betalgo/openai
9.0.0
9.0.0
- .NET 9 support added.
⚠️ Support for .NET 6 and .NET 7 has ended.- Fixed utility library issues and synced with latest version.
What's Changed
- dotnet 9 by @kayhantolga in #680
- 9.0.0 by @kayhantolga in #681
Full Changelog: v8.10.1...v9.0.0
8.10.1
8.10.1
- Fixed an issue with the
Store
parameter being included in requests by default, causing errors with Azure OpenAI models. The parameter is now optional and excluded from serialization unless explicitly set.
What's Changed
- sync by @kayhantolga in #676
- Modified the
Store
property inChatCompletionCreateRequest.cs
by @kayhantolga in #677 - 8.10.1 by @kayhantolga in #678
Full Changelog: v8.10.0...v8.10.1
v8.10.0
8.10.0
-
Added support for
Microsoft.Extensions.AI
IChatClient
andIEmbeddingGenerator
(more information will be coming soon to the Wiki). -
Added missing
Temperature
andTopP
parameters toAssistantResponse
. -
Added missing
Store
parameter toChatCompletionCreateRequest
. -
Breaking Changes:
⚠️ CreatedAt
parameter renamed toCreatedAtUnix
and converted tolong
instead ofint
. AddedCreatedAt
parameter asDateTimeOffset
type, which will automatically convert Unix time toDateTime
.
What's Changed
- Feat/add store prop to request by @itsmuntadhar in #664
- #657 add AssistantResponse missing props -> temperature, top_p by @jmuller3 in #658
- Feature/fixed created at type by @kayhantolga in #670
- Add implementations of Microsoft.Extensions.AI's IChatClient / IEmbeddingGenerator by @stephentoub in #659
- 8.10.0 by @kayhantolga in #672
New Contributors
- @itsmuntadhar made their first contribution in #664
- @jmuller3 made their first contribution in #658
- @stephentoub made their first contribution in #659
Full Changelog: v8.9.0...v8.10.0
v8.9.0
- Realtime API ✨NEW
What's Changed
- sync by @kayhantolga in #662
- Realtime Api Integration by @kayhantolga in #667
- 8.9.0 by @kayhantolga in #668
Full Changelog: v8.8.0...v8.9.0
v8.8.0
8.8.0
-
Compatibility Enhancement: You can now use this library alongside the official OpenAI library and/or Semantic Kernel within the same project. The name changes in this update support this feature.
-
Namespace and Package ID Update: The namespace and PackageId have been changed from
Betalgo.OpenAI
toBetalgo.Ranul.OpenAI
. -
OpenAI Naming Consistency: We've standardized the use of "OpenAI" throughout the library, replacing any instances of "OpenAi" or other variations.
-
Migration Instructions: Intellisense should assist you in updating your code. If it doesn't, please make the following changes manually:
- Switch to the new NuGet package:
Betalgo.Ranul.OpenAI
instead ofBetalgo.OpenAI
. - Update all namespaces from
OpenAI
toBetalgo.Ranul.OpenAI
. - Replace all occurrences of "OpenAi", "Openai", or any other variations with "OpenAI".
- Switch to the new NuGet package:
-
Need Help?: If you encounter any issues, feel free to reach out via our Discord channel, Reddit channel, or GitHub discussions. We're happy to assist.
-
Feedback Welcomed: If you notice any mistakes or missing name changes, please create an issue to let us know.
-
Utilities Library Status: Please note that the Utilities library might remain broken for a while. I will focus on fixing it after completing the real-time API implementation.
What's Changed
- sync by @kayhantolga in #652
- Renaming namespace OpenAI to Betalgo.OpenAI to prevent conflict with … by @kayhantolga in #655
- 8.8.0 Betalgo.Ranul.OpenAI by @kayhantolga in #661
Full Changelog: v8.7.2...v8.8.0
v8.7.2
8.7.2
- Fixed incorrect Azure Urls.
- Token usage response extended with
PromptTokensDetails
,audio_tokens
andcached_tokens
. - Model list extended with
Gpt_4o_2024_08_06
andChatgpt_4o_latest
.
What's Changed
- Azure DataPlane Endpoints are updated by @kayhantolga in #648
- Add Cached Tokens to UsageResponse by @Mungert69 in #642
- Updated the model list to include support for new models. by @kayhantolga in #650
- 8.7.2 by @kayhantolga in #651
New Contributors
- @Mungert69 made their first contribution in #642
Full Changelog: v8.7.1...v8.7.2
v8.7.1
8.7.1
- moved
strict
paremeter fromToolDefinition
toFunctionDefinition
What's Changed
- moved strict paremeter from ToolDefinition to FunctionDefinition by @kayhantolga in #638
- 8.7.1 by @kayhantolga in #639
Full Changelog: v8.7.0...v8.7.1
v8.7.0
8.7.0
- Added Support for o1 reasing models (
o1-mini
ando1-preview
). - Added
MaxCompletionTokens
forchat completions
. - Added support for
ParallelToolCalls
forchat completions
. - Added support for
ServiceTier
forchat completions
. - Added support for
ChunkingStrategy
inVector Store
andVector Store Files
. - Added support for
Strict
inToolDefinition
. - Added support for
MaxNumberResults
andRankingOptions
forFileSearchTool
. - Added support for
ReasoningTokens
fortoken usage
. - Added support for
ResponseFormatOneOfType
forAssistantResponse.cs
.
What's Changed
- Utilities update 8.1.0 by @kayhantolga in #621
- sync by @kayhantolga in #630
- Added support for reasoning models by @o-khytrov in #627
- feat: add required as tool choice by @eugene-yao-zocdoc in #624
- added Tool Strict Mode. by @kayhantolga in #631
- chunking strategy in vector store by @kayhantolga in #632
- Added Response Type for Assistant response and fixed ScoreThreshold bug by @kayhantolga in #633
- 8.7.0 by @kayhantolga in #635
- Added support for parallel tool calls and service tier. Improved docu… by @kayhantolga in #634
- 8.7.0 by @kayhantolga in #636
New Contributors
- @o-khytrov made their first contribution in #627
- @eugene-yao-zocdoc made their first contribution in #624
Full Changelog: v8.6.2...v8.7.0
8.6.2
8.6.2
- Added support for Structured Outputs, here is the link for samples: Wiki, Structured Outputs
What's Changed
- 8.6.2 by @kayhantolga in #618
- version update 8.6.2 by @kayhantolga in #619
Full Changelog: v8.6.1...v8.6.2
8.6.1
8.6.1
- Updated Models with new GPT-4o mini model.
What's Changed
- Add support for GPT-4o mini by @ChaseIngersol in #612
- Dev by @kayhantolga in #613
Full Changelog: v8.6.0...v8.6.1