AI Agent Note (0x01)
Agent Tool Development ※
Using LangChain to call Tongyi Qianwen
0x01、Init LLM
1 | from langchain_openai import ChatOpenAI |
Using SecretStr Package to encode api_key, result for here

Making a steam out func use to test
1 | # steam out func |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 hi-story's blog!
