You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/tests/unit_tests
Harrison Chase ec727bf166
Align table info (#999) (#1034)
Currently the chain is getting the column names and types on the one
side and the example rows on the other. It is easier for the llm to read
the table information if the column name and examples are shown together
so that it can easily understand to which columns do the examples refer
to. For an instantiation of this, please refer to the changes in the
`sqlite.ipynb` notebook.

Also changed `eval` for `ast.literal_eval` when interpreting the results
from the sample row query since it is a better practice.

---------

Co-authored-by: Francisco Ingham <>

---------

Co-authored-by: Francisco Ingham <fpingham@gmail.com>
2 years ago
..
agents Pass kwargs from initialize_agent into agent classmethod (#799) 2 years ago
callbacks Suggestions for better debugging (#765) 2 years ago
chains Add asyncio support for LLM (OpenAI), Chain (LLMChain, LLMMathChain), and Agent (#841) 2 years ago
data
docstore
llms Import of `declarative_base` when SQLAlchemy <1.4 (#883) 2 years ago
prompts Harrison/prompt template prefix (#888) 2 years ago
utilities Centralize logic for loading from LangChainHub, add ability to pin dependencies (#805) 2 years ago
__init__.py
test_bash.py Optionally return shell output on incorrect command (#894) (#899) 2 years ago
test_formatting.py
test_python.py
test_sql_database.py Align table info (#999) (#1034) 2 years ago
test_sql_database_schema.py Align table info (#999) (#1034) 2 years ago
test_text_splitter.py Harrison/fix splitting (#563) 2 years ago