Commit Graph

401 Commits (75edd85fedfc197e777cc29a363c92d6c41aec87)
 

Author SHA1 Message Date
Harrison Chase 22dd743eba
Harrison/version 0046 (#416) 1 year ago
Harrison Chase 01d06c1f9f
check memory variables (#411)
can have multiple input keys, if some come from memory
1 year ago
Harrison Chase 20959d8c36
check memory variables (#411)
can have multiple input keys, if some come from memory
1 year ago
altryne f990395211
Readme typos (#409)
I was honored by the twitter mention, so used PyCharm to try and... help
docs even a little bit.
Mostly typo-s and correct spellings. 

PyCharm really complains about "really good" being used all the time and
recommended alternative wordings haha
2 years ago
Harrison Chase 2ad285aab2
bump version to 0045 (#408) 2 years ago
Shreya Rajpal f40b3ce347
Updated VectorDBQA docs to updated argument name (#405) 2 years ago
Dheeraj Agrawal ea3da9a469
Fix documentation error langchain explanation of combine_docs.md (#404)
This PR is regarding the issue here -
https://github.com/hwchase17/langchain/issues/403
2 years ago
Harrison Chase 77e1743341
update example (#402) 2 years ago
Keiji Kanazawa 5528265142
Add macOS .DS_Store to .gitignore (#401)
These are macOS specific files left around in directories (to save
user's display settings)
2 years ago
Samantha Whitmore 6bc8ae63ef
Add Redis cache implementation (#397)
I'm using a hash function for the key just to make sure its length
doesn't get out of hand, otherwise the implementation is quite similar.
2 years ago
Harrison Chase ff03242fa0
Harrison/ver 044 (#400) 2 years ago
mrbean 136f759492
Mrbean/support timeout (#398)
Add support for passing in a request timeout to the API
2 years ago
Harrison Chase 6b60c509ac
(WIP) add HyDE (#393)
Co-authored-by: cameronccohen <cameron.c.cohen@gmail.com>
Co-authored-by: Cameron Cohen <cameron.cohen@quantco.com>
2 years ago
Keiji Kanazawa 543db9c2df
Add Azure OpenAI LLM (#395)
Hi!  This PR adds support for the Azure OpenAI service to LangChain.

I've tried to follow the contributing guidelines.

Co-authored-by: Keiji Kanazawa <{ID}+{username}@users.noreply.github.com>
2 years ago
Harrison Chase bb76440bfa
bump version to 0.0.43 (#394) 2 years ago
Harrison Chase c104d507bf
Harrison/improve data augmented generation docs (#390)
Co-authored-by: cameronccohen <cameron.c.cohen@gmail.com>
Co-authored-by: Cameron Cohen <cameron.cohen@quantco.com>
2 years ago
Harrison Chase ad4414b59f
update docs (#389) 2 years ago
Harrison Chase c8b4b54479
bump version to 0.0.42 (#388) 2 years ago
Harrison Chase 47ba34c83a
split up and improve agent docs (#387) 2 years ago
Abi Raja 467aa0cee0
Fix typo in docs (#386) 2 years ago
Harrison Chase 6be5747466
RFC: add cache override to LLM class (#379) 2 years ago
Harrison Chase 46c428234f
MMR example selector (#377)
implement max marginal relevance example selector
2 years ago
Harrison Chase ffed5e0056
Harrison/jinja formatter (#385)
Co-authored-by: Benjamin <BenderV@users.noreply.github.com>
2 years ago
mrbean fc66a32c6f
fix docstring (#383)
![Screenshot 2022-12-19 at 11 06 48
AM](https://user-images.githubusercontent.com/43734688/208468970-5cb9bafb-f535-486e-b41f-312a2f9ffffb.png)
2 years ago
Harrison Chase a01d3e6955
fix agent memory docs (#382) 2 years ago
Harrison Chase 766b84a9d9
upgrade version to 0041 (#378) 2 years ago
Harrison Chase cf98f219f9
Harrison/tools exp (#372) 2 years ago
Harrison Chase e7b625fe03
fix text splitter (#375) 2 years ago
Harrison Chase 3474f39e21
Harrison/improve cache (#368)
make it so everything goes through generate, which removes the need for
two types of caches
2 years ago
Ankush Gola 8d0869c6d3
change run to use args and kwargs (#367)
Before, `run` was not able to be called with multiple arguments. This
expands the functionality.
2 years ago
Harrison Chase a7084ad6e4
Harrison/version 0040 (#366) 2 years ago
mrbean 50257fce59
Support Streaming Tokens from OpenAI (#364)
https://github.com/hwchase17/langchain/issues/363

@hwchase17 how much does this make you want to cry?
2 years ago
mrbean fe6695b9e7
Add HuggingFacePipeline LLM (#353)
https://github.com/hwchase17/langchain/issues/354

Add support for running your own HF pipeline locally. This would allow
you to get a lot more dynamic with what HF features and models you
support since you wouldn't be beholden to what is hosted in HF hub. You
could also do stuff with HF Optimum to quantize your models and stuff to
get pretty fast inference even running on a laptop.
2 years ago
Harrison Chase 2eef76ed3f
fix documentation (#365) 2 years ago
Benjamin 85c1bd2cd0
add sqlalchemy generic cache (#361)
Created a generic SQLAlchemyCache class to plug any database supported
by SQAlchemy. (I am using Postgres).
I also based the class SQLiteCache class on this class SQLAlchemyCache.

As a side note, I'm questioning the need for two distinct class
LLMCache, FullLLMCache. Shouldn't we merge both ?
2 years ago
Harrison Chase 809a9f485f
Harrison/new version (#362) 2 years ago
Harrison Chase 750edfb440
add optional collapse prompt (#358) 2 years ago
Harrison Chase 2dd895d98c
add openai tokenizer (#355) 2 years ago
Harrison Chase c1b50b7b13
Harrison/map reduce merge (#344)
Co-authored-by: John Nay <JohnNay@users.noreply.github.com>
2 years ago
Harrison Chase ed143b598f
improve openai embeddings (#351)
add more formal support for explicitly specifying each model, but in a
backwards compatible way
2 years ago
Harrison Chase 428508bd75
bump version to 0.0.38 (#349) 2 years ago
Harrison Chase 78b31e5966
Harrison/cache (#343) 2 years ago
Harrison Chase 8cf62ce06e
Harrison/single input (#347)
allow passing of single input into chain

Co-authored-by: thepok <richterthepok@yahoo.de>
2 years ago
Harrison Chase 5161ae7e08
add new example (#345) 2 years ago
Harrison Chase 8c167627ed
bump version (#340) 2 years ago
Harrison Chase e26b6f9c89
fix batching (#339) 2 years ago
Harrison Chase 3c6796b72e
bump version to 0036 (#333) 2 years ago
Harrison Chase 996b5a3dfb
Harrison/llm final stuff (#332) 2 years ago
Harrison Chase 9bb7195085
Harrison/llm saving (#331)
Co-authored-by: Akash Samant <70665700+asamant21@users.noreply.github.com>
2 years ago
Harrison Chase 595cc1ae1a
RFC: more complete return (#313)
Co-authored-by: Andrew Williamson <awilliamson10@indstate.edu>
Co-authored-by: awilliamson10 <aw.williamson10@gmail.com>
2 years ago