Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbanda committed Nov 26, 2024
1 parent 7637b96 commit 980cc5c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
package io.cequence.openaiscala.service.adapter

import io.cequence.openaiscala.OpenAIScalaClientException
import io.cequence.openaiscala.domain.{AssistantMessage, BaseMessage, SystemMessage, UserMessage}
import io.cequence.openaiscala.domain.response.{ChatCompletionChoiceInfo, ChatCompletionResponse, TextCompletionResponse}
import io.cequence.openaiscala.domain.settings.{CreateChatCompletionSettings, CreateCompletionSettings}
import io.cequence.openaiscala.domain.{
AssistantMessage,
BaseMessage,
SystemMessage,
UserMessage
}
import io.cequence.openaiscala.domain.response.{
ChatCompletionChoiceInfo,
ChatCompletionResponse,
TextCompletionResponse
}
import io.cequence.openaiscala.domain.settings.{
CreateChatCompletionSettings,
CreateCompletionSettings
}
import io.cequence.openaiscala.service.{OpenAIChatCompletionService, OpenAICompletionService}
import io.cequence.wsclient.service.CloseableService
import io.cequence.wsclient.service.adapter.ServiceWrapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ import io.cequence.openaiscala.domain._
import io.cequence.openaiscala.domain.response._
import io.cequence.openaiscala.domain.settings._
import io.cequence.openaiscala.service.adapter.ServiceWrapperTypes._
import io.cequence.openaiscala.service.{OpenAIChatCompletionService, OpenAICoreService, OpenAIService}
import io.cequence.openaiscala.service.{
OpenAIChatCompletionService,
OpenAICoreService,
OpenAIService
}
import io.cequence.wsclient.service.adapter.DelegatedCloseableServiceWrapper
import io.cequence.wsclient.service.adapter.ServiceWrapperTypes.CloseableServiceWrapper

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import scala.concurrent.Future
object DeepseekCreateChatCompletionStreamed
extends ExampleBase[OpenAIChatCompletionStreamedServiceExtra] {

override val service: OpenAIChatCompletionStreamedServiceExtra = ChatCompletionProvider.deepseekBeta
override val service: OpenAIChatCompletionStreamedServiceExtra =
ChatCompletionProvider.deepseekBeta

private val messages = Seq(
SystemMessage("You are a helpful assistant."),
Expand Down

0 comments on commit 980cc5c

Please sign in to comment.