[ {"id": "aiml_001", "domain": "ai_ml", "topic": "what is machine learning", "content": "Machine learning is a branch of AI where computer systems learn patterns from data to make predictions or decisions, instead of being explicitly programmed with fixed rules for every scenario. The model improves its performance as it's exposed to more relevant data during training."}, {"id": "aiml_002", "domain": "ai_ml", "topic": "what is a large language model (LLM)", "content": "A large language model is an AI system trained on massive amounts of text data to understand and generate human-like language, used for tasks like answering questions, writing, and conversation. Examples include GPT, Claude, Gemini, and open models like Qwen and Llama."}, {"id": "aiml_003", "domain": "ai_ml", "topic": "what is a neural network", "content": "A neural network is a machine learning model loosely inspired by the structure of the human brain, made up of layers of interconnected \"neurons\" (nodes) that process and pass along information. Deep learning refers to neural networks with many layers, capable of learning complex patterns."}, {"id": "aiml_004", "domain": "ai_ml", "topic": "what is model quantization", "content": "Quantization is a technique that reduces the precision of a model's internal numbers (e.g. from 16-bit to 4-bit) to shrink its file size and speed up processing, with some tradeoff in accuracy. It's especially useful for running AI models on devices with limited memory, like smartphones."}, {"id": "aiml_005", "domain": "ai_ml", "topic": "what is fine-tuning in AI", "content": "Fine-tuning is the process of taking an already-trained AI model and further training it on a smaller, specific dataset to adapt its behavior or knowledge for a particular task or style. It's much faster and cheaper than training a model from scratch."}, {"id": "aiml_006", "domain": "ai_ml", "topic": "what is RAG (retrieval-augmented generation)", "content": "RAG is a technique where an AI model is given relevant, up-to-date information retrieved from an external source (like a document or database) at the time of answering, rather than relying only on facts memorized during training. This helps reduce incorrect or outdated answers, especially for a small model with limited built-in knowledge."}, {"id": "aiml_007", "domain": "ai_ml", "topic": "what is a hallucination in AI", "content": "An AI hallucination is when a model generates information that sounds plausible but is factually incorrect or made up, often because it's predicting likely-sounding text rather than retrieving verified facts. Smaller models are generally more prone to this than larger, more capable ones."}, {"id": "aiml_008", "domain": "ai_ml", "topic": "what is on-device AI (edge AI)", "content": "On-device AI, or edge AI, means running AI models directly on a local device like a phone rather than sending data to a remote cloud server. Benefits include better privacy (data never leaves the device), offline availability, and lower latency, at the cost of using smaller, less powerful models than cloud-based ones."}, {"id": "aiml_009", "domain": "ai_ml", "topic": "what is a token in AI language models", "content": "A token is a chunk of text — often a word, part of a word, or punctuation mark — that a language model processes as its basic unit of input and output. Model context limits and processing speed are typically measured in number of tokens rather than words or characters."}, {"id": "aiml_010", "domain": "ai_ml", "topic": "what is a GGUF file", "content": "GGUF is a file format used to store quantized AI language models efficiently, commonly used with the llama.cpp inference engine for running models on regular hardware including phones and laptops without needing a powerful GPU. It replaced the earlier GGML format."}, {"id": "aiml_011", "domain": "ai_ml", "topic": "what is a context window in AI models", "content": "A context window is the maximum amount of text (measured in tokens) a language model can consider at once, including both the conversation history and the current input. Once a conversation exceeds this limit, earlier parts may need to be summarized or dropped for the model to keep responding coherently."}, {"id": "aiml_012", "domain": "ai_ml", "topic": "what is prompt engineering", "content": "Prompt engineering is the practice of carefully crafting instructions given to an AI model to get more accurate, relevant, or well-formatted responses. It includes techniques like giving clear examples, specifying the desired format, or breaking a complex task into steps."}, {"id": "aiml_013", "domain": "ai_ml", "topic": "what is embedding in AI", "content": "An embedding is a way of converting text (or other data) into a list of numbers (a vector) that represents its meaning, so that texts with similar meaning end up with mathematically similar vectors. This is the basis for semantic search and retrieval systems like RAG, since similarity between vectors can be measured directly."}, {"id": "aiml_014", "domain": "ai_ml", "topic": "what is function calling / tool use in AI", "content": "Function calling (or tool use) is a capability where an AI model can recognize when a user's request requires taking a specific action — like opening an app or searching the web — and output a structured request for that action instead of just replying with text. A separate system then carries out the actual action."}, {"id": "aiml_015", "domain": "ai_ml", "topic": "what is the difference between AI, machine learning, and deep learning", "content": "AI is the broad field of building systems that perform tasks requiring human-like intelligence. Machine learning is a subset of AI where systems learn from data rather than fixed rules. Deep learning is a further subset of machine learning that uses multi-layered neural networks, responsible for most recent advances like large language models."} ]