Skip to content

Commit

Permalink
Fixed erroneous dependency installation instructions for jit pack
Browse files Browse the repository at this point in the history
  • Loading branch information
javiertoledo committed Sep 4, 2023
1 parent 1e403b0 commit 1fd3a5f
Showing 1 changed file with 47 additions and 16 deletions.
63 changes: 47 additions & 16 deletions docs-site/docs/02_getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,66 @@ In eLLMental, we make use of [JitPack](https://jitpack.io) to import eLLMental i

Incorporate the eLLMental dependencies into your `build.gradle` file.

```java
```kotlin
allprojects {
repositories {
maven { url 'https://jitpack.io' }
maven {
url "https://jitpack.io"
}
}
}

dependencies {
implementation 'com.github.theam:ellmental:main'
implementation "com.github.theam.ellmental:core:main-SNAPSHOT"
implementation "com.github.theam.ellmental:embeddingsgeneration:main-SNAPSHOT"
implementation "com.github.theam.ellmental:embeddingsstore:main-SNAPSHOT"
implementation "com.github.theam.ellmental:embeddingsspace:main-SNAPSHOT"
}
```

### Maven

You can also add the eLLMental dependencies into your `pom.xml` file.

```maven
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.theam</groupId>
<artifactId>eLLMental</artifactId>
<version>main</version>
</dependency>
```xml
<project>
<!-- ... other configurations ... -->

<!-- Add the JitPack repository to your project -->
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>

<!-- Add the eLLMental dependencies -->
<dependencies>
<dependency>
<groupId>com.github.theam.ellmental</groupId>
<artifactId>core</artifactId>
<version>main-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.github.theam.ellmental</groupId>
<artifactId>embeddingsgeneration</artifactId>
<version>main-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.github.theam.ellmental</groupId>
<artifactId>embeddingsstore</artifactId>
<version>main-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.github.theam.ellmental</groupId>
<artifactId>embeddingsspace</artifactId>
<version>main-SNAPSHOT</version>
</dependency>
</dependencies>

<!-- ... other configurations ... -->
</project>

```


Expand Down

0 comments on commit 1fd3a5f

Please sign in to comment.