http4k-ai-llm-core
Toggle table of contents
6.20.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k-ai-llm-core
http4k-ai-llm-core
/
org.http4k.ai.llm.memory
/
LLMMemory
LLMMemory
interface
LLMMemory
(
source
)
Members
Types
Companion
Link copied to clipboard
object
Companion
Functions
add
Link copied to clipboard
abstract
fun
add
(
memoryId
:
LLMMemoryId
,
messages
:
List
<
Message
>
)
:
LLMResult
<
LLMMemoryId
>
create
Link copied to clipboard
abstract
fun
create
(
messages
:
List
<
Message
>
=
emptyList()
)
:
LLMResult
<
LLMMemoryId
>
delete
Link copied to clipboard
abstract
fun
delete
(
memoryId
:
LLMMemoryId
)
:
LLMResult
<
LLMMemoryId
>
read
Link copied to clipboard
abstract
fun
read
(
memoryId
:
LLMMemoryId
)
:
LLMResult
<
List
<
Message
>
>
update
Link copied to clipboard
abstract
fun
update
(
memoryId
:
LLMMemoryId
,
messages
:
List
<
Message
>
)
:
LLMResult
<
LLMMemoryId
>