Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kpavlov/langchain4j-kotlin
Kotlin enhancements for LangChain4j
https://github.com/kpavlov/langchain4j-kotlin
kotlin kotlin-coroutines langchain4j
Last synced: 13 days ago
JSON representation
Kotlin enhancements for LangChain4j
- Host: GitHub
- URL: https://github.com/kpavlov/langchain4j-kotlin
- Owner: kpavlov
- Created: 2024-10-22T11:59:38.000Z (22 days ago)
- Default Branch: main
- Last Pushed: 2024-10-24T16:48:03.000Z (20 days ago)
- Last Synced: 2024-10-25T03:46:12.355Z (20 days ago)
- Topics: kotlin, kotlin-coroutines, langchain4j
- Language: Kotlin
- Homepage:
- Size: 276 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# langchain4j-kotlin
[![Kotlin CI with Maven](https://github.com/kpavlov/langchain4j-kotlin/actions/workflows/maven.yml/badge.svg?branch=main)](https://github.com/kpavlov/langchain4j-kotlin/actions/workflows/maven.yml)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/644f664ad05a4a009b299bc24c8be4b8)](https://app.codacy.com/gh/kpavlov/langchain4j-kotlin/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![Codacy Coverage](https://app.codacy.com/project/badge/Coverage/644f664ad05a4a009b299bc24c8be4b8)](https://app.codacy.com/gh/kpavlov/langchain4j-kotlin/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)Kotlin enhancements for [LangChain4j](https://github.com/langchain4j/langchain4j).
See the [discussion](https://github.com/langchain4j/langchain4j/discussions/1897) on LangChain4j project.
## How to run
Create `.env` file in root directory and add your API keys:
```dotenv
OPENAI_API_KEY=sk-xxxxx
```Building project locally:
```shell
mvn clean verify
```
or
```shell
make build
```## Acknowledgements
Training data from Project Gutenberg:
- [CAPTAIN BLOOD By Rafael Sabatini](https://www.gutenberg.org/cache/epub/1965/pg1965.txt)