Replies: 1 comment
-
|
The What it actually does: response = client.chat.completions.create(
model="gpt-4",
messages=[...],
store=True # Stores the request for fine-tuning/analysis
)When
When
Privacy implications: # For sensitive data
response = client.chat.completions.create(
...,
store=False # Don't retain content
)The docs issue: Recommendation: # Production with PII
store=False
# Building training data
store=TrueWe manage API compliance at RevolutionAI. This distinction matters for GDPR/HIPAA! Would be great if docs clarified the retention vs logging difference. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to get my API calls to show up in the "Logs" pane in the OpenAI API dashboard.
I discovered that setting
store=True,does exactly what I want on a per-API call basis, however when reading the description of the parameter in the docstring I see thisopenai-python/src/openai/resources/chat/completions/completions.py
Lines 470 to 474 in 41ee03f
Which seems to be innacurate to me.
Is this flag really controlling whether or not to store the output for model distillation? or is it simply controlling if my request shows up in the "Logs" tab?
Edit: Also wanted to note that this is also the official description in the API reference
https://platform.openai.com/docs/api-reference/chat/create#chat_create-store
Beta Was this translation helpful? Give feedback.
All reactions