Commit Graph

195 Commits (83e871f1ff687056bc574e2044c578a3e5912885)

Author SHA1 Message Date
Harrison Chase e57b045402
bump version to 128 (#2236) 2 years ago
Harrison Chase 097684e5f2
bump version to 127 (#2197) 2 years ago
Harrison Chase 55b52bad21
bump version to 126 (#2155) 2 years ago
Harrison Chase b35260ed47
Harrison/memory base (#2122)
@3coins + @zoltan-fedor.... heres the pr + some minor changes i made.
thoguhts? can try to get it into tmrws release

---------

Co-authored-by: Zoltan Fedor <zoltan.0.fedor@gmail.com>
Co-authored-by: Piyush Jain <piyushjain@duck.com>
2 years ago
Ankush Gola ccee1aedd2
add async support for anthropic (#2114)
should not be merged in before
https://github.com/anthropics/anthropic-sdk-python/pull/11 gets released
2 years ago
Harrison Chase a554e94a1a
v125 (#2109)
for hackathon tonight!
2 years ago
Honkware aff33d52c5
Add OpenWeatherMap API Tool (#2083)
Added tool for OpenWeatherMap API
2 years ago
Harrison Chase a9e1043673
bump version 124 (#2101) 2 years ago
Harrison Chase f281033362
rm pandas dependency (#2102) 2 years ago
Harrison Chase eff5eed719
Harrison/jina (#2043)
Co-authored-by: numb3r3 <wangfelix87@gmail.com>
Co-authored-by: felix-wang <35718120+numb3r3@users.noreply.github.com>
2 years ago
Harrison Chase 30e3b31b04
Harrison/document cleanup (#2062)
Co-authored-by: Delip Rao <delip@users.noreply.github.com>
2 years ago
Harrison Chase b83e826510
plugin tool (#1974) 2 years ago
Harrison Chase 6e0d3880df
bump version to 122 (#1970) 2 years ago
Harrison Chase 910da8518f
hotfix (#1928) 2 years ago
Harrison Chase 75149d6d38
bump version 120 (#1918) 2 years ago
Memento Mori 31f9ecfc19
Fix tiktoken version (#1882)
Fix https://github.com/hwchase17/langchain/issues/1881
This issue occurs when using `'gpt-3.5-turbo'` with
`VectorDBQAWithSourcesChain`
2 years ago
Harrison Chase 2280a2cb2f
bump version to 119 (#1886) 2 years ago
Harrison Chase 2136dc94bb
bump version to 118 (#1854) 2 years ago
Harrison Chase 0ca1641b14
release 0.0.117 (#1819) 2 years ago
Harrison Chase 8e5c4ac867
bump version to 0.0.116 (#1788) 2 years ago
Harrison Chase 2f6833d433
hotfix (#1742) 2 years ago
Harrison Chase aa854988bf
bump version to 114 (#1739) 2 years ago
Alexandros Mavrogiannis 5d8dc83ede
Bump duckdb-engine to 0.7.0 (#1726)
Resolves https://github.com/hwchase17/langchain/issues/1272
Resolves https://github.com/hwchase17/langchain/issues/1578
2 years ago
Alex Strick van Linschoten d6bbf395af
Loosen PyYAML dependency (#1698)
Hitting some dependency issues relating to this strict pinning. Unsure
of the knock-on effects, but wanted to propose this loosening down a
couple of versions.
2 years ago
Harrison Chase 3c24684522
harrison/bump-version-00113 (#1701) 2 years ago
Harrison Chase 0b29e68c17
Harrison/pgvector (#1679)
Co-authored-by: Aman Kumar <krsingh.aman@gmail.com>
2 years ago
Harrison Chase e5c1659864
bump ver (#1668) 2 years ago
Harrison Chase 8965a2f0af
bump and hotfix (#1665) 2 years ago
Harrison Chase e326939759
bump version 110 (#1662) 2 years ago
Harrison Chase d53ff270e0
bump version to 109 (#1646) 2 years ago
Eugene Yurtsev bd4a2a670b
Add copy button to sphinx notebooks (#1622)
This adds a copy button at the top right corner of all notebook cells in
sphinx
notebooks.
2 years ago
Harrison Chase c0ad5d13b8
bump to version 108 (#1613) 2 years ago
Harrison Chase c6bfa00178
bump version to 107 (#1590) 2 years ago
Harrison Chase bd335ffd64
bump version to 106 (#1562) 2 years ago
Harrison Chase 2a7215bc3b
Harrison/prompt issues (#1537) 2 years ago
Harrison Chase aba58e9e2e
Harrison/bumpver104 (#1525) 2 years ago
Harrison Chase d0062c7a9a
bump version to 103 (#1498) 2 years ago
Harrison Chase 312c319d8b
bump version to 102 (#1471) 2 years ago
Harrison Chase 56b850648f
cr (#1436) 2 years ago
Nuno Campos 499e76b199
Allow the regular openai class to be used for ChatGPT models (#1393)
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2 years ago
Harrison Chase dda5259f68
bump version to 0.0.99 (#1390) 2 years ago
Kacper Łukawski 9ac442624c
Add Qdrant named arguments (#1386)
This PR:
- Increases `qdrant-client` version to 1.0.4
- Introduces custom content and metadata keys (as requested in #1087)
- Moves all the `QdrantClient` parameters into the method parameters to
simplify code completion
2 years ago
Harrison Chase 4b5e850361
chatgpt wrapper (#1367) 2 years ago
Harrison Chase c01f9100e4
bump version to 0097 (#1365) 2 years ago
Harrison Chase 924bba5ce9
bump version (#1342) 2 years ago
Harrison Chase f61858163d
bump version to 0.0.95 (#1324) 2 years ago
Harrison Chase 166cda2cc6
Harrison/deeplake (#1316)
Co-authored-by: Davit Buniatyan <d@activeloop.ai>
2 years ago
Harrison Chase aaad6cc954
Harrison/atlas db (#1315)
Co-authored-by: Brandon Duderstadt <brandonduderstadt@gmail.com>
2 years ago
Harrison Chase 002da6edc0
ruff ruff (#1203) 2 years ago
Harrison Chase 0963096491
fix imports (#1288) 2 years ago
Harrison Chase c5dd491a21
bump version to 0094 (#1280) 2 years ago
Harrison Chase 6d37d089e9
bump version to 0093 (#1251) 2 years ago
Dennis Antela Martinez 53c67e04d4
add aleph alpha llm (#1207)
Integrate Aleph Alpha's client into Langchain to provide access to the
luminous models - more info on latest benchmarks here:
https://www.aleph-alpha.com/luminous-performance-benchmarks
2 years ago
Harrison Chase 4e43b0efe9
bump version 0092 (#1204) 2 years ago
Naveen Tatikonda 0118706fd6
Add Support for OpenSearch Vector database (#1191)
### Description
This PR adds a wrapper which adds support for the OpenSearch vector
database. Using opensearch-py client we are ingesting the embeddings of
given text into opensearch cluster using Bulk API. We can perform the
`similarity_search` on the index using the 3 popular searching methods
of OpenSearch k-NN plugin:

- `Approximate k-NN Search` use approximate nearest neighbor (ANN)
algorithms from the [nmslib](https://github.com/nmslib/nmslib),
[faiss](https://github.com/facebookresearch/faiss), and
[Lucene](https://lucene.apache.org/) libraries to power k-NN search.
- `Script Scoring` extends OpenSearch’s script scoring functionality to
execute a brute force, exact k-NN search.
- `Painless Scripting` adds the distance functions as painless
extensions that can be used in more complex combinations. Also, supports
brute force, exact k-NN search like Script Scoring.

### Issues Resolved 
https://github.com/hwchase17/langchain/issues/1054

---------

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
2 years ago
Harrison Chase a5a14405ad
bump version to 0091 (#1181) 2 years ago
Harrison Chase 05a05bcb04
bump version to 0.0.90 (#1157) 2 years ago
Harrison Chase a83ba44efa
Harrison/ver0089 (#1144) 2 years ago
Harrison Chase 6322b6f657
bump version 0.0.88 (#1090) 2 years ago
Harrison Chase bac676c8e7
bump version (#1057) 2 years ago
Harrison Chase f05f025e41
bump version to 0086 (#1050) 2 years ago
Harrison Chase 88bebb4caa
Harrison/llm integrations (#1039)
Co-authored-by: jped <jonathanped@gmail.com>
Co-authored-by: Justin Torre <justintorre75@gmail.com>
Co-authored-by: Ivan Vendrov <ivan@anthropic.com>
2 years ago
Harrison Chase fc2502cd81
bump version to 0085 (#1017) 2 years ago
Harrison Chase 0c553d2064
Harrion/kg (#1016)
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
2 years ago
Harrison Chase 6d44a2285c
bump version to 0084 (#1005) 2 years ago
Harrison Chase e51fad1488
Harrison/0083 (#996)
Co-authored-by: Harrison Chase <harrisonchase@Harrisons-MBP.attlocal.net>
2 years ago
Harrison Chase 231da14771
bump version to 0082 (#980)
Co-authored-by: Harrison Chase <harrisonchase@Harrisons-MacBook-Pro.local>
2 years ago
Harrison Chase c64f98e2bb
Harrison/format agent instructions (#973)
Co-authored-by: Andrew White <white.d.andrew@gmail.com>
Co-authored-by: Harrison Chase <harrisonchase@Harrisons-MBP.attlocal.net>
Co-authored-by: Peng Qu <82029664+pengqu123@users.noreply.github.com>
2 years ago
Harrison Chase 5f8082bdd7
Harrison/deps (#963)
Co-authored-by: Jon Luo <20971593+jzluo@users.noreply.github.com>
Co-authored-by: Harrison Chase <harrisonchase@Harrisons-MBP.attlocal.net>
2 years ago
Harrison Chase e323d0cfb1
bump version 0081 (#956)
Co-authored-by: Harrison Chase <harrisonchase@Harrisons-MBP.attlocal.net>
2 years ago
Harrison Chase a306baacd1
bump version to 0080 (#941) 2 years ago
Ankush Gola bc7e56e8df
Add asyncio support for LLM (OpenAI), Chain (LLMChain, LLMMathChain), and Agent (#841)
Supporting asyncio in langchain primitives allows for users to run them
concurrently and creates more seamless integration with
asyncio-supported frameworks (FastAPI, etc.)

Summary of changes:

**LLM**
* Add `agenerate` and `_agenerate`
* Implement in OpenAI by leveraging `client.Completions.acreate`

**Chain**
* Add `arun`, `acall`, `_acall`
* Implement them in `LLMChain` and `LLMMathChain` for now

**Agent**
* Refactor and leverage async chain and llm methods
* Add ability for `Tools` to contain async coroutine
* Implement async SerpaPI `arun`

Create demo notebook.

Open questions:
* Should all the async stuff go in separate classes? I've seen both
patterns (keeping the same class and having async and sync methods vs.
having class separation)
2 years ago
Harrison Chase d43250bfa5
Harrison/ver0079 (#927) 2 years ago
Harrison Chase bc53c928fc
Harrison/athropic (#921)
Co-authored-by: Mike Lambert <mlambert@gmail.com>
Co-authored-by: mrbean <sam@you.com>
Co-authored-by: mrbean <43734688+sam-h-bean@users.noreply.github.com>
Co-authored-by: Ivan Vendrov <ivendrov@gmail.com>
2 years ago
Harrison Chase 82c080c6e6
bump version to 0078 (#908) 2 years ago
Harrison Chase bcfbc7a818
version 0077 (#878) 2 years ago
Ankush Gola 933441cc52
Add retry to OpenAI llm (#849)
add ability to retry when certain exceptions are raised by
`openai.Completions.create`

Test plan: ran all OpenAI integration tests.
2 years ago
Harrison Chase 4d32441b86
bump version to 0076 (#847) 2 years ago
Harrison Chase b9045f7e0d
bump version to 0075 (#819) 2 years ago
Harrison Chase 7b4882a2f4
Harrison/tf embeddings (#817)
Co-authored-by: Ryohei Kuroki <10434946+yakigac@users.noreply.github.com>
2 years ago
Roy Williams 6086292252
Centralize logic for loading from LangChainHub, add ability to pin dependencies (#805)
It's generally considered to be a good practice to pin dependencies to
prevent surprise breakages when a new version of a dependency is
released. This commit adds the ability to pin dependencies when loading
from LangChainHub.

Centralizing this logic and using urllib fixes an issue identified by
some windows users highlighted in this video -
https://youtu.be/aJ6IQUh8MLQ?t=537
2 years ago
Harrison Chase fb2d7afe71
bump version to 0074 (#791) 2 years ago
Harrison Chase 924b7ecf89
pass kwargs and bump (#770) 2 years ago
Harrison Chase fc19d14a65
bump version to 0072 (#767) 2 years ago
Harrison Chase a80897478e
bump version to 0071 (#755) 2 years ago
Ankush Gola 57609845df
add tracing support to langchain (#741)
* add implementations of `BaseCallbackHandler` to support tracing:
`SharedTracer` which is thread-safe and `Tracer` which is not and is
meant to be used locally.
* Tracers persist runs to locally running `langchain-server`

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2 years ago
Harrison Chase 7f76a1189c
bump version to 0.0.70 (#744) 2 years ago
Harrison Chase 1e4927a1d2
bump version to 0069 (#710) 2 years ago
Harrison Chase 75edd85fed
version 0068 (#701) 2 years ago
Saurav Maheshkar b4fcdeb56c
chore: move coverage config to pyproject (#694)
This PR aims to move the contents of `.coveragerc` to `pyproject.toml`
to make the overall file structure more minimal.
2 years ago
Harrison Chase 27cef0870d
bump version to 0.0.67 (#689) 2 years ago
Harrison Chase 236ae93610
bump version to 0066 (#667) 2 years ago
Harrison Chase 0b204d8c21
Harrison/quadrant (#665)
Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>
2 years ago
Harrison Chase d54fd20ba4
bump version to 0065 (#646) 2 years ago
Harrison Chase 08400f5542
version bump to 0.0.64 (#624) 2 years ago
Harrison Chase 2a54e73fec
bump version to 0063 (#616) 2 years ago
Harrison Chase e9301bf833
bump version to 0.0.62 (#607) 2 years ago
Harrison Chase 950a81399a
bump version to 61 (#596) 2 years ago
Harrison Chase 7b6e7f6e12
bump to version 60 (#583) 2 years ago
Harrison Chase ffc7e04d44
Harrison/wolfram alpha (#579)
Co-authored-by: Nicolas <nicolascamara29@gmail.com>
2 years ago