Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add store parameter to request #298

Closed
hugohmn opened this issue Dec 12, 2024 · 1 comment
Closed

Add store parameter to request #298

hugohmn opened this issue Dec 12, 2024 · 1 comment

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
@64bit
Copy link
Owner

64bit commented Jan 11, 2025

This is available in v0.27.0

@64bit 64bit closed this as completed Jan 11, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants