Measure and optimize prompt quality using Galileo’s Prompt Perplexity Metric to improve model performance and response generation
Calculate Token Probabilities
Average Log Probabilities
Apply Exponential
Final Formula
pq.run(...)
, using the chosen modeldavinci-001
davinci-001
pq.run(...)
, using the chosen modeltext-davinci-003
or text-curie-001
, if available in your Azure deploymenttext-davinci-003
or text-curie-001
, if available in your Azure deploymentdavinci-001
, text-davinci-003
, or text-curie-001
.