Skip to content

Instantly share code, notes, and snippets.

🧠 What LLMs Struggle With: The Limits of Vectorization

LLMs work best when tasks can be converted into vectors — when meaning and relationships can be embedded in continuous space. But there are important areas where this approach falls short:


🧭 1. Common Sense That Requires Physical Grounding

LLMs lack sensory experience and embodied reasoning. They struggle with:

  • Spatial logic ("Will this fit through the door?")
  • Physical dynamics ("Will the stack fall over?")

🧠 Preventing Models from Learning Flawed Patterns

Even if data is clean and neatly converted into tensors, models can still learn false patterns if the underlying data is flawed. Here's how to mitigate that risk:


🔍 1. Data Auditing and Exploration

  • Check distributions: Look for imbalances in class labels, demographics, etc.
  • Verify labels: Ensure labeling quality — are there systematic labeling errors or biases?

Form Fill Agent API - CURL Commands

This document provides detailed curl commands for interacting with the Form Fill Agent API, with real-world examples based on Colorado Springs Utilities and other providers.

Note: For general API documentation and endpoint details, see API-TESTING.md.

Base URL

http://localhost:8000/api/v1

Form Fill Agent API Documentation

This document provides detailed information about the Form Fill Agent API endpoints, including example requests and responses.

Note: For more detailed curl commands with real-world examples and complete workflows, see CURL-CALLS.md.

Base URL

http://localhost:8000

RAG System Flow Diagram

This document illustrates the flow of a Retrieval-Augmented Generation (RAG) system implementation using LangChain.

System Overview

The RAG system combines document retrieval with language model generation to provide contextually relevant answers to user questions.

Flow Diagram

PROBLEM SET


Problem 1: Two Sum Sorted (Array)

Difficulty: Easy
Category: Array

Description:

JavaScript: Object Properties, Value vs Reference, and Copying Objects


🔑 1. Object Properties

Objects in JavaScript are collections of key-value pairs. Each key is a property of the object.

const person = {

Vehicle Valuation and Repair Cost Estimate - Chevrolet Orlando LT VCDi Auto (2011)

Overview

  • Registration: AF61NHD
  • Make/Model: Chevrolet Orlando LT VCDi Auto
  • Fuel Type: Diesel
  • Transmission: 6-Speed Auto
  • First Registration: 24 October 2011
  • Mileage (as of May 2025): 137,507 mi