Skip to content

Commit

Permalink
1.0.19 (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
acharneski authored Oct 26, 2023
1 parent c3a0f57 commit 13115cb
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ Maven:
<dependency>
<groupId>com.simiacryptus</groupId>
<artifactId>skyenet-webui</artifactId>
<version>1.0.18</version>
<version>1.0.19</version>
</dependency>
```

Gradle:

```groovy
implementation group: 'com.simiacryptus', name: 'skyenet', version: '1.0.18'
implementation group: 'com.simiacryptus', name: 'skyenet', version: '1.0.19'
```

```kotlin
implementation("com.simiacryptus:skyenet:1.0.18")
implementation("com.simiacryptus:skyenet:1.0.19")
```

### 🌟 To Use
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Gradle Releases -> https://github.com/gradle/gradle/releases
libraryGroup = com.simiacryptus.skyenet
libraryVersion = 1.0.18
libraryVersion = 1.0.19
gradleVersion = 7.6.1

# Opt-out flag for bundling Kotlin standard library -> https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ open class BasicChatSession(
|Ask questions to keep the conversation going.
|Say goodbye when the conversation is over.
""".trimMargin(),
) : ChatSession(parent, model, sessionId, visiblePrompt, hiddenPrompt, systemPrompt)
) : ChatSession(parent, sessionId, model, visiblePrompt, hiddenPrompt, systemPrompt)
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import com.simiacryptus.openai.OpenAIClient

abstract class ChatSession(
val parent: SkyenetSessionServerBase,
val model: OpenAIClient.Model = OpenAIClient.Models.GPT35Turbo,
sessionId: String,
val visiblePrompt: String,
val hiddenPrompt: String,
val systemPrompt: String,
var model: OpenAIClient.Model = OpenAIClient.Models.GPT35Turbo,
var visiblePrompt: String,
var hiddenPrompt: String,
var systemPrompt: String,
) : PersistentSessionBase(sessionId, parent.sessionDataStorage) {

init {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ open class ChatSessionFlexmark(
systemPrompt: String,
) : ChatSession(
parent,
model,
sessionId,
model,
visiblePrompt,
hiddenPrompt,
systemPrompt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ open class InterviewSession<T : Any>(
|Ask for clarification when needed.
|At the end of each assistant chat message, print the currently-accumulated JSON of the data using ```json``` blocks.
""".trimMargin(),
) : ChatSession(parent, model, sessionId, visiblePrompt, hiddenPrompt, systemPrompt) {
) : ChatSession(parent, sessionId, model, visiblePrompt, hiddenPrompt, systemPrompt) {

open fun onFinished(data: T) {}
open fun onUpdate(data: T) {}
Expand Down

0 comments on commit 13115cb

Please sign in to comment.