├── .github └── workflows │ ├── deploy.yml │ └── gradle.yml ├── .gitignore ├── LICENSE ├── README.md ├── api-google-gemini ├── build.gradle.kts └── src │ ├── commonMain │ └── kotlin │ │ └── io │ │ └── github │ │ └── stream29 │ │ └── langchain4kt2 │ │ └── api │ │ └── googlegemini │ │ ├── Extension.kt │ │ ├── GenerateContentResponseBuilder.kt │ │ └── Generator.kt │ └── jvmTest │ └── kotlin │ └── GeminiTest.kt ├── api-langchain4j ├── build.gradle.kts └── src │ ├── main │ └── kotlin │ │ └── io │ │ └── github │ │ └── stream29 │ │ └── langchain4kt2 │ │ └── api │ │ └── langchain4j │ │ ├── Entities.kt │ │ ├── Extension.kt │ │ ├── Generator.kt │ │ └── TypeMapping.kt │ └── test │ └── kotlin │ └── QwenTest.kt ├── api-openai ├── build.gradle.kts └── src │ ├── commonMain │ └── kotlin │ │ └── io │ │ └── github │ │ └── stream29 │ │ └── langchain4kt2 │ │ └── api │ │ └── openai │ │ ├── Entities.kt │ │ ├── Extension.kt │ │ ├── Generator.kt │ │ └── TypeMapping.kt │ └── jvmTest │ └── kotlin │ └── QwenTest.kt ├── api-springai ├── build.gradle.kts └── src │ ├── main │ └── kotlin │ │ └── io │ │ └── github │ │ └── stream29 │ │ └── langchain4kt2 │ │ └── api │ │ └── springai │ │ ├── Extension.kt │ │ ├── Generator.kt │ │ └── TypeMapping.kt │ └── test │ └── kotlin │ ├── Global.kt │ └── QianfanTest.kt ├── core ├── build.gradle.kts └── src │ ├── commonMain │ └── kotlin │ │ └── io │ │ └── github │ │ └── stream29 │ │ └── langchain4kt2 │ │ └── core │ │ ├── Annotation.kt │ │ ├── Aop.kt │ │ ├── Configuration.kt │ │ ├── Dispatch.kt │ │ ├── Entity.kt │ │ ├── Exception.kt │ │ ├── FlowControl.kt │ │ ├── HistoryDsl.kt │ │ └── TypeAlias.kt │ └── jvmMain │ └── kotlin │ └── io │ └── github │ └── stream29 │ └── langchain4kt2 │ └── core │ └── Blocking.kt ├── example-kotlin-notebook └── BasicUsage.ipynb ├── gradle.properties ├── gradle ├── libs.versions.toml └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle.kts /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/gradle.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/.github/workflows/gradle.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/README.md -------------------------------------------------------------------------------- /api-google-gemini/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-google-gemini/build.gradle.kts -------------------------------------------------------------------------------- /api-google-gemini/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/googlegemini/Extension.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-google-gemini/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/googlegemini/Extension.kt -------------------------------------------------------------------------------- /api-google-gemini/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/googlegemini/GenerateContentResponseBuilder.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-google-gemini/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/googlegemini/GenerateContentResponseBuilder.kt -------------------------------------------------------------------------------- /api-google-gemini/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/googlegemini/Generator.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-google-gemini/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/googlegemini/Generator.kt -------------------------------------------------------------------------------- /api-google-gemini/src/jvmTest/kotlin/GeminiTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-google-gemini/src/jvmTest/kotlin/GeminiTest.kt -------------------------------------------------------------------------------- /api-langchain4j/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-langchain4j/build.gradle.kts -------------------------------------------------------------------------------- /api-langchain4j/src/main/kotlin/io/github/stream29/langchain4kt2/api/langchain4j/Entities.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-langchain4j/src/main/kotlin/io/github/stream29/langchain4kt2/api/langchain4j/Entities.kt -------------------------------------------------------------------------------- /api-langchain4j/src/main/kotlin/io/github/stream29/langchain4kt2/api/langchain4j/Extension.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-langchain4j/src/main/kotlin/io/github/stream29/langchain4kt2/api/langchain4j/Extension.kt -------------------------------------------------------------------------------- /api-langchain4j/src/main/kotlin/io/github/stream29/langchain4kt2/api/langchain4j/Generator.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-langchain4j/src/main/kotlin/io/github/stream29/langchain4kt2/api/langchain4j/Generator.kt -------------------------------------------------------------------------------- /api-langchain4j/src/main/kotlin/io/github/stream29/langchain4kt2/api/langchain4j/TypeMapping.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-langchain4j/src/main/kotlin/io/github/stream29/langchain4kt2/api/langchain4j/TypeMapping.kt -------------------------------------------------------------------------------- /api-langchain4j/src/test/kotlin/QwenTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-langchain4j/src/test/kotlin/QwenTest.kt -------------------------------------------------------------------------------- /api-openai/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-openai/build.gradle.kts -------------------------------------------------------------------------------- /api-openai/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/openai/Entities.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-openai/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/openai/Entities.kt -------------------------------------------------------------------------------- /api-openai/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/openai/Extension.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-openai/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/openai/Extension.kt -------------------------------------------------------------------------------- /api-openai/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/openai/Generator.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-openai/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/openai/Generator.kt -------------------------------------------------------------------------------- /api-openai/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/openai/TypeMapping.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-openai/src/commonMain/kotlin/io/github/stream29/langchain4kt2/api/openai/TypeMapping.kt -------------------------------------------------------------------------------- /api-openai/src/jvmTest/kotlin/QwenTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-openai/src/jvmTest/kotlin/QwenTest.kt -------------------------------------------------------------------------------- /api-springai/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-springai/build.gradle.kts -------------------------------------------------------------------------------- /api-springai/src/main/kotlin/io/github/stream29/langchain4kt2/api/springai/Extension.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-springai/src/main/kotlin/io/github/stream29/langchain4kt2/api/springai/Extension.kt -------------------------------------------------------------------------------- /api-springai/src/main/kotlin/io/github/stream29/langchain4kt2/api/springai/Generator.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-springai/src/main/kotlin/io/github/stream29/langchain4kt2/api/springai/Generator.kt -------------------------------------------------------------------------------- /api-springai/src/main/kotlin/io/github/stream29/langchain4kt2/api/springai/TypeMapping.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-springai/src/main/kotlin/io/github/stream29/langchain4kt2/api/springai/TypeMapping.kt -------------------------------------------------------------------------------- /api-springai/src/test/kotlin/Global.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-springai/src/test/kotlin/Global.kt -------------------------------------------------------------------------------- /api-springai/src/test/kotlin/QianfanTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/api-springai/src/test/kotlin/QianfanTest.kt -------------------------------------------------------------------------------- /core/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/core/build.gradle.kts -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/Annotation.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/Annotation.kt -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/Aop.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/Aop.kt -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/Configuration.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/Configuration.kt -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/Dispatch.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/Dispatch.kt -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/Entity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/Entity.kt -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/Exception.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/Exception.kt -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/FlowControl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/FlowControl.kt -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/HistoryDsl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/HistoryDsl.kt -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/TypeAlias.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/core/src/commonMain/kotlin/io/github/stream29/langchain4kt2/core/TypeAlias.kt -------------------------------------------------------------------------------- /core/src/jvmMain/kotlin/io/github/stream29/langchain4kt2/core/Blocking.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/core/src/jvmMain/kotlin/io/github/stream29/langchain4kt2/core/Blocking.kt -------------------------------------------------------------------------------- /example-kotlin-notebook/BasicUsage.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/example-kotlin-notebook/BasicUsage.ipynb -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/libs.versions.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/gradle/libs.versions.toml -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CJGroup/langchain4kt/HEAD/settings.gradle.kts --------------------------------------------------------------------------------