langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Is it possible to support the kotlin language?Like langchainkt.

Open yangwuan55 opened this issue 1 year ago • 1 comments

Feature request

support for kotlin language

Motivation

1.Safety and Reliability: Kotlin emphasizes on safety and reliability, and it can help developers avoid common programming errors through type checks, null safety, exception handling, and other mechanisms. Additionally, Kotlin provides a functional programming style that reduces side effects and improves code reliability and maintainability.

2.Interoperability: Kotlin seamlessly interoperates with Java, which means that you can use existing Java libraries and frameworks in Kotlin projects, and Kotlin code can be used in Java projects. Moreover, Kotlin supports JavaScript and Native platforms, so you can use the same code across different platforms.

3.Conciseness: Kotlin has a concise and clear syntax that reduces code redundancy and complexity. For example, Kotlin uses lambda expressions and extension functions to simplify code, and provides many convenient syntax sugars such as null safety operator, range expressions, string templates, etc. These features can greatly improve development efficiency and reduce the possibility of errors.

Your contribution

I can write any partial code related to Kotlin.

yangwuan55 avatar May 19 '23 05:05 yangwuan55

If you want to start kotlin-langchain, I can participant in making kotlin-langchain. I have been developing 2 years Kotlin in production env.

tmdgusya avatar Jun 03 '23 02:06 tmdgusya

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

langchain4j avatar Aug 01 '23 19:08 langchain4j

Hi, @yangwuan55! I'm Dosu, and I'm here to help the LangChain team manage their backlog. I wanted to let you know that we are marking this issue as stale.

Based on my understanding, you requested support for the Kotlin language in the project. You highlighted the benefits of Kotlin and even offered to contribute code related to Kotlin. There was also interest expressed by another user, tmdgusya, in participating in making Kotlin-langchain. Additionally, another user, langchain4j, suggested using LangChain for Java as an alternative.

Before we proceed, we would like to confirm if this issue is still relevant to the latest version of the LangChain repository. If it is, please let us know by commenting on this issue. Otherwise, feel free to close the issue yourself, or the issue will be automatically closed in 7 days.

Thank you for your understanding and contribution to the LangChain project!

dosubot[bot] avatar Oct 31 '23 16:10 dosubot[bot]

If you want to start kotlin-langchain, I can participant in making kotlin-langchain. I have been developing 2 years Kotlin in production env.

I'm interested in participating in supporting Kotlin!

kelvinwatson avatar May 11 '24 15:05 kelvinwatson

I am interested as well :)

PRUJA avatar Jun 11 '24 15:06 PRUJA

So am I! Would be happy to contribute.

rchtgpt avatar Jun 13 '24 23:06 rchtgpt

I want to contribute as well. S

On Fri, 14 Jun 2024 at 00:14, Rachit Gupta @.***> wrote:

So am I! Would be happy to contribute.

— Reply to this email directly, view it on GitHub https://github.com/langchain-ai/langchain/issues/4963#issuecomment-2166936158, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4K63R5CYPOO5MOVD7V7TZHIRU5AVCNFSM6AAAAAAYHKHF7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRWHEZTMMJVHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

senagbe avatar Jun 15 '24 14:06 senagbe