1
0
mirror of https://github.com/hwchase17/langchain.git synced 2025-11-05 18:54:09 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Bagatur
8e2316b8c2 community[patch]: Release 0.2.11 () 2024-08-02 20:08:44 +00:00
Leonid Ganeline
7cf2d2759d community[patch]: docstrings update ()
Added missed docstrings. Format docstings to the consistent form.
2024-04-11 16:23:27 -04:00
Christophe Bornet
ca2d4078f3 community: Add async methods to AstraDBCache ()
Adds async methods to AstraDBCache
2024-02-14 23:10:08 -05:00
Christophe Bornet
9d458d089a community: Factorize AstraDB components constructors ()
* Adds `AstraDBEnvironment` class and use it in `AstraDBLoader`,
`AstraDBCache`, `AstraDBSemanticCache`, `AstraDBBaseStore` and
`AstraDBChatMessageHistory`
* Create an `AsyncAstraDB` if we only have an `AstraDB` and vice-versa
so:
  * we always have an instance of `AstraDB`
* we always have an instance of `AsyncAstraDB` for recent versions of
astrapy
* Create collection if not exists in `AstraDBBaseStore`
* Some typing improvements

Note: `AstraDB` `VectorStore` not using `AstraDBEnvironment` at the
moment. This will be done after the `langchain-astradb` package is out.
2024-02-01 10:51:07 -08:00