davidfan168

Results 3 comments of davidfan168

I tried to limit the content length by using the following code: ``` llm = OpenAI(temperature=0, verbose=True, max_tokens=2000) toolkit = SQLDatabaseToolkit(db=db, llm=llm, max_tokens = 2000) agent_executor = create_sql_agent( llm=OpenAI(temperature=0), toolkit=toolkit,...

> David, you can try including only the necessary table as I shown above. This will definitely decrease number of tokens Thanks for the suggestion! I only have two tables...

Thanks! I'll start working on it over the weekend