update
This commit is contained in:
@@ -47,13 +47,13 @@ end
|
||||
""" Think and choose action
|
||||
|
||||
# Arguments
|
||||
`a::T1`
|
||||
- `a::T1`
|
||||
one of Yiem's agent
|
||||
`state::T2`
|
||||
- `state::T2`
|
||||
a game state
|
||||
|
||||
# Return
|
||||
`thought::Dict`
|
||||
- `thought::Dict`
|
||||
|
||||
# Example
|
||||
```jldoctest
|
||||
@@ -145,7 +145,7 @@ function decisionMaker(a::T1, state::T2)::String where {T1<:agent, T2<:AbstractD
|
||||
prompt = formatLLMtext_llama3instruct("system", _prompt)
|
||||
|
||||
msgMeta = GeneralUtils.generate_msgMeta(
|
||||
a.config[:externalService][:text2textinstruct][:mqtttopic],
|
||||
a.config[:externalservice][:text2textinstruct][:mqtttopic],
|
||||
senderName= "decisionMaker",
|
||||
senderId= a.id,
|
||||
receiverName= "text2textinstruct",
|
||||
|
||||
Reference in New Issue
Block a user