Metadata

The metadata object is an arbitrary set of string key-value pairs.

You can use this metadata object to attach custom data to a conversation. These fields can then as filters or slice dimensions within Context.ai. There is a limit of 20 metadata keys per conversation and 40 character limit for each metadata key and value.

Example

{
   "model": "gpt-4-32k",
   "user_id": "4729045",
   "session_id": "3876-6592",
}

Last updated