Welcome to Portkey Forum

Updated 9 months ago

Prompt Formatting Flexibility

you could write the prompt in a way that it goes through cot right? I can share an example if that's what you're looking for?
d
r
5 comments
Yes Rohit, wanted to add more Reasoning to the loop, but wanna do it without adding too much latency, that's why wanted to prefer Prompts Model
Typically you'd add an instruction like "Think about this step-by-step first and then give me the answer"

I could modify this more if you can share your use case.

Many times, I like outputs as JSON so I'd ask for an answer and then say:

Respond in this JSON format: {"reason": "think step-by-step and give a detailed reasoning on the question and the answer", "answer": "the final answer"}
Have been using think step by step for quite sometime but its still not good, happy to discuss use-case on DM
yep, we could do a call sometime next week too
Add a reply
Sign up and join the conversation on Discord