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

OpenAI-DotNet 7.7.0 #241

Merged
merged 10 commits into from
Feb 22, 2024
Merged

OpenAI-DotNet 7.7.0 #241

merged 10 commits into from
Feb 22, 2024

Conversation

StephenHodgson
Copy link
Member

@StephenHodgson StephenHodgson commented Feb 19, 2024

  • Added Tool call and Function call Utilities and helper methods
    • Added FunctionAttribute to decorate methods to be identified and used in function calling
    • Chat.Message.ToolCalls can be directly invoked using Function.Invoke() or Function.InvokeAsync(CancellationToken)
    • Assistant tool call outputs can be easily generated using assistnat.GetToolOutputAsync(run.RequiredAction.SubmitToolOutputs.ToolCalls)
    • Check updated docs for more details and examples
  • Fixed ChatRequest seed parameter not being set correctly when using tools

- Added Tool call and Function call Utilities and helper methods
  - Chat.Message.ToolCalls can be directly invoked using Function.Invoke() or Function.InvokeAsync(CancellationToken)
  - Assistant tool call outputs can be easily generated using assistnat.GetToolOutputAsync(run.RequiredAction.SubmitToolOutputs.ToolCalls)
  - Check updated docs for more details and examples
- Fixed ChatRequest seed parameter not being set correctly
@StephenHodgson StephenHodgson linked an issue Feb 19, 2024 that may be closed by this pull request
ADefWebserver
ADefWebserver previously approved these changes Feb 19, 2024
updated pinned models in tests
@StephenHodgson StephenHodgson marked this pull request as ready for review February 21, 2024 05:40
@StephenHodgson StephenHodgson merged commit 192c765 into main Feb 22, 2024
5 checks passed
@StephenHodgson StephenHodgson deleted the development branch February 22, 2024 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

small typo in readme file (modify assistant) ChatRequest with tools does not allow seed value
2 participants