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

[8.x] [inference] add support for `auto` function calling mode (#208144) #208193

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

)

## Summary

Fix elastic#208143

Add a new value for the `functionCalling` parameter, `auto`, which is
the new default.

When `functionCalling=auto`, the system will detect if the underlying
model/provider supports native function calling, and otherwise
automatically fallback to simulated function calling.

(cherry picked from commit c22b982)
@kibanamachine kibanamachine merged commit 7a1bb4d into elastic:8.x Jan 24, 2025
11 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #20 / Configure updates field options correctly when not required

Metrics [docs]

✅ unchanged

cc @pgayvallet

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

Successfully merging this pull request may close these issues.

3 participants