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/langchain
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 fix chatvectordbchain to use pinecone namespace (#1139) 1 year ago
docstore Harrison/wiki update (#622) 1 year ago
document_loaders add srt loader (#1140) 1 year ago
embeddings instruct embeddings docs (#1131) 1 year ago
evaluation bump version to 0063 (#616) 1 year ago
graphs Harrion/kg (#1016) 1 year ago
indexes Harrion/kg (#1016) 1 year ago
llms Strange behavior with LLM import requirements (#1104) 1 year ago
prompts Harrison/semantic subset (#1079) 1 year ago
tools Make Tools own model, add ToolKit Concept (#1095) 1 year ago
utilities Fix a bug that shows "KeyError 'items'" (#1118) 1 year ago
vectorstores Max marginal relecance search fails if there are not enough docs (#1117) 1 year ago
__init__.py SearxNG meta search api helper (#854) 1 year ago
cache.py Import of `declarative_base` when SQLAlchemy <1.4 (#883) 1 year ago
docker-compose.yaml add tracing support to langchain (#741) 1 year ago
example_generator.py Harrison/improve cache (#368) 1 year ago
formatting.py initial commit 2 years ago
input.py Add asyncio support for LLM (OpenAI), Chain (LLMChain, LLMMathChain), and Agent (#841) 1 year ago
model_laboratory.py Harrison/improve cache (#368) 1 year ago
py.typed Add py.typed marker to package (#121) 2 years ago
python.py Harrison/tools exp (#372) 1 year ago
requests.py LLMRequestsChain (#267) 2 years ago
schema.py add tracing support to langchain (#741) 1 year ago
serpapi.py Add asyncio support for LLM (OpenAI), Chain (LLMChain, LLMMathChain), and Agent (#841) 1 year ago
server.py add tracing support to langchain (#741) 1 year ago
sql_database.py fix sql (#1141) 1 year ago
text_splitter.py Harrison/tiktoken spec (#964) 1 year ago
utils.py Harrison/bing wrapper (#656) 1 year ago