[Q&A] LangChain or Vercel AI SDK #277
Answered
by
arvinxx
zandko
asked this question in
Development Question | 开发问题
-
🧐 问题描述 | Proposed Solution我注意到在先前的代码中使用了langchain库,但现在改为使用openai库。langchain似乎更方便,但是为什么还是选择了openai呢? 📝 补充信息 | Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Answered by
arvinxx
Oct 7, 2023
Replies: 1 comment
-
几个点:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
arvinxx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
几个点:
ai
的 StreamResponse 方法,代码量少了不少,心智负担也减少了,详见:170567a#diff-712dc70c79419ec0fa9c068859d6d9874790e5d8f7b6b9ce8bb992410d4a22cc%EF%BC%9B