DelegatedChatCompletionCloseableServiceWrapper

io.cequence.openaiscala.service.adapter.DelegatedChatCompletionCloseableServiceWrapper

Attributes

Graph
Supertypes

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
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