← All topics / सभी विषय
Interview preparation / साक्षात्कार अभ्यास

LangChain

70 questions / प्रश्न · 8 sections

LangChain Fundamentals Q1–10

  1. What is LangChain?LangChain क्या है?
  2. Why is LangChain needed?LangChain की आवश्यकता क्यों पड़ती है?
  3. What is the difference between LangChain and direct LLM API call?LangChain और direct LLM API call में क्या अंतर है?
  4. What are the main components of LangChain?LangChain के मुख्य components क्या हैं?
  5. What is LangChain Core?LangChain Core क्या है?
  6. What is the difference between langchain and langchain-community?langchain और langchain-community में क्या अंतर है?
  7. What is the difference between LLM and Chat Model?LLM और Chat Model में क्या अंतर है?
  8. What is the difference between LangChain mein invoke() , stream() and batch()?LangChain में invoke() , stream() और batch() में क्या अंतर है?
  9. What is LangChain application ka basic workflow?LangChain application का basic workflow क्या है?
  10. Describe LangChain ka complete architecture.LangChain का complete architecture समझाएँ.

Models & Messages Q11–17

  1. How would you approach LangChain LLM/model integration?LangChain में LLM/model integration कैसे होता है?
  2. What is Chat model?Chat model क्या है?
  3. What is SystemMessage , HumanMessage and AIMessage?SystemMessage , HumanMessage और AIMessage क्या हैं?
  4. What is Messages ko use karne ka benefit?Messages को उपयोग करने का benefit क्या है?
  5. How do you integrate LangChain mein Ollama model?LangChain में Ollama model कैसे integrate करते हैं?
  6. Explain Model parameters jaise temperature role.Model parameters jaise temperature का क्या role है?
  7. What is Different LLM providers ko LangChain se integrate karne ka advantage?Different LLM providers को LangChain से integrate करने का advantage क्या है?

Prompt Templates & Output Parsers Q18–25

  1. What is PromptTemplate?PromptTemplate क्या है?
  2. What is ChatPromptTemplate?ChatPromptTemplate क्या है?
  3. What is the difference between Prompt template and normal string?Prompt template और normal string में क्या अंतर है?
  4. What is Prompt variables?Prompt variables क्या हैं?
  5. What is Output Parser?Output Parser क्या होता है?
  6. Explain StrOutputParser.StrOutputParser क्या करता है?
  7. What is Structured output/Pydantic-based output?Structured output/Pydantic-based output क्या है?
  8. Describe Prompt → Model → Parser ka complete LangChain flow.Prompt → Model → Parser का complete LangChain flow समझाएँ.

Documents, Loaders & Splitters Q26–32

  1. What is LangChain Document?LangChain Document क्या है?
  2. What is Document Loader?Document Loader क्या है?
  3. Explain PyPDFLoader.PyPDFLoader क्या करता है?
  4. What is Document metadata?Document metadata क्या होता है?
  5. Why is Text Splitter needed?Text Splitter की आवश्यकता क्यों पड़ती है?
  6. What is RecursiveCharacterTextSplitter?RecursiveCharacterTextSplitter क्या है?
  7. How would you approach Chunk size chunk overlap choose?Chunk size और chunk overlap कैसे choose करेंगे?

Embeddings, Vector Stores & Retrievers Q33–40

  1. What is LangChain Embeddings?LangChain Embeddings क्या हैं?
  2. What is OllamaEmbeddings?OllamaEmbeddings क्या है?
  3. What is Vector Store?Vector Store क्या होता है?
  4. How would you approach LangChain FAISS?LangChain में FAISS कैसे उपयोग होता है?
  5. What is Chroma integration?Chroma integration क्या है?
  6. What is Retriever?Retriever क्या होता है?
  7. Explain as_retriever().as_retriever() क्या करता है?
  8. Describe Document → Chunk → Embedding → Vector Store → Retriever ka complete flow.Document → Chunk → Embedding → Vector Store → Retriever का complete flow समझाएँ.

Chains & LCEL Q41–50

  1. What is LangChain Chain?LangChain Chain क्या है?
  2. What is LCEL?LCEL क्या है?
  3. Why is LCEL needed?LCEL की आवश्यकता क्यों पड़ती है?
  4. What is Runnable?Runnable क्या है?
  5. What is RunnableSequence?RunnableSequence क्या है?
  6. What is RunnablePassthrough?RunnablePassthrough क्या है?
  7. What is RunnableParallel?RunnableParallel क्या है?
  8. What is RunnableLambda?RunnableLambda क्या है?
  9. What is RunnableBranch?RunnableBranch क्या है?
  10. How does LCEL mein | operator work?LCEL में | operator कैसे काम करता है?

Memory, Streaming & Production Q51–60

  1. How do you handle LangChain mein conversation memory?LangChain में conversation memory कैसे handle करते हैं?
  2. What is RunnableWithMessageHistory?RunnableWithMessageHistory क्या है?
  3. What is the difference between Memory and context?Memory और context में क्या अंतर है?
  4. What is LangChain streaming?LangChain streaming क्या है?
  5. What is Async execution?Async execution क्या है?
  6. How do you implement Retry and fallback?Retry और fallback कैसे implement करते हैं?
  7. What is LangChain callbacks?LangChain callbacks क्या हैं?
  8. How do you integrate LangSmith ke saath LangChain ko?LangSmith के साथ LangChain को कैसे integrate करते हैं?
  9. How do you deploy LangChain application ko FastAPI ke saath production mein?LangChain application को FastAPI के साथ production में कैसे deploy करेंगे?
  10. Describe Ek production-grade LangChain RAG application ka complete architecture.एक production-grade LangChain RAG application का complete architecture समझाएँ.

LangChain Agents Q61–70

  1. What is LangChain Agent?LangChain Agent क्या है?
  2. What is the difference between LangChain Agent and Chain?LangChain Agent और Chain में क्या अंतर है?
  3. Why is Agent ko tools needed?Agent को tools की आवश्यकता क्यों पड़ती है?
  4. What is LangChain mein Tool?LangChain में Tool क्या होता है?
  5. How would you approach Agent Tool dynamically select?Agent Tool को dynamically कैसे select करता है?
  6. What is create_agent / modern LangChain agent approach?create_agent / modern LangChain agent approach क्या है?
  7. Explain Agent Tool Calling relationship.Agent और Tool Calling में क्या relationship है?
  8. Describe LangChain Agent ka execution flow.LangChain Agent का execution flow समझाएँ.
  9. Why is Agent stop condition / iteration limit important?Agent को stop condition / iteration limit क्यों चाहिए?
  10. How do you design LangChain mein production-grade Agent + Tools architecture?LangChain में production-grade Agent + Tools architecture कैसे डिज़ाइन करेंगे?