add topic into agent

This commit is contained in:
2023-10-20 03:19:57 +00:00
parent 1f7d9d3fe0
commit 470ef305dd

View File

@@ -23,6 +23,9 @@ end
@kwdef mutable struct agent
availableRole=["system", "user", "assistant"]
maxUserMsg::Int= 5
llmAIRequestTopic_openblas = "llm/openblas/request"
llmAIRequestTopic_gpu = "llm/api/v0.0.1/gpu/request"
self_llmReceiveTopic = "chatbothub/llm/respond"
""" Dict(Role=> Content) ; Role can be system, user, assistant
Example: