InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 1597–1608 of 3610 questions

Generative AI & LLMsIntermediate1 min read

What are stop sequences?

Stop sequences are configured strings or token patterns that signal generation should end when encountered, where supported by the API. They can…

Generative AI & LLMsIntermediate1 min read

What is model grounding?

Grounding ties generated claims to a specific evidence source, such as retrieved documents, database results, or tool outputs. A grounded answer…

Generative AI & LLMsIntermediate1 min read

How do you reduce LLM latency?

Reduce latency by selecting a suitable model, shortening prompts, limiting unnecessary retrieval and tool calls, streaming output, parallelizing…

Generative AI & LLMsIntermediate1 min read

What is semantic caching?

Semantic caching reuses a previous response when a new request is sufficiently similar to a cached request, often using embeddings. It can lower…