Articles tagged langchain.

Upstash Ratelimit in LangChain

Rate-limit LangChain apps and agents using Upstash Ratelimit.

Cahid Arda Oz
Cahid Arda Oz

Semantic Search Engine for Docs Using Upstash

Welcome to a new blog post. In this blog, we will create a semantic search engine applicable to any repository on Github using Upstash Vector. Semantic search basically means "searching with…

Bilge Kaan Güneyli
Bilge Kaan Güneyli

Building an Article Recommendation System with Upstash

Have you used Google or Perplexity.ai? Do you wonder how they are able to show search results that are latest and include links to online articles? Well, in this guide you'll learn how to create such…

Rishi Raj Jain
Rishi Raj Jain

Building an AI Chatbot trained on custom content with LangChain, Faiss and Next.js

In this post, I talk about how I built an open-source Custom Content AI Chatbot with Upstash, Next.js, LangChain and Fly.io. Upstash helped me to schedule model training, offered way of generous rate…

Rishi Raj Jain
Rishi Raj Jain

Chat Model Response Caching With Upstash Redis in LangChain TS

LLMs can be a resource drain in production, consuming both time and money as user queries scale into the millions of tokens. Current chat models lack efficiency, often resulting in subpar user…

Brace Sproul
Brace Sproul

Caching LLM Output On-Demand with LangChain, Redis and QStash

In some applications, it may not be feasible to query an LLM when a user requests it. The process of sending a prompt to an API and waiting for its response can be particularly time-consuming. For…

Anish Pallati
Anish Pallati

Retaining Chat History Using LangChain and Upstash Redis

LangChain provides a simple interface to conduct conversations between a human and an AI. It can be easily configured to use , enabling you to store conversation history in memory. This may be…

Anish Pallati
Anish Pallati