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
Ankush Gola 7b5e160d28
Make Tools own model, add ToolKit Concept (#1095)
Follow-up of @hinthornw's PR:

- Migrate the Tool abstraction to a separate file (`BaseTool`).
- `Tool` implementation of `BaseTool` takes in function and coroutine to
more easily maintain backwards compatibility
- Add a Toolkit abstraction that can own the generation of tools around
a shared concept or state

---------

Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
Co-authored-by: Francisco Ingham <fpingham@gmail.com>
Co-authored-by: Dhruv Anand <105786647+dhruv-anand-aintech@users.noreply.github.com>
Co-authored-by: cragwolfe <cragcw@gmail.com>
Co-authored-by: Anton Troynikov <atroyn@users.noreply.github.com>
Co-authored-by: Oliver Klingefjord <oliver@klingefjord.com>
Co-authored-by: William Fu-Hinthorn <whinthorn@Williams-MBP-3.attlocal.net>
Co-authored-by: Bruno Bornsztein <bruno.bornsztein@gmail.com>
1 year ago
..
agents Make Tools own model, add ToolKit Concept (#1095) 1 year ago
callbacks Enable streaming for OpenAI LLM (#986) 1 year ago
chains Add asyncio support for LLM (OpenAI), Chain (LLMChain, LLMMathChain), and Agent (#841) 1 year ago
data Prompt from file proof of concept using plain text (#127) 2 years ago
docstore wip: add method for both docstore and embeddings (#119) 2 years ago
llms Import of `declarative_base` when SQLAlchemy <1.4 (#883) 1 year ago
prompts Harrison/prompt template prefix (#888) 1 year ago
utilities Centralize logic for loading from LangChainHub, add ability to pin dependencies (#805) 1 year ago
__init__.py initial commit 2 years ago
test_bash.py Optionally return shell output on incorrect command (#894) (#899) 1 year ago
test_formatting.py initial commit 2 years ago
test_python.py Harrison/tools exp (#372) 1 year ago
test_sql_database.py Sql alchemy commands used in table info (#1135) 1 year ago
test_sql_database_schema.py Sql alchemy commands used in table info (#1135) 1 year ago
test_text_splitter.py Harrison/fix splitting (#563) 1 year ago