Commit Graph

1453 Commits

Author SHA1 Message Date
Samantha Whitmore
2ddab88c06
Update VectorStore interface to contain from_texts, enforce common in… (#97)
…terface
2022-11-08 21:55:22 -08:00
Samantha Whitmore
61f12229df
Create VectorStore interface (#92) 2022-11-08 18:19:39 -08:00
Harrison Chase
b9f61390e9
add text2text generation (#93)
fixes issue #90
2022-11-08 18:08:46 -08:00
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>
2022-11-08 07:01:42 -08:00
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?
2022-11-08 06:24:23 -08:00
Harrison Chase
6d8a657676
bump to version 0.0.9 (#82) 2022-11-07 20:42:25 -08:00
Harrison Chase
6cff2837bb
Harrison/fix lint (#80) 2022-11-07 15:22:37 -08:00
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.
2022-11-07 13:34:45 -08:00
Harrison Chase
9679bdc34c
run workflows on forks (#78)
per
https://stackoverflow.com/questions/58221321/is-github-actions-available-on-forked-repositories
2022-11-07 05:53:17 -08:00
Harrison Chase
95d0e5f368
fix lint (#77) 2022-11-07 05:52:57 -08:00
issam9
990cd821cc
Issam/hf embeddings (#68)
Add support of HuggingFace embedding models
2022-11-07 05:46:44 -08:00
Harrison Chase
84e164e44b
update version to 0.0.8 (#74) 2022-11-06 16:19:06 -08:00
Harrison Chase
a00f659555
undo notebook changes (#73) 2022-11-06 16:11:00 -08:00
Harrison Chase
eb36317f9a
Harrison/fix imports (#72)
fix imports and add section to notebook
2022-11-06 16:06:40 -08:00
Samantha Whitmore
a5b61d59e1
Refactor prompts into module, add example generation utils (#64) 2022-11-06 15:40:33 -08:00
Harrison Chase
dce26dfcec
handle search errors (#70)
better error handling when serpapi raises an error (usually invalid key)
2022-11-06 15:40:21 -08:00
Harrison Chase
a7d14cad00
add link to socratic models (#69) 2022-11-06 14:10:26 -08:00
Harrison Chase
f772934108
improve logging (#66) 2022-11-05 15:13:12 -07:00
Harrison Chase
818b06ebbc
Harrison/add twitter (#65)
add twitter to readme
2022-11-05 14:51:24 -07:00
Harrison Chase
2456a547de
mrkl (#42) 2022-11-05 14:41:53 -07:00
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.
2022-11-05 12:43:21 -07:00
Harrison Chase
618611f4dd
update glossary (#63) 2022-11-05 08:44:37 -07:00
Samantha Whitmore
4bbaa9b2d0
Add BasePrompt as abstract base class (#60) 2022-11-04 08:42:45 -07:00
Harrison Chase
8f907161e3
Harrison/initial glossary (#61) 2022-11-04 08:02:21 -07:00
Harrison Chase
8764ac2b55
bump to 007 (#59) 2022-11-03 07:23:16 -07:00
Harrison Chase
4cc18d6c2a
Harrison/pretty print (#57)
make stuff look nice
2022-11-03 00:41:07 -07:00
Harrison Chase
dfb81c969f
bump version 0.0.6 (#56) 2022-11-02 09:22:02 -07:00
Harrison Chase
76aff023d7
FAISS and embedding support (#48)
also adds embeddings and an in memory docstore
2022-11-01 21:29:39 -07:00
Harrison Chase
798deaec2b
add license (#50) 2022-11-01 21:12:02 -07:00
Harrison Chase
d3c1872902
Improve docs (#51) 2022-11-01 21:09:39 -07:00
Harrison Chase
e982cf4b2e
Harrison/update docstore (#47)
change docstore interface
2022-10-31 21:18:52 -07:00
Harrison Chase
b45b126d9b
bump version (#46) 2022-10-31 21:14:29 -07:00
Harrison Chase
160af4ba6b
Harrison/map reduce (#36) 2022-10-31 20:17:22 -07:00
Harrison Chase
4ac5345012
add developer guide (#44) 2022-10-30 22:48:52 -07:00
Harrison Chase
fba30e07d1
factor out mock python repl (#43) 2022-10-30 18:09:04 -07:00
Harrison Chase
7b0d02ac51
prompt templating (#41)
Co-authored-by: Samantha Whitmore <whitmore.samantha@gmail.com>
2022-10-30 09:45:27 -07:00
Harrison Chase
52383a485d
bump version to 0.0.4 (#37) 2022-10-27 23:41:30 -07:00
Harrison Chase
af81e9ca9c
add sql database (#35) 2022-10-27 23:21:47 -07:00
Harrison Chase
90a6e578bc
fix type hint (#34) 2022-10-27 18:20:16 -07:00
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.
2022-10-27 18:17:03 -07:00
Harrison Chase
c7f9c62532
bump version to 0.0.3 (#29) 2022-10-26 21:35:44 -07:00
Harrison Chase
ab731f1f8c
add wikipedia to readme (#30) 2022-10-26 21:35:23 -07:00
Harrison Chase
ce7b14b843
Harrison/add react chain (#24)
from https://arxiv.org/abs/2210.03629

still need to think if docstore abstraction makes sense
2022-10-26 21:02:23 -07:00
Harrison Chase
61a51b7a76
bump version to 0.0.2 (#28) 2022-10-25 22:05:24 -07:00
Harrison Chase
e40ec861f5
clean up example (#27)
clean up jupyter notebook for huggingface
2022-10-25 22:05:11 -07:00
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
2022-10-25 22:00:33 -07:00
Harrison Chase
316aae8223
rename validator (#25)
more appropriate name
2022-10-25 20:56:48 -07:00
Harrison Chase
d2fdcba29d
fix test name (#22) 2022-10-25 20:22:16 -07:00
Harrison Chase
21b10ffb13
update readme (#21) 2022-10-25 08:47:42 -07:00
Harrison Chase
1bc8def848
add emoji (#20) 2022-10-24 21:06:08 -07:00