Thank you for the tutorial. Maybe I am missing something but it seems like this has the potential of getting into an infinite loop. Can can you limit the number of iterations of tool calls so you don't get a big bill from someone because the system got into an infinite loop of using the LLM and querying cloud hosted sql database? Also, does the text to sql have the ability to see if the sql statement was created correctly?
@marshnick9862Ай бұрын
Thank you ,I have already built a text2sql module, which is not a query engine but a complicated workflow in itself with run time retrieval of rows, etc as suggested in other videos. Can I wrap this complicated text2sql workflow in a custom query engine and use the same steps