langchain-chatbot-demo icon indicating copy to clipboard operation
langchain-chatbot-demo copied to clipboard

feat: update outdated pacakges and imports for langchain and openai deps

Open VeVarunSharma opened this issue 1 year ago β€’ 1 comments

What kind of change does this PR introduce?

Bug fix!! πŸš€ πŸ•ΊπŸ½ πŸ’ƒπŸ½

This PR enables the langchain-chatbot-demo to be working again. It was broken because there was substantive package dependency updates from langchain, as well as some old LLM model deprecations from OpenAI.

Everything is now working as intended βœ…

What is the current behavior?

This PR fixes the issues outlined here: https://github.com/supabase-community/langchain-chatbot-demo/issues/9

What is the new behavior?

As outlined in the linked Bug issue #9 sub-issue 1 with the chat functionality is now working, and sub-issue 2 with issues storing the embeddings from the crawler into supabase is now fixed! πŸš€

Additional context

I had came across this langchain demo via the Langchain YouTube Tutorial: here

For Sub-issue 1 the chat functionality is working well again!

Chat functionality working: image

image

For Sub-issue 2 the storing of embeddings via the crawler to supabase is working well again!

image

Crawler + conversion to embeddings, and storing to supabase is working: image

VeVarunSharma avatar Feb 20 '24 01:02 VeVarunSharma

Just requesting a review here from someone at the supa community! maybe @thorwebdev? :)

VeVarunSharma avatar Feb 25 '24 08:02 VeVarunSharma

Just requesting a review here from someone at the supa community! maybe @thorwebdev? :)

Much appreciated @print-VarunSharma! This got things working for me!

amanuelz91 avatar Jun 02 '24 23:06 amanuelz91

Just requesting a review here from someone at the supa community! maybe @thorwebdev? :)

Much appreciated @print-VarunSharma! This got things working for me!

Amazing!! 😎😁 I'm glad that worked for you and happy to help :)

VeVarunSharma avatar Jun 03 '24 00:06 VeVarunSharma

Holy moly, sorry for the crazy delay, this slipped through the cracks πŸ™ˆ Thank you πŸ’š

thorwebdev avatar Jun 03 '24 04:06 thorwebdev

Holy moly, sorry for the crazy delay, this slipped through the cracks πŸ™ˆ Thank you πŸ’š

No worries at all! This is fantastic this is merged up now for the community! πŸ•ΊπŸ½ πŸ’ƒπŸ½

VeVarunSharma avatar Jun 12 '24 21:06 VeVarunSharma