@deskcreate/agentcraft
Preparing search index...
index
CreatorMemoryStore
Interface CreatorMemoryStore
interface
CreatorMemoryStore
{
addCorpusDocument
(
document
:
Omit
<
CorpusDocument
,
"updatedAt"
>
,
)
:
Promise
<
CorpusDocument
>
;
readBrandVoice
(
id
?:
string
)
:
Promise
<
BrandVoiceProfile
|
undefined
>
;
searchCorpus
(
query
:
string
,
options
?:
{
limit
?:
number
;
tags
?:
readonly
string
[]
}
,
)
:
Promise
<
CorpusSearchResult
[]
>
;
upsertBrandVoice
(
profile
:
Omit
<
BrandVoiceProfile
,
"updatedAt"
>
,
)
:
Promise
<
BrandVoiceProfile
>
;
}
Implemented by
FileSystemCreatorMemoryStore
Index
Methods
add
Corpus
Document
read
Brand
Voice
search
Corpus
upsert
Brand
Voice
Methods
add
Corpus
Document
addCorpusDocument
(
document
:
Omit
<
CorpusDocument
,
"updatedAt"
>
,
)
:
Promise
<
CorpusDocument
>
Parameters
document
:
Omit
<
CorpusDocument
,
"updatedAt"
>
Returns
Promise
<
CorpusDocument
>
read
Brand
Voice
readBrandVoice
(
id
?:
string
)
:
Promise
<
BrandVoiceProfile
|
undefined
>
Parameters
Optional
id
:
string
Returns
Promise
<
BrandVoiceProfile
|
undefined
>
search
Corpus
searchCorpus
(
query
:
string
,
options
?:
{
limit
?:
number
;
tags
?:
readonly
string
[]
}
,
)
:
Promise
<
CorpusSearchResult
[]
>
Parameters
query
:
string
Optional
options
:
{
limit
?:
number
;
tags
?:
readonly
string
[]
}
Returns
Promise
<
CorpusSearchResult
[]
>
upsert
Brand
Voice
upsertBrandVoice
(
profile
:
Omit
<
BrandVoiceProfile
,
"updatedAt"
>
,
)
:
Promise
<
BrandVoiceProfile
>
Parameters
profile
:
Omit
<
BrandVoiceProfile
,
"updatedAt"
>
Returns
Promise
<
BrandVoiceProfile
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
add
Corpus
Document
read
Brand
Voice
search
Corpus
upsert
Brand
Voice
@deskcreate/agentcraft
Loading...