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

Add store parameter to request #298

Open
hugohmn opened this issue Dec 12, 2024 · 0 comments
Open

Add store parameter to request #298

hugohmn opened this issue Dec 12, 2024 · 0 comments

Comments

@hugohmn
Copy link

hugohmn commented Dec 12, 2024

Hello,

Would be great to add the new parameter store to requests, to be able to use evaluations and distillation features.

see :
https://community.openai.com/t/chat-completions-history-on-openai-dashboard/987804
https://platform.openai.com/docs/guides/distillation/send-fine-tuned

Maybe something that would look like this :

let request = CreateChatCompletionRequestArgs::default()
        .max_tokens(512u32)
        .model("gpt-4o-mini")
        .messages([
            ChatCompletionRequestUserMessageArgs::default()
                .content("Hi")
                .build()?
                .into(),
        ])
        .store(true)
        .build()?;

Thanks

@hugohmn hugohmn changed the title Add **store** parameter to request Add store parameter to request Dec 12, 2024
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

No branches or pull requests

1 participant