General
PromptBeginner5 minmarkdown
<h1 align="center">
<a href="https://prompts.chat">
5
LangChain Hub prompt for Hello world
Sign in to like and favorite skills
Basic prompt designed to be use as a test case, will just instruct the LLM to say "Hello World".
This prompt doesn't have any inputs.
Below is a code snippet for how to use the prompt.
from langchain.prompts import load_prompt from langchain.chains import LLMChain llm = ... prompt = load_prompt('lc://prompts/hello-world/<file-name>') chain = LLMChain(llm=llm, prompt=prompt)