Articles about langchain | UserComp.com

Understanding Cost of OpenAI Usage in RAG Retrieval Augmented Generation Pipeline

Reduce OpenAI costs in RAG pipelines by optimizing FAISS retrieval and chunking to minimize token usage.

Read More
Inconsistent Responses from OpenAI Function Calls using Langchain

Resolve intermittent OpenAI function call failures in Langchain by correctly parsing tool_calls and appending ToolMessage objects to maintain conversation state.

Read More