langchain-ai / langchain

🦜🔗 Build context-aware reasoning applications
https://python.langchain.com
MIT License
94.61k stars 15.31k forks source link

Feature: `QianfanChatEndpoint` Support function_call #11105

Closed danielhjz closed 9 months ago

danielhjz commented 1 year ago

Feature request

Motivation

Neither QianfanChatEndpoint and ErnieBotChat supported ERNIE-Bot Function ability now. We need this for developing agent by function_call where is only supported by openai function_call AFAIK.

Your contribution

ready to PR

dosubot[bot] commented 1 year ago

🤖

That's great to hear that you're interested in contributing to LangChain! Adding support for function calling in QianfanChatEndpoint and ErnieBotChat sounds like a valuable addition to the framework.

To get started, please create a pull request with your proposed changes. The maintainers will review your contribution and provide feedback. Thank you for your willingness to contribute!


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

danielhjz commented 1 year ago

Ive new a PR request here, https://github.com/langchain-ai/langchain/pull/11107, PTAL

dosubot[bot] commented 10 months ago

Hi, @danielhjz

I'm helping the LangChain team manage their backlog and am marking this issue as stale. From what I understand, you requested adding support for function calling in the QianfanChatEndpoint and ErnieBotChat to enable the development of agents using the function_call. I was ready to submit a pull request for this contribution, and after encouragement from @dosubot, I shared the pull request link for review.

Could you please confirm if this issue is still relevant to the latest version of the LangChain repository? If it is, please let the LangChain team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days. Thank you!