opto.optimizers.textgrad.TextGrad.call_llm

opto.optimizers.textgrad.TextGrad.call_llm#

TextGrad.call_llm(system_prompt: str, user_prompt: str, verbose: bool | str = False)[source]#

Call the LLM with a prompt and return the response.