DelegatedChatCompletionCloseableServiceWrapper

io.cequence.openaiscala.service.adapter.DelegatedChatCompletionCloseableServiceWrapper
trait DelegatedChatCompletionCloseableServiceWrapper[+S <: CloseableService] extends DelegatedCloseableServiceWrapper[S, ChatCompletionCloseableServiceWrapper[S]] with OpenAIChatCompletionService

Attributes

Graph
Supertypes
trait DelegatedCloseableServiceWrapper[S, ChatCompletionCloseableServiceWrapper[S]]
trait CloseableService
trait ServiceWrapper[S]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited classlikes

Attributes

Inherited from:
OpenAIServiceConsts
Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

Creates a model response for the given chat conversation.

Creates a model response for the given chat conversation.

Attributes

messages

A list of messages comprising the conversation so far.

Returns:

chat completion response

See also:
Definition Classes

Inherited methods

override def close(): Unit

Closes the underlying ws client, and releases all its resources.

Closes the underlying ws client, and releases all its resources.

Attributes

Definition Classes
DelegatedCloseableServiceWrapper -> CloseableService
Inherited from:
DelegatedCloseableServiceWrapper
protected def delegate: W

Attributes

Inherited from:
DelegatedCloseableServiceWrapper

Inherited fields

protected val configFileName: String

Attributes

Inherited from:
OpenAIServiceConsts
protected val configPrefix: String

Attributes

Inherited from:
OpenAIServiceConsts
protected val defaultCoreUrl: String

Attributes

Inherited from:
OpenAIServiceConsts