James LiPoor man’s serverless FastAPI application — AWS CDK + Lambda + API gateway + (optional) NAT…IntroductionApr 15Apr 15
James LiMental framework to building chains with LangChain Expression Language (LCEL), with branching and…LCEL (LangChain Expression Language) simplifies syntax and it’s easy to use for simple chains, but it can get confusing once we add…Mar 261Mar 261
James LiA LangChain implementation of Chain of Verification (CoVe) to reduce hallucination in LLMUpdate (2023–10–22): added search agent to the verification stepOct 9, 20231Oct 9, 20231
James LiCheatsheet for Pinecone CRUD using LangChainUpdate (2024–02–19): Updated code to reflect changes from langchain and pinecone-client. (langchain==0.1.7, pinecone-client==3.0.3)Aug 11, 2023Aug 11, 2023
James LiWorking with AWS RDS proxy endpoint on read replica with SQLAlchemyTypically client-facing read has higher traffic than write. Assuming that you already have a DB cluster with one write and one read…Jan 12, 20221Jan 12, 20221
James LiHow to serve an AWS static website with CloudFront distribution (using console / CloudFormation…IntroductionOct 5, 2020Oct 5, 2020
James LiHow to visualise real-time order book data and host your own dashboard (Part 1/2)This mini-project has two objectives:Sep 27, 2020Sep 27, 2020