This commit is contained in:
2023-10-09 11:52:23 +00:00
parent 8f0830a8ce
commit 2f3e2de5c4
4 changed files with 148 additions and 1 deletions

View File

@@ -3,12 +3,50 @@ module interface
# export
# using Flux, CUDA
using JSON3, DataStructures
#------------------------------------------------------------------------------------------------100
@kwdef mutable struct agent
sessionId::Int= 1
maxConversation::Int= 10
# {Role=> Content} ; Role can be system, user, assistant
messages::OrderedDict= OrderedDict(
:system=> "You are a helpful assistant.",
)
end