Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.19 #23

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading