crate / cratedb-examples

A collection of clear and concise examples how to work with CrateDB.
Apache License 2.0
9 stars 7 forks source link

ML/LLM: Update to LangChain 0.2 #468

Closed amotl closed 3 months ago

amotl commented 3 months ago

About

This patch adjusts userspace code to accept the updates to the LangChain CrateDB adapter, in order to use the most recent LangChain version 0.2.2.

Support Packages

google-cloud-aiplatform<2
langchain-google-vertexai<2
langchain-openai<0.2
langchain-text-splitters<0.3
unstructured<0.15

Temporary Upgrade

For validation purposes, 9d8ffc160 temporarily pulls in upstream adjustments for LangChain 0.2 from the staging branch cratedb-next.

langchain @ cratedb-next

If that succeeds, cratedb-next will converge to cratedb, effectively upgrading to LangChain 0.2. To compensate, this very patch will need to be merged.

References

amotl commented 3 months ago

User Testing

This is a significant update, from LangChain version 0.1.1 to version 0.2.2. Manual validation of each individual notebook will be needed, after refreshing the dependencies, and restarting your Jupyter Kernels.