Skip to content

Decided how/if to make data retention on provider side configurable in AI Bridge #79

Description

@pawbana

OpenAI allows to configure if request will be stored or not on the provider side:

It is possible to retrieve both chat completions or responses though API

Example on configuring data retention from openAI docs: https://platform.openai.com/docs/guides/migrate-to-responses#4-decide-when-to-use-statefulness

AI Bridge could be configurable to set those storage options. Possible options

  • reject requests that would result in data being stored in provider API
  • override store field value for all requests + add ["reasoning.encrypted_content"] to the include field)

It seems that Anthropic doesn't support configuring data retention in requests (https://privacy.claude.com/en/articles/7996866-how-long-do-you-store-my-organization-s-data https://platform.claude.com/docs/en/api/messages/create).
Zero data retention requires special agreement: https://privacy.claude.com/en/articles/8956058-i-have-a-zero-data-retention-agreement-with-anthropic-what-products-does-it-apply-to
Maybe more research is needed to about storing Anthropic messages.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions