langchain-ai / langchain

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

Implement other Language version of LangChain #5421

Closed ken20220214 closed 3 months ago

ken20220214 commented 1 year ago

Issue you'd like to raise.

LangChain framework mostly aims to build applications which interact with LLM. Many online applications themselves are implements by other languages such as Java,C++, but LangChain only supports Python and JS by now. How about implement other language version of LangChain?

Suggestion:

No response

izzymsft commented 1 year ago

I think this is a great suggestion and would be nice to see this feature. I love the idea of adding support for Java and C# too.

Undertone0809 commented 1 year ago

Yes, but actually, it's a big project I think. It may take some time.

HamaWhiteGG commented 1 year ago

In Java, you can use LangChain: https://github.com/HamaWhiteGG/langchain-java @ken20220214 @izzymsft @Undertone0809

Undertone0809 commented 1 year ago

In Java, you can use LangChain: https://github.com/HamaWhiteGG/langchain-java @ken20220214 @izzymsft @Undertone0809

A great project! But I want to know how many features have been revived? Moreover, I don't seem to have seen the documentation of it.

Lance729 commented 1 year ago

Yes, we truly need a C++ version for project.

langchain4j commented 11 months ago

There is LangChain for Java: https://github.com/langchain4j/langchain4j

dosubot[bot] commented 7 months ago

Hi, @ken20220214,

I'm helping the LangChain team manage their backlog and am marking this issue as stale. From what I understand, the issue you raised proposes adding support for languages like Java and C++ to LangChain, which currently only supports Python and JS. There was some interest and discussion around the idea, with existing Java implementations being shared, and concerns raised about the features and documentation of those implementations.

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!

FellowTraveler commented 7 months ago

So how do I use LangChain from a C++ program?

dosubot[bot] commented 7 months ago

@baskaryan, could you please assist @FellowTraveler with using LangChain from a C++ program? Thank you!