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

Added extra_options parameter to OpenAI and Anthropic plugins #1210

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zahariadaniel16
Copy link

This should have been added by default from the beginning, as we want to have access to all the parameters from the LLM APIs to be able to customize them.

One use case would be observability and monitoring. I tried to integrate LiveKit with Langfuse, and I couldn't pass the additional parameters needed to the completions call.

This PR fixes that and lets other developers customize the LLM settings how they want, instead of waiting for each parameter to be added by the LK team (like the new parallel_tool_calls or tool_choice).

This should have been added by default from the beginning, as we want to have access to all the parameters from the LLM APIs to be able to customize them.

One use case would be observability and monitoring. I tried to integrate LiveKit with Langfuse, and I could pass the additional parameters needed to the completions call.

This PR fixes that and let's other developers customize the LLM settings how they want, instead of waiting for each parameter to be added by the LK team (like parallel_tool_calls or tool_choice).
Copy link

changeset-bot bot commented Dec 11, 2024

🦋 Changeset detected

Latest commit: 1495970

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
livekit-plugins-anthropic Patch
livekit-plugins-openai Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@CLAassistant
Copy link

CLAassistant commented Dec 11, 2024

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

3 participants