Spread versus total rate
Model input
Synthetic agreement: interest = reference rate + 250 basis points. Reference rate not supplied.
Extract expressly stated agreement terms from synthetic documents.
Step 01
Upload sample data, define your output schema, and provide feedback on the hardest cases.
Stated spread in basis points, separate from the reference rate.
All-in interest rate; not provided when the reference rate is missing.
Final maturity, rather than the agreement’s effective date. Use YYYY-MM-DD; not provided if unknown.
Currently effective limit; not provided if it cannot be established.
Whether a change is effective or still requires approval.
Extract expressly stated agreement terms from synthetic documents.
Synthetic agreement: interest = reference rate + 250 basis points. Reference rate not supplied.
Sutro can now generalize the rules based on your feedback.
Step 02
Compare quality and cost on your examples, then choose a model or use Sutro’s default.
Compare models on expert agreement and cost. The interactive chart uses illustrative measurements.
Illustrative sweep · select Value or Best to use that model in your function.
Step 03
Call Sutro Functions like any other software. Swap the model as soon as something more performant is released.
import sutro as so
input_data = {
"text": "Synthetic agreement: interest = reference rate + 250 basis points. Reference rate not supplied."
}
result = so.run_function(
"credit-agreement-extraction",
input_data,
)curl --fail-with-body -X POST "${SUTRO_API_URL%/}/v1/functions/credit-agreement-extraction/run" \
-H "Authorization: Key $SUTRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"text": "Synthetic agreement: interest = reference rate + 250 basis points. Reference rate not supplied."
}
}'import sutro as so
job_id = so.batch_run_function(
name="credit-agreement-extraction",
data="credit_agreement_extraction.csv",
)
results = so.await_job_completion(job_id)curl --fail-with-body -X POST "${SUTRO_API_URL%/}/v1/batch-inference" \
-H "Authorization: Key $SUTRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "credit-agreement-extraction",
"inputs": [
{
"text": "Synthetic agreement: interest = reference rate + 250 basis points. Reference rate not supplied."
}
]
}'