What is a large language model?
Simple meaning
An LLM is a neural net trained on huge text to predict the next token.
Open the full page for Why, Steps, Example and Key takeaway.
Panel-ready GenAI / LLM questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.
An LLM is a neural net trained on huge text to predict the next token.
Open the full page for Why, Steps, Example and Key takeaway.
It is writing clear instructions, context, and examples so the model does the task you want.
Open the full page for Why, Steps, Example and Key takeaway.
RAG searches your documents first, then feeds relevant chunks into the LLM prompt.
Open the full page for Why, Steps, Example and Key takeaway.
Embeddings are numeric vectors that place similar meanings near each other.
Open the full page for Why, Steps, Example and Key takeaway.
I ground with RAG, constrain output schemas, add citation checks, and keep humans in the loop for high risk.
Open the full page for Why, Steps, Example and Key takeaway.
Balance context completeness versus retrieval precision.
Open the full page for Why, Steps, Example and Key takeaway.
Models accept a maximum context window measured in tokens, not words.
Open the full page for Why, Steps, Example and Key takeaway.
Max steps, budgets, and stop conditions.
Open the full page for Why, Steps, Example and Key takeaway.
Temperature controls randomness.
Open the full page for Why, Steps, Example and Key takeaway.
Measuring angle between vectors — common for nearest neighbor search.
Open the full page for Why, Steps, Example and Key takeaway.
An agent plans steps, calls tools like search or APIs, and loops until a goal is met.
Open the full page for Why, Steps, Example and Key takeaway.
Red-team prompt suites, automated classifiers, and human review.
Open the full page for Why, Steps, Example and Key takeaway.
A piece of text the model reads — often a word piece.
Open the full page for Why, Steps, Example and Key takeaway.
The instruction and context you send the model.
Open the full page for Why, Steps, Example and Key takeaway.
Randomness in token sampling.
Open the full page for Why, Steps, Example and Key takeaway.
Models and vector search work better on focused passages.
Open the full page for Why, Steps, Example and Key takeaway.
Ground the model on retrieved text, cite sources, and refuse when context is weak.
Open the full page for Why, Steps, Example and Key takeaway.
Untrusted content tries to override system instructions.
Open the full page for Why, Steps, Example and Key takeaway.
Golden sets, rubric scoring, latency, cost, and regression gates in CI.
Open the full page for Why, Steps, Example and Key takeaway.
Cache frequent prompts, trim context, pick smaller models for easy tasks, and set budgets with alerts.
Open the full page for Why, Steps, Example and Key takeaway.