Migration Guide from Predictions Endpoint
Text Generation Migration Example
{ "type": "prediction", "properties": { "input": "Please give me 5 domain suggestions for a flower shop in Berlin. Provide for each domain name a paragraph explaining the domain name and why it is valuable.", "options": { "max_length": "1000", "temperature": "0.5" } } }{ "model": "openai/gpt-oss-120b", "messages": [ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "Please give me 5 domain suggestions for a flower shop in Berlin. Provide for each domain name a paragraph explaining the domain name and why it is valuable." } ], "max_tokens": 2000, "temperature": 0.5 }
Image Generation Migration Example
Migrating from /predictions for Retrieval Augmented Generation (RAG) use case
Step 1: Query Your Document Collection
Step 2: Generate a Response Using Retrieved Context
Last updated
Was this helpful?