Skip to content

Predefined Metadata Keys

Compare
Choose a tag to compare
@ayush-portkey ayush-portkey released this 15 Jun 10:42
· 9 commits to main since this release
93315fe

Portkey introduces four predefined metadata keys: _environment, _user, _organisation, and _prompt. These keys allow for easy indexing and filtering of data in Portkey's analytics and logs sections. The _user key automatically captures the user key from the OpenAI request body and can also be provided as metadata. Leveraging these predefined keys enhances data organization and filtering capabilities in Portkey.