API/ SDK results.model_params returning null, would expect values like temperature, response format, etc to be returned within that key.
curl -X POST "https://parea-ai-backend-us-9ac16cdbc7a7b006.onporter.run/api/parea/v1/deployed-prompt" \
-H "Content-Type: application/json" \
-H "x-api-key: <your_api_key>" \
-d '{
"deployment_id": "x",
"llm_inputs": {
"hello": "Hello",
"world": "World"
}
}'
{
"deployment_id": "x",
"name": "test",
"functions": [],
"function_call": null,
"prompt": {
"raw_messages": [
{
"role": "user",
"content": "Use the following pieces of context from Nike's financial 10k filings dataset to answer the question. Do not make up an answer if no context is provided to help answer it.\n\nContext:\n---------\n{{context}}\n\n---------\nQuestion: {{question}}\n---------\n\nAnswer:"
}
],
"messages": [
{
"content": "Use the following pieces of context from Nike's financial 10k filings dataset to answer the question. Do not make up an answer if no context is provided to help answer it.\n\nContext:\n---------\n{{context}}\n\n---------\nQuestion: {{question}}\n---------\n\nAnswer:",
"role": "user"
}
],
"inputs": {
"messages": "Hello",
"userResponse": "World"
}
},
"model": "gpt-3.5-turbo-0125",
"provider": "openai",
"model_params": null
}