IVQ 1-50

  1. What is a Chain in LangChain?

  2. Explain the role of LLMChain in LangChain.

  3. What is a PromptTemplate in LangChain?

  4. How does SimpleSequentialChain work in LangChain?

  5. What is the use of ConversationChain?

  6. Explain how Memory is used in LangChain chains.

  7. What are Tools in LangChain and how are they used?

  8. How do you create a custom Agent in LangChain?

  9. What is a Retriever in LangChain and how does it interact with RAG?

  10. Explain the function of Callbacks in LangChain execution.

  11. What is a Document object in LangChain?

  12. How does load_qa_chain work in LangChain?

  13. What is a VectorStore in LangChain?

  14. How do you use FAISS with LangChain?

  15. What is the purpose of RetrievalQA?

  16. How does load_summarize_chain function?

  17. What is a ChatPromptTemplate in LangChain?

  18. How do you add multiple input variables to a prompt in LangChain?

  19. What is the RunnableSequence and how does it differ from a regular chain?

  20. How do you stream LLM outputs in LangChain?

  21. What is LLMMathChain and when should you use it?

  22. What is the role of ToolExecutor in LangChain?

  23. How does MultiPromptChain select between different prompts?

  24. How do you add custom tools to an agent in LangChain?

  25. What’s the difference between ReActAgent and ConversationalAgent?

  26. How do you save and load LangChain components using JSON or pickle?

  27. What is AgentExecutor in LangChain?

  28. How does LangChain handle error propagation between nodes?

  29. What logging or tracing tools are integrated with LangChain?

  30. How do you set temperature and max tokens in an LLMChain?

  31. How do you use LangChainHub to load shared chains or prompts?

  32. What is a RunnableLambda and when should you use it?

  33. How do you use OpenAIEmbeddings in LangChain?

  34. What are DocumentLoaders in LangChain and how do they work?

  35. How does TextSplitter work in LangChain?

  36. What’s the difference between RecursiveCharacterTextSplitter and CharacterTextSplitter?

  37. How do you use LangChain with Chroma vector store?

  38. What is a RetrievalQAWithSourcesChain?

  39. How can you evaluate LangChain output using QA Eval Chain?

  40. How do you cache LLM responses in LangChain for efficiency?

  41. How does LangChain Expression Language (LCEL) simplify workflows?

  42. What is a RunnableParallel and when would you use it?

  43. How do you use AzureOpenAI with LangChain?

  44. What’s the purpose of MapReduceDocumentsChain?

  45. How can you monitor token usage in a LangChain pipeline?

  46. How do you pass session or user data through LangChain components?

  47. What’s the difference between Tool and ToolSet?

  48. How can you integrate LangChain with external APIs using RequestsTool?

  49. How do you build a multi-step reasoning agent using LangChain components?

  50. What’s the best way to unit test LangChain components?

Last updated