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

Add function calling to chat models #115

Closed
ADefWebserver opened this issue Jun 13, 2023 · 10 comments · Fixed by #116, RageAgainstThePixel/com.openai.unity#90 or #118
Closed

Add function calling to chat models #115

ADefWebserver opened this issue Jun 13, 2023 · 10 comments · Fixed by #116, RageAgainstThePixel/com.openai.unity#90 or #118
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ADefWebserver
Copy link
Collaborator

Feature Request

Is your feature request related to a problem? Please describe.

Implement support for the just announced functions.

Additional context

As discussed on the Discord channel, please assign this to me

@ADefWebserver ADefWebserver added the enhancement New feature or request label Jun 13, 2023
@StephenHodgson StephenHodgson added help wanted Extra attention is needed good first issue Good for newcomers labels Jun 14, 2023
@andreboom
Copy link

Any help needed, I will be glad to assist.

@ADefWebserver
Copy link
Collaborator Author

@andreboom Thanks. I hope to have it working by this weekend. I will reach out if I have any issues.

@ADefWebserver
Copy link
Collaborator Author

ADefWebserver commented Jun 14, 2023

To implement the updated API.

I need to:

@StephenHodgson StephenHodgson changed the title Implement Support for Functions Add function calling to chat models Jun 14, 2023
@StephenHodgson StephenHodgson linked a pull request Jun 14, 2023 that will close this issue
@ADefWebserver
Copy link
Collaborator Author

@StephenHodgson Are you still working on this, seems you also need to add function_call to Messages.cs and to add functions to ChatRequest.cs?

@StephenHodgson
Copy link
Member

StephenHodgson commented Jun 14, 2023

@ADefWebserver join us in the chat on Discord.

I only started stubbing things out last night, and got the draft PRs ready for you guys to target.

@StephenHodgson
Copy link
Member

@phoben
Copy link

phoben commented Jun 16, 2023

Great, I just need this. Looking forward!

@StephenHodgson
Copy link
Member

Alright everyone, take one final look before the release tomorrow.

StephenHodgson added a commit that referenced this issue Jun 17, 2023
- Closes #115

---------

Co-authored-by: damiant3 <[email protected]>
@StephenHodgson StephenHodgson linked a pull request Jun 17, 2023 that will close this issue
@justwe-bot
Copy link

justwe-bot commented Jun 17, 2023

@StephenHodgson
GetCompletionAsync can realize the function of function call,
But StreamCompletionAsync does not return the function name and parameters

GetCompletionAsync :
GetCompletionAsync

StreamCompletionAsync :
StreamCompletionAsync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
5 participants