remove mqttclient integration

This commit is contained in:
narawat lamaiin
2024-03-14 20:40:31 +07:00
parent 95598c2409
commit ec407acb92
6 changed files with 98 additions and 643 deletions

View File

@@ -8,7 +8,7 @@ export agentReact, agentReflex,
recap, readKeywordMemory
using JSON3, DataStructures, Dates, UUIDs, HTTP, Random
using CommUtils, GeneralUtils
using GeneralUtils
using ..type, ..utils, ..llmfunction
# ---------------------------------------------------------------------------- #
@@ -1170,7 +1170,7 @@ end
Chat with llm.
```jldoctest
julia> using JSON3, UUIDs, Dates, FileIO, CommUtils, ChatAgent
julia> using JSON3, UUIDs, Dates, FileIO, ChatAgent
julia> mqttClientSpec = (
clientName= "someclient", # name of this client
clientID= "$(uuid4())",
@@ -1442,7 +1442,7 @@ end
Example:
```jldoctest
julia> using ChatAgent, CommUtils
julia> using ChatAgent
julia> agent = ChatAgent.agentReflex("Jene")
julia> usermsg = "What's AMD latest product?"
"
@@ -1486,7 +1486,7 @@ end
Example:
```jldoctest
julia> using ChatAgent, CommUtils
julia> using ChatAgent
julia> agent = ChatAgent.agentReflex("Jene")
julia> shorttermMemory = OrderedDict{String, Any}(
"user" => "What's the latest AMD GPU?",
@@ -1560,7 +1560,7 @@ end
Example:
```jldoctest
julia> using ChatAgent, CommUtils
julia> using ChatAgent
julia> agent = ChatAgent.agentReflex("Jene")
julia> shorttermMemory = OrderedDict{String, Any}(
"user:" => "What's the latest AMD GPU?",
@@ -1616,7 +1616,7 @@ end
Example:
```jldoctest
julia> using ChatAgent, CommUtils
julia> using ChatAgent
julia> agent = ChatAgent.agentReflex("Jene")
julia> report =
"What happened: I tried to search for AMD's latest product using the wikisearch tool,
@@ -1671,7 +1671,7 @@ end
Example:
```jldoctest
julia> using ChatAgent, CommUtils
julia> using ChatAgent
julia> agent = ChatAgent.agentReflex("Jene")
julia> shorttermMemory = OrderedDict{String, Any}(
"user:" => "What's the latest AMD GPU?",
@@ -1856,7 +1856,7 @@ end
Example:
```jldoctest
julia> using ChatAgent, CommUtils
julia> using ChatAgent
julia> agent = ChatAgent.agentReflex("Jene")
julia> shorttermMemory = OrderedDict{String, Any}(
"user:" => "What's the latest AMD GPU?",
@@ -2043,7 +2043,7 @@ end
Example:
```jldoctest
julia> using ChatAgent, CommUtils
julia> using ChatAgent
julia> a = ChatAgent.agentReflex("Jene")
julia> keywordmemory = OrderedDict{String, Any}(
"food type" => nothing,