# 🌎general


07/22/2023, 8:11 AM
Hi, I'm late to this conversation, so you may have covered this ground, but have you tried something like this, where you set the line number and the document number randomly using the execute card (in this example its hard coded)? It's a bit of a hack and not sure if it will work properly but something along these lines might work. You need to have the agent set to manual answering I believe. Prompt: Provde the following two answers: Answer1: Search the knowledge base and list the documents in the knowledge base Answer2: Write out the sentence closest to line 50 in document 3 from the documents provided in Answer 1 Give your answer in the following format: Answer1: [Document Name] Answer2: [Sentence]