Commit cf1cdab
Refactoring, add Kotlin Notebook (#20)
This pull request includes several changes to improve code consistency,
add new features, and clean up the repository. The most important
changes include the renaming of modules, updates to documentation,
addition of linting tools, and removal of outdated test files.
### Module Renaming:
* Renamed `langchain4j-core-kotlin` module to `langchain4j-kotlin` and
updated references in `pom.xml` and source files accordingly.
[[1]](diffhunk://#diff-988dd67f6a0de416687ee39291f2713a8229de37918339f305c4ec8ae58e539bL2-R12)
[[2]](diffhunk://#diff-86cfcde484068926e474ebf795f51332ad7f830a07465ac97aea6f887d026b25L1-R1)
[[3]](diffhunk://#diff-a767044c70bcc37001555b8e9ad4479ead9a4e0b45fe1107fb666affe030c55dL1-R5)
[[4]](diffhunk://#diff-fb4b6067883a6e0b3179329be99cfe11aef1c673ab8fcdb4d96d1f28bb05ac48L1-R11)
### Documentation Updates:
* Updated `README.md` to reflect the new artifact ID for Maven and
Gradle dependencies. Also, added instructions for running linting before
submitting changes.
[[1]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L28-R28)
[[2]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L50-R50)
[[3]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L116-R124)
### Linting Tools:
* Added `.editorconfig` settings for XML files and Kotlin specific
settings.
* Introduced linting commands in `Makefile` and added external
dependencies for linting in `.idea/externalDependencies.xml`.
[[1]](diffhunk://#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R3-R8)
[[2]](diffhunk://#diff-28f6bd7cae82cae961bd9e592c97303c3fcbee726488ffeb5353710114b94659R1-R10)
### Test Files Cleanup:
* Removed outdated integration test files and environment configuration
files.
[[1]](diffhunk://#diff-bf22a8e4a133639655c76accff8d4890f5b2039ff577f0e32cb85dc3aaee3b49L1-L96)
[[2]](diffhunk://#diff-b1bcb0799c4402f3288a7949cb2a16a9ef4593810b438586cb7ac0b15e426bdcL1-L80)
[[3]](diffhunk://#diff-caf79976057a1796247141661e8d2ecf64678198930c7d55e5ddb8790048df20L1-L18)
### New Features:
* Added a new Jupyter notebook for `langchain4j-kotlin` to demonstrate
usage examples.
---------
Co-authored-by: Konstantin Pavlov <{ID}+{username}@users.noreply.github.com>1 parent 0eb66ac commit cf1cdab
File tree
21 files changed
+455
-294
lines changed- .idea
- langchain4j-core-kotlin/src/test/kotlin/me/kpavlov/langchain4j/kotlin
- langchain4j-kotlin
- notebooks
- src
- main/kotlin/me/kpavlov/langchain4j/kotlin
- internal
- model/chat
- test
- kotlin/me/kpavlov/langchain4j/kotlin
- resources/data
- books
- notes
- reports
21 files changed
+455
-294
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
| |||
Lines changed: 0 additions & 96 deletions
This file was deleted.
Lines changed: 0 additions & 80 deletions
This file was deleted.
Lines changed: 0 additions & 18 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
0 commit comments