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

draft_response call in server.py for the advanced function call use case #9

Open
IsmailAlaouiAbdellaoui opened this issue Mar 15, 2024 · 2 comments

Comments

@IsmailAlaouiAbdellaoui
Copy link

I believe server.py needs to handle funcResult variable. The function stream_response needs to include this parameter so that draft_response can use it too ( since it will be called in llm_with_func_calling.py with that parameter)

In general, I suggest you guys create a new file called server_with_func_calling.py to include this.

Thanks.

@toddlzt
Copy link
Contributor

toddlzt commented May 7, 2024

Hi @IsmailAlaouiAbdellaoui Thanks for dropping a message here. Just to clarify, why does the server need funcResult? I thought users can use the result locally to do any actions.

@IsmailAlaouiAbdellaoui
Copy link
Author

You're right, I opened this issue back when I was trying function calling, the server actually doesn't need funcResult and you can close the issue. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants