Entwickeln von LLM-Anwendungen mit LangChain
Jonathan Bennion
AI Engineer & LangChain Contributor









from langchain_openai import ChatOpenAIllm = ChatOpenAI( model="gpt-4o-mini", api_key='...' )llm.invoke("What is LangChain?")
LangChain is a framework designed for developing applications...
max_completion_tokens, temperature, usw.from langchain_huggingface import HuggingFacePipelinellm = HuggingFacePipeline.from_model_id( model_id="meta-llama/Llama-3.2-3B-Instruct", task="text-generation", pipeline_kwargs={"max_new_tokens": 100} )llm.invoke("What is Hugging Face?")
Hugging Face is a popular open-source artificial intelligence (AI) library...
Entwickeln von LLM-Anwendungen mit LangChain