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

erros in the locally deployed gorilla. #292

Open
wangbochao1 opened this issue Mar 28, 2024 · 2 comments
Open

erros in the locally deployed gorilla. #292

wangbochao1 opened this issue Mar 28, 2024 · 2 comments
Labels
hosted-openfunctions-v2 Issues with OpenFunctions-v2

Comments

@wangbochao1
Copy link

Thank you very much for sharing such an excellent project.

The official URL ('http://luigi.millennium.berkeley.edu:8000/v1') can be called normally, and the returned result includes the 'function_call' field. However, why does the self-deployed gorilla not have a value for the 'function_call' field?

(The code is identical, with the only difference being the URL.)

@ShishirPatil

@wangbochao1 wangbochao1 added the hosted-openfunctions-v2 Issues with OpenFunctions-v2 label Mar 28, 2024
@wangbochao1
Copy link
Author

@tianjunz

@ShishirPatil
Copy link
Owner

Hey @wangbochao1 we use the AST parser to generate the function_call from the string. This should not be happening, have you tried this

def format_response(response: str):
?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hosted-openfunctions-v2 Issues with OpenFunctions-v2
Projects
None yet
Development

No branches or pull requests

2 participants