General
PromptBeginner5 minmarkdown
Untitled Skill
193
LangChain Hub prompt for Llm Math
Loading actions...
Main instructions and any bundled files for this skill.
Prompt designed to optionally output iPython syntax to be run in order to better answer math questions.
This is a description of the inputs that the prompt expects.
question: User question to be answered.Below is a code snippet for how to use the prompt.
from langchain.prompts import load_prompt
from langchain.chains import LLMMathChain
llm = ...
prompt = load_prompt('lc://prompts/llm_math/<file-name>')
chain = LLMMathChain(llm=llm, prompt=prompt)
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend li...
risks