Documentation Index
Fetch the complete documentation index at: https://promptlayer-claude-nice-fermi-nop3f.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Every PromptLayer request can be given an integer score 0-100.
To associate a score with a prompt, you can either do this visually from the dashboard or programmatically.
By default, an individual score is named default. You can enrich a request with multiple scores using “named scores” as shown below.
Endpoint Reference
# named score
promptlayer_client.track.score(
request_id=pl_request_id,
score_name="summarization",
score=100
)
# default score
promptlayer_client.track.score(
request_id=pl_request_id,
# score_name="default",
score=100
)