thanks for replay I am use ollama or direct using requests response = ollama.chat( model="llama3.1", options=options, # Pass the options object here messages= [ {"role": "system","content": prompt_c}, {"role": "user", "content": assistance_user_1}, {"role": "assistant", "content": json.dumps(assistance_generate_1)}, {"role": "user","content": user_text}, ], format="json",}