Embedding model to choose

Choosing the right embedding model depends on what you want your AI application to do, the type of data you have, the accuracy you need, and your performance and cost requirements. For example, if you're building a RAG application using LangChain, LangGraph, FAISS, or a vector database, choosing the embedding model is one of the … Continue reading Embedding model to choose

Tokenization

Tokenization is the process of breaking text into smaller units called tokens so that a machine learning model can process them. Different types of tokenization techniques 1. Word-level tokenization 2. Character-level tokenization 3. Subword-level tokenization 4. Byte-level tokenization 5. Unigram tokenization BPE (Byte Pair Encoding) Comparison: Which technique is better? TechniqueVocabularySequence lengthCommon applicationWord-levelLargeShortTraditional NLPCharacter-levelSmallVery longCharacter … Continue reading Tokenization

Codex CLI slash commands

1. Codex CLI slash commands Here are the important commands documented for Codex. CommandWhat it does/helpShow help/initCreate AGENTS.md project instructions/modelChange AI model and reasoning effort/configConfigure Codex settings/statusShow current session configuration/permissionsControl file and command permissions/planPlan a task before implementation/reviewReview code changes/skillsBrowse and select skills/mcpManage MCP connections/agentsManage and inspect agents/hooksManage hooks/clearStart a fresh conversation/compactCompress conversation context/resumeResume a … Continue reading Codex CLI slash commands

Important claude commands

They help you control the AI model, manage context, configure permissions, work with MCP servers, create skills, manage agents, and automate development workflows. 1. Essential Claude Code commands These are the commands I recommend learning first. CommandPurpose/helpDisplay available commands/initAnalyze project and generate CLAUDE.md/configOpen configuration settings/modelSelect or change Claude model/skillInvoke a skill, when available/skillsList available skills/memoryView … Continue reading Important claude commands

FastAPI walk through

FastAPI is a modern, high-performance Python framework used to build REST APIs, backend services, microservices, and AI/LLM applications. Uvicorn is an ASGI web server used to run FastAPI applications. An ASGI (Asynchronous Server Gateway Interface) web server is software that runs asynchronous Python web applications and acts as a bridge between network protocols and Python … Continue reading FastAPI walk through