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

Implement new store and metadata params #872

Open
akshaylb opened this issue Oct 8, 2024 · 3 comments
Open

Implement new store and metadata params #872

akshaylb opened this issue Oct 8, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@akshaylb
Copy link

akshaylb commented Oct 8, 2024

Is your feature request related to a problem? Please describe.
OpenAI recently introduced new parameters for distillation.

Describe the solution you'd like
Implement store and metadata fields for the chat completion request. And add a .WithStore(bool) and .WithMetadata(map[string]string) for the OpenAI Client.

@akshaylb akshaylb added the enhancement New feature or request label Oct 8, 2024
@unitythemaker
Copy link

I think this is added with: #870

Not sure about .WithStore(bool) and .WithMetadata(map[string]string) though.

@unitythemaker
Copy link

unitythemaker commented Oct 13, 2024

Hmm, it seems like Store option is not added yet for Chat Completions.

@rmarku
Copy link

rmarku commented Dec 6, 2024

metadata is object, so it should allow things like this:

 "metadata": {
        "tags": ["testTag", "taskName:pass0", "company:meitar"]
    }

This is in particular used by LiteLLM Proxy.

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
None yet
Development

No branches or pull requests

3 participants