AI Agent Note (LangChain调用通义千问大模型)
2025-12-01 00:00:00
# AI
Using LangChain to call Tongyi Qianwen
0x03、Chain calling of LLM
In previous article, we firstly get the prompt, than we use prompt to call LLM.
Here is another method to call LLM. We combine the prompt template with LLM, and name it chain.
1 | # Chain calling of LLM |

Than, we use chain calling.
1 | resp = chain.stream(input={"text": "This is chain calling of LLM"}) |
