langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Implement other Language version of LangChain

Open ken20220214 opened this issue 1 year ago • 5 comments

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

ken20220214 avatar May 30 '23 03:05 ken20220214

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.

izzymsft avatar May 30 '23 12:05 izzymsft

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

Undertone0809 avatar May 30 '23 17:05 Undertone0809

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

HamaWhiteGG avatar May 30 '23 17:05 HamaWhiteGG

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.

Undertone0809 avatar May 30 '23 18:05 Undertone0809

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

Lance729 avatar Jun 02 '23 07:06 Lance729

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

langchain4j avatar Aug 01 '23 19:08 langchain4j

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!

dosubot[bot] avatar Dec 21 '23 16:12 dosubot[bot]

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

FellowTraveler avatar Dec 24 '23 12:12 FellowTraveler

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

dosubot[bot] avatar Dec 24 '23 12:12 dosubot[bot]