Harrison Chase
b15c84e19d
Harrison/chain lab ( #156 )
2 years ago
Harrison Chase
0ac08bbca6
bump version to 0.0.15 ( #154 )
2 years ago
Nicholas Larus-Stone
0c3ae78ec1
chore: update ascii colors to work with dark mode ( #152 )
2 years ago
Nicholas Larus-Stone
ca4b10bb74
feat: add option to ignore or restrict to SQL tables ( #151 )
...
`SQLDatabase` now accepts two `init` arguments:
1. `ignore_tables` to pass in a list of tables to not search over
2. `include_tables` to restrict to a list of tables to consider
2 years ago
Harrison Chase
d2f9288be6
add metadata to documents ( #153 )
...
add concept of metadata to document
2 years ago
Harrison Chase
d775ddd749
add apply functionality ( #150 )
2 years ago
Harrison Chase
4f1bf159f4
bump version to 0.0.14 ( #145 )
2 years ago
Harrison Chase
b504cd739f
Harrison/cleanup env check ( #144 )
2 years ago
Harrison Chase
a4b502d92f
fix env var loader ( #143 )
2 years ago
Harrison Chase
1835e8a681
prompt nit ( #141 )
...
doing some cleanup, and i think this just simplifies things...
2 years ago
Harrison Chase
bbb405a492
update colors ( #140 )
2 years ago
Harrison Chase
9f223e6ccc
Harrison/fix lint ( #138 )
2 years ago
Delip Rao
76cecf8165
A fix for Jupyter environment variable issue ( #135 )
...
- fixes the Jupyter environment variable issues mentioned in issue #134
- fixes format/lint issues in some unrelated files (from make
format/lint)
![image](https://user-images.githubusercontent.com/347398/201599322-090af858-362d-4d69-bf59-208aea65419a.png )
2 years ago
Harrison Chase
ced29b816b
remove extra run from merge conflict ( #133 )
2 years ago
Harrison Chase
11d37d556e
bump version 0.0.13 ( #132 )
2 years ago
Harrison Chase
f23b3ceb49
consolidate run functions ( #126 )
...
consolidating logic for when a chain is able to run with single input
text, single output text
open to feedback on naming, logic, usefulness
2 years ago
Eugene Yurtsev
2910f50a3c
Fix a few typos and wrapped f-strings ( #128 )
...
Fix a few typos and wrapped f-strings
2 years ago
Edmar Ferreira
8a5ec894e7
Prompt from file proof of concept using plain text ( #127 )
...
This is a simple proof of concept of using external files as templates.
I'm still feeling my way around the codebase.
As a user, I want to use files as prompts, so it will be easier to
manage and test prompts.
The future direction is to use a template engine, most likely Mako.
2 years ago
Harrison Chase
d87e73ddb1
huggingface tokenizer ( #75 )
2 years ago
Eugene Yurtsev
f5a588a165
Add py.typed marker to package ( #121 )
...
- Update
- update
2 years ago
Harrison Chase
47af2bcee4
vector db qa ( #71 )
2 years ago
Harrison Chase
7467243a42
bump version 0.0.12 ( #116 )
2 years ago
Harrison Chase
e43534d41c
add integration with manifest ( #62 )
2 years ago
Harrison Chase
9f878e43d8
Harrison/lintai21 ( #114 )
2 years ago
tomeras91
d8734ce5ad
Add AI21 LLMs ( #99 )
...
Integrate AI21 /complete API into langchain, to allow access to Jurassic
models.
2 years ago
Harrison Chase
2179ea3103
remove unnecc variables ( #113 )
...
i dont think either of these variables are used?
2 years ago
Harrison Chase
da445e474d
version 0.0.11 ( #112 )
2 years ago
Samantha Whitmore
a0780cc930
OptimizedPrompt -- k-shot example choice backed by semantic search ( #91 )
2 years ago
Delip Rao
3ee6e332dd
Implements NLTK and Spacy-based TextSplitters ( #103 )
...
This PR is for Issue #88
- [x] `make format`
- [x] `make lint`
- [x] `make tests`
2 years ago
issam9
28282ad099
Issam9/cohere embeddings ( #105 )
...
Add support for cohere embeddings
2 years ago
Samantha Whitmore
386a14a19f
Change NLPCloud default model ( #100 )
2 years ago
Harrison Chase
5b7aed34a3
bump version to 0.0.10 ( #98 )
2 years ago
Harrison Chase
db37bd089f
model laboratory ( #95 )
2 years ago
Samantha Whitmore
2ddab88c06
Update VectorStore interface to contain from_texts, enforce common in… ( #97 )
...
…terface
2 years ago
Samantha Whitmore
61f12229df
Create VectorStore interface ( #92 )
2 years ago
Harrison Chase
b9f61390e9
add text2text generation ( #93 )
...
fixes issue #90
2 years ago
Samantha Whitmore
e48e562ea5
ElasticVectorSearch: Add in vector search backed by Elastic ( #67 )
...
![image](https://user-images.githubusercontent.com/6690839/200147455-33a68e20-c3c0-4045-9bff-598b38ae8fb2.png )
woo!
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2 years ago
Samantha Whitmore
efbc03bda8
NLPCloud client integration ( #81 )
...
lots of kwargs! generation docs here:
https://docs.nlpcloud.com/#generation
This somewhat breaks the paradigm introduced in LLM base class as the
stop sequence isn't a list, and should rightfully be introduced at the
time of initialization of the class, along with the other kwargs that
depend on its presence (e.g. remove_end_sequence, etc.) curious if you'd
want to refactor LLM base class to take out stop as a specific named
kwarg?
2 years ago
Harrison Chase
6d8a657676
bump to version 0.0.9 ( #82 )
2 years ago
Harrison Chase
6cff2837bb
Harrison/fix lint ( #80 )
2 years ago
Cameron Whitehead
54e325be2f
Improve credential handing to allow passing in constructors ( #79 )
...
Addresses the issue in #76 by either using the relevant environment
variable if set or using a string passed in the constructor.
Prefers the constructor string over the environment variable, which
seemed like the natural choice to me.
2 years ago
Harrison Chase
95d0e5f368
fix lint ( #77 )
2 years ago
issam9
990cd821cc
Issam/hf embeddings ( #68 )
...
Add support of HuggingFace embedding models
2 years ago
Harrison Chase
84e164e44b
update version to 0.0.8 ( #74 )
2 years ago
Harrison Chase
eb36317f9a
Harrison/fix imports ( #72 )
...
fix imports and add section to notebook
2 years ago
Samantha Whitmore
a5b61d59e1
Refactor prompts into module, add example generation utils ( #64 )
2 years ago
Harrison Chase
dce26dfcec
handle search errors ( #70 )
...
better error handling when serpapi raises an error (usually invalid key)
2 years ago
Harrison Chase
f772934108
improve logging ( #66 )
2 years ago
Harrison Chase
2456a547de
mrkl ( #42 )
2 years ago
Samantha Whitmore
c636488fe5
DynamicPrompt class creation ( #49 )
...
Checking that this structure looks generally ok -- going to sub in logic
where the TODO comment is then add a test.
2 years ago
Samantha Whitmore
4bbaa9b2d0
Add BasePrompt as abstract base class ( #60 )
2 years ago
Harrison Chase
8764ac2b55
bump to 007 ( #59 )
2 years ago
Harrison Chase
4cc18d6c2a
Harrison/pretty print ( #57 )
...
make stuff look nice
2 years ago
Harrison Chase
dfb81c969f
bump version 0.0.6 ( #56 )
2 years ago
Harrison Chase
76aff023d7
FAISS and embedding support ( #48 )
...
also adds embeddings and an in memory docstore
2 years ago
Harrison Chase
d3c1872902
Improve docs ( #51 )
2 years ago
Harrison Chase
e982cf4b2e
Harrison/update docstore ( #47 )
...
change docstore interface
2 years ago
Harrison Chase
b45b126d9b
bump version ( #46 )
2 years ago
Harrison Chase
160af4ba6b
Harrison/map reduce ( #36 )
2 years ago
Harrison Chase
fba30e07d1
factor out mock python repl ( #43 )
2 years ago
Harrison Chase
7b0d02ac51
prompt templating ( #41 )
...
Co-authored-by: Samantha Whitmore <whitmore.samantha@gmail.com>
2 years ago
Harrison Chase
52383a485d
bump version to 0.0.4 ( #37 )
2 years ago
Harrison Chase
af81e9ca9c
add sql database ( #35 )
2 years ago
Harrison Chase
90a6e578bc
fix type hint ( #34 )
2 years ago
Michael
6a3dca888b
Fix cohere integration ( #33 )
...
Currently the cohere module uses a non-supported model. Updating this to
use the default model if one is not specified.
2 years ago
Harrison Chase
c7f9c62532
bump version to 0.0.3 ( #29 )
2 years ago
Harrison Chase
ce7b14b843
Harrison/add react chain ( #24 )
...
from https://arxiv.org/abs/2210.03629
still need to think if docstore abstraction makes sense
2 years ago
Harrison Chase
61a51b7a76
bump version to 0.0.2 ( #28 )
2 years ago
Harrison Chase
020c42dcae
Harrison/add huggingface hub ( #23 )
...
Add support for huggingface hub
I could not find a good way to enforce stop tokens over the huggingface
hub api - that needs to hopefully be cleaned up in the future
2 years ago
Harrison Chase
316aae8223
rename validator ( #25 )
...
more appropriate name
2 years ago
Harrison Chase
5621ca7b07
Harrison/more documentation ( #19 )
2 years ago
Harrison Chase
1ef3ab4d0e
Harrison/add natbot ( #18 )
2 years ago
Harrison Chase
18aeb72012
initial commit
2 years ago