1001 Freelance Projects
Latest Projects from Freelance Marketplaces
Today is: 14-Dec-2025 17:48 GMT
View Project
View this project in detail (Note: you will be redirected to external marketplace)
Project title: AI Engineer Needed to Optimize LangChain + AWS Bedrock App
Posted by: External project from PeoplePerHour
Started: 03-Nov-2025 17:02 GMT
Description: We have an AI agent application built with Python, LangChain, and AWS Bedrock that currently takes around 40 seconds per LLM response. We need to reduce latency dramatically for investor demos, ideally under 10 seconds. The backend is Flask (Python 3.10) on AWS Lambda with a React frontend and Bedrock Claude models.

You’ll be responsible for targeted performance fixes focused on measurable speed gains. The work includes optimizing Bedrock configuration, implementing real token-by-token streaming, adding Redis caching to replace S3-based message storage, and validating performance improvements with before-and-after latency metrics.

Estimated 6 hours of work.

Tasks

Optimize Bedrock Model Configuration: update bedrock_config.py to disable thinking mode, remove unnecessary budget_tokens, and lower temperature from 1.0 to around 0.2–0.3 for deterministic, faster responses. Confirm that the configuration change reduces token generation delay and verbosity.

Implement Real Token Streaming (Backend): replace agent.invoke with a streaming method using Bedrock ConverseStream or LangChain’s stream API. Ensure partial tokens are sent to the client in real time and test time-to-first-token performance.

Enable Live Streaming Display (Frontend): update the React frontend to handle streamed events progressively so users see text as it generates. Confirm the UI starts displaying output within 2–3 seconds of sending input.

Add Redis Caching for Chat Session Memory: replace S3-based chat history with Redis for in-memory storage. Update the chat_history_manager logic, validate cache persistence, and confirm message load time is near-instant.

Measure and Document Latency Improvements: record baseline timing (total response and time-to-first-token), re-measure after optimizations, and summarize the before/after results. Confirm at least a 4–5× improvement in perceived speed. All optimizations must preserve the exact response content and formatting from the LLM - only response speed may change.

Deliverables
• Updated, tested backend and frontend code (GitHub commit or zip)
• Before/after latency test results (text or JSON summary)
• One short summary of what was changed and verified

Questions - please answer all in proposal

Describe your experience optimizing latency in LangChain or Bedrock-based applications.

Have you implemented real token streaming (not chunked post-processing) before?

What is your preferred setup for Redis caching in a Python/AWS environment?

Are you comfortable modifying both Python backend and React frontend code?

Can you start immediately and complete project within 48 hours of getting contract offer?
Project ID: 3456506
Project category:
Project budget:
View this project in detail (Note: you will be redirected to external marketplace)
Last Projects / Browse Projects
  Project Started
Handwritten Notes Transcribed to Text
Category: Content Writing, Data Entry, Editing, English Spelling, Proofreading, Text Recognition, Transcription, Word Processing
Budget: $250 - $750 USD
14-Dec-2025
17:03 GMT
Talana Organic Rice Label Design - 14/12/2025 10:44 EST
Category: Adobe Creative Cloud, Adobe Illustrator, Photoshop, Branding, Graphic Design, Illustration, Label Design, Logo Design, Print Design
Budget: $15 - $25 USD
14-Dec-2025
17:02 GMT
AI Branding Ads & Video Creation
Category: After Effects, AI Art Creation, AI Content Creation, AI Graphic Design, Animation, Graphic Design, Social Media Marketing, Video Editing
Budget: $30 - $250 USD
14-Dec-2025
17:02 GMT
Paid ColdFusion Interview Milestone
Category: Bootstrap, Cold Fusion, Database Development, Web Development
Budget: $10 - $20 USD
14-Dec-2025
17:00 GMT
Produce Grossomodo-Style Beats
Category: Ableton, Audio Engineering, Audio Production, Audio Services, Music, Music Production, Sound Design, Sound Engineering
Budget: $30 - $250 USD
14-Dec-2025
17:00 GMT
Innovation Collaboration MVP Web App
Category: Graphic Design, Mobile App Development, Node.js, PHP, UI / User Interface, UX / User Experience, Web Development, Web Design
Budget: $10 - $40 USD
14-Dec-2025
16:58 GMT
Website UI/UX Design
Category: Adobe XD, Graphic Design, Prototyping, UI / User Interface, User Interface / IA, UX / User Experience, Web Design
Budget: ₹1500 - ₹12500 INR
14-Dec-2025
16:58 GMT
Refine Colored Floor Plan & Furnishings
Category: 2D Drafting, 2D Drawing, 3D Modelling, 3D Rendering, AutoCAD, Building Design, Interior Design, Revit
Budget: $10 - $30 USD
14-Dec-2025
16:58 GMT
Android App UI & Feature Tweaks
Category: Android, Android App Development, Android Studio, Java, Kotlin, Mobile App Development, Mobile Development, UI / User Interface
Budget: ₹600 - ₹1500 INR
14-Dec-2025
16:58 GMT
Motivation Santé Mentale Quotidienne
Category: Article Writing, Content Writing, Copywriting, French Translator, Graphic Design, Psychology, Social Media Management, Translation
Budget: $15 - $25 USD
14-Dec-2025
16:57 GMT
Custom Web CMS Development
Category: API Development, Content Management System (CMS), HTML, JavaScript, MySQL, PHP, Web Development, Web Design
Budget: $15 - $25 USD
14-Dec-2025
16:56 GMT
NX CAD 3D Engineering Drafting
Category: 3D CAD, 3D Drafting, 3D Modelling, Mechanical Engineering, NX CAD, Product Design
Budget: $10 - $30 USD
14-Dec-2025
16:56 GMT
WooCommerce Product Import Specialist Needed
Category: Inventory Management, Joomla, Magento, Prestashop, Project Management, Website Management, WooCommerce, WordPress
Budget: $250 - $750 USD
14-Dec-2025
16:55 GMT
Upgrade My Android BLE App
Category: Android, Android App Development, Android Studio, API, Bluetooth Low Energy (BLE), Java, Mobile App Development, Mobile Development, Software Testing
Budget: $30 - $250 USD
14-Dec-2025
16:53 GMT
CAD Design with Light Curve and Knobs
Category: 3D CAD, 3D Design, 3D Modelling, 3D Printing, CAD / CAM, Mechanical Engineering, Product Design, Solidworks
Budget: $10 - $30 USD
14-Dec-2025
16:53 GMT
Browse All Projects
Projects by Skills ...
Projects for 'android'
Projects for 'ajax'
Projects for 'asp'
Projects for 'aspnet'
Projects for 'cms'
Projects for 'cpp'
Projects for 'csharp'
Projects for 'css'
Projects for 'delphi'
Projects for 'design'
Projects for 'drupal'
Projects for 'excel'
Projects for 'facebook'
Projects for 'flash'
Projects for 'html'
Projects for 'java'
Projects for 'javascript'
Projects for 'joomla'
Projects for 'iphone'
Projects for 'mysql'
Projects for 'photoshop'
Projects for 'php'
Projects for 'python'
Projects for 'ruby'
Projects for 'seo'
Projects for 'sql'
Projects for 'sysadm'
Projects for 'translate'
Projects for 'typing'
Projects for 'twitter'
Projects for 'vbnet'
Projects for 'xml'
Projects for 'wordpress'
Projects for 'writing'
Read RSS feeds ... New!
RSS feed for 'android'
RSS feed for 'ajax'
RSS feed for 'asp'
RSS feed for 'aspnet'
RSS feed for 'cms'
RSS feed for 'cpp'
RSS feed for 'csharp'
RSS feed for 'css'
RSS feed for 'delphi'
RSS feed for 'design'
RSS feed for 'drupal'
RSS feed for 'excel'
RSS feed for 'facebook'
RSS feed for 'flash'
RSS feed for 'html'
RSS feed for 'java'
RSS feed for 'javascript'
RSS feed for 'joomla'
RSS feed for 'iphone'
RSS feed for 'mysql'
RSS feed for 'photoshop'
RSS feed for 'php'
RSS feed for 'python'
RSS feed for 'ruby'
RSS feed for 'seo'
RSS feed for 'sql'
RSS feed for 'sysadm'
RSS feed for 'translate'
RSS feed for 'typing'
RSS feed for 'twitter'
RSS feed for 'vbnet'
RSS feed for 'xml'
RSS feed for 'wordpress'
RSS feed for 'writing'
New!
Проекты на русском
(Projects in Russian)

Short URL:
1001fp.com
Mobile version:
m.1001freelanceprojects.com
Copyright © 2005-2024 1001 Freelance Projects