How I can generate prompts from pdf files, I tried with multiple scripts. I am not getting proper output

How I can generate promts from pdf files, I tried with multiple scripts. I am not getting proper output. How I can get prompts with munal generating by using text-bison@001 model.