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 >
2023-02-18 13:40:43 -08:00
Harrison Chase
511d41114f
return source documents for chat vector db chain ( #1128 )
2023-02-17 13:40:52 -08:00
Harrison Chase
7745505482
chat qa with sources ( #1084 )
2023-02-16 00:29:47 -08:00
Harrison Chase
badeeb37b0
fix stuff count ( #1083 )
2023-02-15 23:57:13 -08:00
Harrison Chase
971458c5de
docs for batch size ( #1082 )
2023-02-15 23:53:56 -08:00
Ankush Gola
caa8e4742e
Enable streaming for OpenAI LLM ( #986 )
...
* Support a callback `on_llm_new_token` that users can implement when
`OpenAI.streaming` is set to `True`
2023-02-14 15:06:14 -08:00
Sasmitha Manathunga
c67c5383fd
docs: fix typo in notebook ( #1046 )
2023-02-14 07:06:08 -08:00
Harrison Chase
7fb33fca47
chroma docs ( #1012 )
2023-02-12 23:02:01 -08:00
Harrison Chase
0c553d2064
Harrion/kg ( #1016 )
...
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2023-02-12 23:01:26 -08:00
Dhruv Anand
03e5794978
typo fix on chat vector db docs ( #1007 )
...
simple typo fix: because --> between
2023-02-12 12:09:21 -08:00
Harrison Chase
e51fad1488
Harrison/0083 ( #996 )
...
Co-authored-by: Harrison Chase <harrisonchase@Harrisons-MBP.attlocal.net >
2023-02-11 08:29:28 -08:00
Harrison Chase
87fad8fc00
analyze document ( #731 )
...
add analyze document chain, which does text splitting and then analysis
2023-02-06 20:02:19 -08:00
Harrison Chase
2a68be3e8d
chat vector db chain ( #902 )
2023-02-05 21:38:47 -08:00
Harrison Chase
bd0bf4e0a9
Harrison/generate blog post ( #732 )
...
Co-authored-by: Ren <yirenlu92@users.noreply.github.com >
2023-01-24 22:54:12 -08:00
Nicolas
66fd57878a
docs: Update vector_db_qa_with_sources.ipynb ( #706 )
2023-01-23 23:06:54 -08:00
Francis
b374d481c8
fix typo ( #636 )
...
there is a small typo in one of the docs.
2023-01-17 22:17:50 -08:00
Ikko Eltociear Ashimine
60dfe58325
Fix typo in vector_db_qa.ipynb ( #597 )
...
paramter -> parameter
2023-01-12 08:23:24 -08:00
Harrison Chase
950a81399a
bump version to 61 ( #596 )
2023-01-12 07:20:16 -08:00
Harrison Chase
d574bf0a27
add documentation on how to load different chain types ( #595 )
2023-01-12 06:47:38 -08:00
Harrison Chase
8ab09c18a1
Return source documents option in VectorDBQA ( #585 ) ( #592 )
...
Co-authored-by: lesscomfortable <pancho_ingham@hotmail.com >
Co-authored-by: Francisco Ingham <fpingham@gmail.com >
Co-authored-by: lesscomfortable <pancho_ingham@hotmail.com >
2023-01-12 06:09:32 -08:00
Harrison Chase
b06a2a6191
improve documentation on how to pass in custom prompts ( #561 )
2023-01-08 19:20:13 -08:00
Harrison Chase
8dfad874a2
map rerank chain ( #516 )
...
add a chain that applies a prompt to all inputs and then returns not
only an answer but scores it
add examples for question answering and question answering with sources
2023-01-08 06:49:22 -08:00
Harrison Chase
40326c698c
unify argument name ( #513 )
...
unify names in map reduce and refine chains to just be
return_intermediate_steps
also unify the return key
2023-01-03 07:45:08 -08:00
Harrison Chase
985496f4be
Docs refactor ( #480 )
...
Big docs refactor! Motivation is to make it easier for people to find
resources they are looking for. To accomplish this, there are now three
main sections:
- Getting Started: steps for getting started, walking through most core
functionality
- Modules: these are different modules of functionality that langchain
provides. Each part here has a "getting started", "how to", "key
concepts" and "reference" section (except in a few select cases where it
didnt easily fit).
- Use Cases: this is to separate use cases (like summarization, question
answering, evaluation, etc) from the modules, and provide a different
entry point to the code base.
There is also a full reference section, as well as extra resources
(glossary, gallery, etc)
Co-authored-by: Shreya Rajpal <ShreyaR@users.noreply.github.com >
2023-01-02 08:24:09 -08:00