Metadata field? (chat completions and assistant/message API)

What is the metadata field? – Set of 16 key-value pairs that can be attached to an object

It’s on both chat completions + assistant/message API – I do have context in my app that I want to share (currently selected object(s) id, currently focused item, other metadata) so this might be something I could use.

If that is what this is for then how would I reference that context in the text part of a message? perhaps 1. “The object id is in key named “objectId” in metadata” or. 2. maybe just have the keyname we very self evident (projectId, selectedCount, pageId, etc. etc.)

Thanks for any hints
-J

It is not AI-seen information. It is metadata.

On Chat Completions, it is only used along with the store parameter for the evals or distillation product.

1 Like