langchain icon indicating copy to clipboard operation
langchain copied to clipboard

[jupyter] add memory example to sql_db agent

Open skcoirz opened this issue 2 years ago • 3 comments

  • Memory can largely enrich Agent convenience.
  • This PR added an example showing how to use Memory in SQL DB Agent.
  • Fixed a bug in the old SQLDatabaseToolkit initiation case as llm is a required input in the latest version.
  • Re-tested several old examples to confirm everything works the same.

skcoirz avatar May 19 '23 02:05 skcoirz

should we be using gpt-4 in example? probably better to use something anyone can access (unless the example doesn't work with anything else)

dev2049 avatar May 19 '23 23:05 dev2049

should we be using gpt-4 in example? probably better to use something anyone can access (unless the example doesn't work with anything else)

sure, have updated to use gpt-3.5-turbo

skcoirz avatar May 20 '23 03:05 skcoirz

should we be using gpt-4 in example? probably better to use something anyone can access (unless the example doesn't work with anything else)

sure, have updated to use gpt-3.5-turbo

Since this PR hasn't been merged yet, you could change it back to gpt-4. It became publicly available on 6 July 2023.

graemeglass avatar Jul 08 '23 23:07 graemeglass

@skcoirz Hi , could you, please, resolve the merging issues and address the last comments (if needed)? After that, ping me and I push this PR for the review. Thanks!

leo-gan avatar Sep 13 '23 20:09 leo-gan