Excited to be here! I'm DevRay, ๐ง Has anyone tried dynamically switching LLM prompts based on user intent (e.g., symptom checker vs. career advice) within a single Groq session? Curious how you structure that without bloating token usage.
Looking forward to learning, sharing, and building with everyone!
Thatโs a good question! Iโve only built systems like this that chain prompts together, but I havenโt tried doing this ins a single Groq API call.
We have a new Prompt Engineering Pattern Guide that โ@benank put together, and thereโs examples of Chain of Thought, Guided CoT, ReAct, and Chain of Verification โ I think with a combination of those prompt techniques you might get something that might work.
That Prompt Engineering Pattern Guide sounds incredibly helpful โ Iโll definitely check it out. I think combining Chain of Thought with either Guided CoT or ReAct could be a great way to approach it in a single Groq API call.
Iโll experiment with those techniques and let you know how it goes!