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

[Feature Request] Support Enum type in function calling #360

Closed
1 of 2 tasks
lightaime opened this issue Nov 9, 2023 · 0 comments · Fixed by #393
Closed
1 of 2 tasks

[Feature Request] Support Enum type in function calling #360

lightaime opened this issue Nov 9, 2023 · 0 comments · Fixed by #393
Labels
enhancement New feature or request

Comments

@lightaime
Copy link
Member

Required prerequisites

Motivation

The current function calling implementation does not support Enum. For example, the get_weather_data tool may not work as expected since the input arguments like time_units should be enum types: #334. The agent may hallucinate an invalid input if enum types are not supported.

Solution

No response

Alternatives

No response

Additional context

No response

@lightaime lightaime added the enhancement New feature or request label Nov 9, 2023
@lightaime lightaime self-assigned this Nov 9, 2023
@lightaime lightaime removed their assignment Nov 9, 2023
@lightaime lightaime moved this to Backlog in Project Camel Nov 9, 2023
@Wendong-Fan Wendong-Fan removed the status in Project Camel Jan 29, 2024
@Wendong-Fan Wendong-Fan moved this to Merged or Closed in Project Camel Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Merged or Closed
Development

Successfully merging a pull request may close this issue.

1 participant