Commit Graph

483 Commits (main)

Author SHA1 Message Date
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