Fix LangChain Chat Memory Issue – Conversation Context Disappears in FastAPI

Posted 4 hours ago

Worldwide

Summary

Hi, Ihave an AI chatbot built with Python, FastAPI, LangChain, OpenAI, and Redis. The chatbot responds correctly to individual questions, but it doesn't remember previous messages. Each new request is treated as a new conversation, even though conversation history should persist. For example: User: My name is Alex. Bot: Nice to meet you, Alex. User: What's my name? Bot: I don't know your name. I need someone to investigate the existing implementation, identify the root cause, and fix the conversation memory so the chatbot maintains context across multiple messages.

  • $30.00

    Fixed-price
  • Intermediate
    Experience Level
  • Remote Job
  • Ongoing project
    Project Type

Contract-to-hire opportunity

This lets talent know that this job could become full time.
Learn more
Skills and Expertise
Mandatory skills
OpenAI API
Docker
Redis
Activity on this job
  • Proposals:20 to 50
  • Last viewed by client:3 hours ago
  • Hires:
    1
  • Interviewing:
    1
  • Invites sent:
    0
  • Unanswered invites:
    0
About the client
Member since Feb 20, 2026
  • United States
    Houston6:27 PM
  • $3.8K total spent
    101 hires, 5 active
  • 116 hours
  • Health & Fitness
    Individual client

Explore similar jobs on Upwork

API
Software Architecture & Design
Odoo
Odoo Development
Accounting
Zero Trust Access Blog Content WritingFixed-price‐ Posted 1 month ago
Java
Golang
Zero Trust Architecture
Content Writing
Article Writing

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo