Langchain: Using SQLDatabaseChain with other Tabular Data

The Langchain use-case for SQL says:

You can load tabular data from other sources other than SQL Databases. For example:

Loading a CSV file …

However, SQLDatabaseChain.from_llm(llm, db, verbose=True) only take a SQL db as input. How can we use SQLDatabaseChain with other forms of tabular data?

You would be better off submitting this to a forum for LangChain users.

1 Like