Hey,
I’ve been using a responses API for a while now, and I’ve always wondered whether there’s an “optimal” amount of tokens/words that you can put in its instructions.
For example, my instruction set has around 4k tokens, the input field contains about 1k tokens, and I include a long JSON schema in the text.format field.
It’s something like this:
model: modelId,
input: rawText,
instructions: instructions,
parallel_tool_calls: true,
stream: false,
temperature: 1,
text: {
format: {
name: "job_posting",
schema: jobPostingSchema,
type: "json_schema",
strict: true
}
},
tool_choice: "none"
Do you have any tips on whether this amount of information might confuse the AI?
Also, do you have any tips for writing effective instructions?
Any other tips are appreciated too!
Have a great day!