Custom Parameters

Custom parameters allow users to add extra metadata that is specific to their workflow which is common among LLM developers. Adding custom parameters help our users a bunch with

Possible parameters

Valyr-Prompt-ID: Unique identifier for this prompt. (ex: "wedding-cards-001")

Valyr-Request-ID: A user specified UUID for that request. (Must be a uuidv4)

Valyr-User-ID: Any string representation of your user. (ex: "fred@example.com")

Adding a custom parameter to your query

You can simply add those as headers like this

  -H 'Valyr-Prompt-ID: "wedding-cards-001"'
  -H 'Valyr-User-ID: "fred@example.com"'

Last updated