Replies: 2 comments
-
|
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.
-
|
You're right that the docs are somewhat misleading. The They're the same mechanism: when So the docs are technically accurate -- it stores the data "for use in distillation or evals" -- but they undersell that the most immediately visible effect is that your requests appear in the Logs tab. The Logs tab isn't a separate logging system; it's a view into that same stored data. Worth noting:
|
Beta Was this translation helpful? Give feedback.
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