Source code for agentscope.utils.logging_utils
+ Source code for agentscope.logging
# -*- coding: utf-8 -*-
"""Logging utilities."""
import json
import os
import sys
-from typing import Optional, Literal, Union, Any
+from typing import Optional, Literal, Any
from loguru import logger
-from agentscope.web.studio.utils import (
+from agentscope.studio._client import _studio_client
+from agentscope.web.gradio.utils import (
generate_image_from_name,
send_msg,
get_reset_msg,
@@ -170,20 +171,25 @@ Source code for agentscope.utils.logging_utils
# add chat function for logger
def _chat(
- message: Union[str, dict],
+ message: dict,
*args: Any,
disable_studio: bool = False,
**kwargs: Any,
) -> None:
- """Log a chat message with the format of"<speaker>: <content>".
+ """
+ Log a chat message with the format of"<speaker>: <content>". If the
+ running instance is registered in the studio, the message will be sent
+ and display in the studio.
Args:
- message (`Union[str, dict]`):
- The message to be logged. If it is a string, it will be logged
- directly. If it's a dict, it should have "name"(or "role") and
- "content" keys, and the message will be logged as "<name/role>:
- <content>".
+ message (`dict`):
+ The message to be logged as "<name/role>: <content>", which must
+ be an object of Msg class.
"""
+ # Push message to studio if it is active
+ if _studio_client.active:
+ _studio_client.push_message(message)
+
# Save message into chat file, add default to ignore not serializable
# objects
logger.log(
@@ -245,7 +251,7 @@
Source code for agentscope.utils.logging_utils
-[docs]
+[docs]
def log_studio(message: dict, uid: str, **kwargs: Any) -> None:
"""Send chat message to studio.
@@ -318,7 +324,7 @@
Source code for agentscope.utils.logging_utils
-[docs]
+[docs]
def setup_logger(
path_log: Optional[str] = None,
level: LOG_LEVEL = "INFO",
diff --git a/en/_modules/agentscope/message.html b/en/_modules/agentscope/message.html
index d6ff18efa..442e2dac1 100644
--- a/en/_modules/agentscope/message.html
+++ b/en/_modules/agentscope/message.html
@@ -161,10 +161,7 @@
Source code for agentscope.message
self.content = content
self.role = role
- if url:
- self.url = url
- else:
- self.url = None
+ self.url = url
self.update(kwargs)
@@ -381,7 +378,7 @@ Source code for agentscope.message
[docs]
-class PlaceholderMessage(MessageBase):
+class PlaceholderMessage(Msg):
"""A placeholder for the return message of RpcAgent."""
PLACEHOLDER_ATTRS = {
diff --git a/en/_modules/agentscope/server/launcher.html b/en/_modules/agentscope/server/launcher.html
index 51fd9d673..52501dea2 100644
--- a/en/_modules/agentscope/server/launcher.html
+++ b/en/_modules/agentscope/server/launcher.html
@@ -101,11 +101,12 @@ Source code for agentscope.server.launcher
# -*- coding: utf-8 -*-
""" Server of distributed agent"""
import os
-from multiprocessing import Process, Event, Pipe
-from multiprocessing.synchronize import Event as EventClass
import asyncio
import signal
import argparse
+import time
+from multiprocessing import Process, Event, Pipe
+from multiprocessing.synchronize import Event as EventClass
from typing import Type
from concurrent import futures
from loguru import logger
@@ -123,14 +124,10 @@ Source code for agentscope.server.launcher
import_error,
"distribute",
)
-
import agentscope
from agentscope.server.servicer import AgentServerServicer
from agentscope.agents.agent import AgentBase
-from agentscope.utils.tools import (
- _get_timestamp,
- check_port,
-)
+from agentscope.utils.tools import check_port, generate_id_from_seed
def _setup_agent_server(
@@ -144,6 +141,7 @@ Source code for agentscope.server.launcher
local_mode: bool = True,
max_pool_size: int = 8192,
max_timeout_seconds: int = 1800,
+ studio_url: str = None,
custom_agents: list = None,
) -> None:
"""Setup agent server.
@@ -156,7 +154,7 @@ Source code for agentscope.server.launcher
server_id (`str`):
The id of the server.
init_settings (`dict`, defaults to `None`):
- Init settings for agentscope.init.
+ Init settings for _init_server.
start_event (`EventClass`, defaults to `None`):
An Event instance used to determine whether the child process
has been started.
@@ -171,6 +169,8 @@ Source code for agentscope.server.launcher
Max number of agent replies that the server can accommodate.
max_timeout_seconds (`int`, defaults to `1800`):
Timeout for agent replies.
+ studio_url (`str`, defaults to `None`):
+ URL of the AgentScope Studio.
custom_agents (`list`, defaults to `None`):
A list of custom agent classes that are not in `agentscope.agents`.
"""
@@ -186,6 +186,7 @@ Source code for agentscope.server.launcher
local_mode=local_mode,
max_pool_size=max_pool_size,
max_timeout_seconds=max_timeout_seconds,
+ studio_url=studio_url,
custom_agents=custom_agents,
),
)
@@ -202,6 +203,7 @@ Source code for agentscope.server.launcher
local_mode: bool = True,
max_pool_size: int = 8192,
max_timeout_seconds: int = 1800,
+ studio_url: str = None,
custom_agents: list = None,
) -> None:
"""Setup agent server in an async way.
@@ -214,7 +216,7 @@ Source code for agentscope.server.launcher
server_id (`str`):
The id of the server.
init_settings (`dict`, defaults to `None`):
- Init settings for agentscope.init.
+ Init settings for _init_server.
start_event (`EventClass`, defaults to `None`):
An Event instance used to determine whether the child process
has been started.
@@ -233,6 +235,8 @@ Source code for agentscope.server.launcher
max_timeout_seconds (`int`, defaults to `1800`):
Maximum time for reply messages to be cached in the server.
Note that expired messages will be deleted.
+ studio_url (`str`, defaults to `None`):
+ URL of the AgentScope Studio.
custom_agents (`list`, defaults to `None`):
A list of custom agent classes that are not in `agentscope.agents`.
"""
@@ -243,6 +247,8 @@ Source code for agentscope.server.launcher
servicer = AgentServerServicer(
host=host,
port=port,
+ server_id=server_id,
+ studio_url=studio_url,
max_pool_size=max_pool_size,
max_timeout_seconds=max_timeout_seconds,
)
@@ -320,6 +326,7 @@ Source code for agentscope.server.launcher
local_mode: bool = False,
custom_agents: list = None,
server_id: str = None,
+ studio_url: str = None,
agent_class: Type[AgentBase] = None,
agent_args: tuple = (),
agent_kwargs: dict = None,
@@ -347,6 +354,8 @@ Source code for agentscope.server.launcher
server_id (`str`, defaults to `None`):
The id of the agent server. If not specified, a random id
will be generated.
+ studio_url (`Optional[str]`, defaults to `None`):
+ The url of the agentscope studio.
agent_class (`Type[AgentBase]`, deprecated):
The AgentBase subclass encapsulated by this wrapper.
agent_args (`tuple`, deprecated): The args tuple used to
@@ -364,8 +373,11 @@ Source code for agentscope.server.launcher
self.parent_con = None
self.custom_agents = custom_agents
self.server_id = (
- self.generate_server_id() if server_id is None else server_id
+ RpcAgentServerLauncher.generate_server_id(self.host, self.port)
+ if server_id is None
+ else server_id
)
+ self.studio_url = studio_url
if (
agent_class is not None
or len(agent_args) > 0
@@ -379,9 +391,10 @@ Source code for agentscope.server.launcher
[docs]
- def generate_server_id(self) -> str:
+ @classmethod
+ def generate_server_id(cls, host: str, port: int) -> str:
"""Generate server id"""
- return f"{self.host}:{self.port}-{_get_timestamp('%y%m%d-%H:%M:%S')}"
+ return generate_id_from_seed(f"{host}:{port}:{time.time()}", length=8)
def _launch_in_main(self) -> None:
@@ -398,6 +411,7 @@ Source code for agentscope.server.launcher
max_timeout_seconds=self.max_timeout_seconds,
local_mode=self.local_mode,
custom_agents=self.custom_agents,
+ studio_url=self.studio_url,
),
)
@@ -421,6 +435,7 @@ Source code for agentscope.server.launcher
"max_pool_size": self.max_pool_size,
"max_timeout_seconds": self.max_timeout_seconds,
"local_mode": self.local_mode,
+ "studio_url": self.studio_url,
"custom_agents": self.custom_agents,
},
)
@@ -540,7 +555,7 @@ Source code for agentscope.server.launcher
type=bool,
default=False,
help=(
- "If `True`, only listen to requests from 'localhost', otherwise, "
+ "if `True`, only listen to requests from 'localhost', otherwise, "
"listen to requests from all hosts."
),
)
@@ -549,21 +564,51 @@ Source code for agentscope.server.launcher
type=str,
help="path to the model config json file",
)
+ parser.add_argument(
+ "--server-id",
+ type=str,
+ default=None,
+ help="id of the server, used to register to the studio, generated"
+ " randomly if not specified.",
+ )
+ parser.add_argument(
+ "--studio-url",
+ type=str,
+ default=None,
+ help="the url of agentscope studio",
+ )
+ parser.add_argument(
+ "--no-log",
+ action="store_true",
+ help="whether to disable log",
+ )
+ parser.add_argument(
+ "--save-api-invoke",
+ action="store_true",
+ help="whether to save api invoke",
+ )
+ parser.add_argument(
+ "--use-monitor",
+ action="store_true",
+ help="whether to use monitor",
+ )
args = parser.parse_args()
agentscope.init(
project="agent_server",
name=f"server_{args.host}:{args.port}",
- runtime_id=_get_timestamp(
- "server_{}_{}_%y%m%d-%H%M%S",
- ).format(args.host, args.port),
+ save_log=not args.no_log,
+ save_api_invoke=args.save_api_invoke,
model_configs=args.model_config_path,
+ use_monitor=args.use_monitor,
)
launcher = RpcAgentServerLauncher(
host=args.host,
port=args.port,
+ server_id=args.server_id,
max_pool_size=args.max_pool_size,
max_timeout_seconds=args.max_timeout_seconds,
local_mode=args.local_mode,
+ studio_url=args.studio_url,
)
launcher.launch(in_subprocess=False)
launcher.wait_until_terminate()
diff --git a/en/_modules/agentscope/server/servicer.html b/en/_modules/agentscope/server/servicer.html
index a3f237b7b..78131eb5d 100644
--- a/en/_modules/agentscope/server/servicer.html
+++ b/en/_modules/agentscope/server/servicer.html
@@ -106,6 +106,7 @@ Source code for agentscope.server.servicer
import traceback
from concurrent import futures
from loguru import logger
+import requests
try:
import dill
@@ -125,7 +126,10 @@ Source code for agentscope.server.servicer
"distribute",
)
+from .._runtime import _runtime
+from ..studio._client import _studio_client
from ..agents.agent import AgentBase
+from ..exception import StudioRegisterError
from ..rpc.rpc_agent_pb2_grpc import RpcAgentServicer
from ..message import (
Msg,
@@ -134,6 +138,24 @@ Source code for agentscope.server.servicer
)
+def _register_to_studio(
+ studio_url: str,
+ server_id: str,
+ host: str,
+ port: int,
+) -> None:
+ """Register a server to studio."""
+ url = f"{studio_url}/api/servers/register"
+ resp = requests.post(
+ url,
+ json={"server_id": server_id, "host": host, "port": port},
+ timeout=10, # todo: configurable timeout
+ )
+ if resp.status_code != 200:
+ logger.error(f"Failed to register server: {resp.text}")
+ raise StudioRegisterError(f"Failed to register server: {resp.text}")
+
+
[docs]
class AgentServerServicer(RpcAgentServicer):
@@ -145,6 +167,8 @@ Source code for agentscope.server.servicer
self,
host: str = "localhost",
port: int = None,
+ server_id: str = None,
+ studio_url: str = None,
max_pool_size: int = 8192,
max_timeout_seconds: int = 1800,
):
@@ -155,6 +179,10 @@ Source code for agentscope.server.servicer
Hostname of the rpc agent server.
port (`int`, defaults to `None`):
Port of the rpc agent server.
+ server_id (`str`, defaults to `None`):
+ Server id of the rpc agent server.
+ studio_url (`str`, defaults to `None`):
+ URL of the AgentScope Studio.
max_pool_size (`int`, defaults to `8192`):
The max number of agent reply messages that the server can
accommodate. Note that the oldest message will be deleted
@@ -165,6 +193,17 @@ Source code for agentscope.server.servicer
"""
self.host = host
self.port = port
+ self.server_id = server_id
+ self.studio_url = studio_url
+ if studio_url is not None:
+ _register_to_studio(
+ studio_url=studio_url,
+ server_id=server_id,
+ host=host,
+ port=port,
+ )
+ _studio_client.initialize(_runtime.runtime_id, studio_url)
+
self.result_pool = ExpiringDict(
max_len=max_pool_size,
max_age_seconds=max_timeout_seconds,
diff --git a/en/_modules/agentscope/studio/_app.html b/en/_modules/agentscope/studio/_app.html
new file mode 100644
index 000000000..050637734
--- /dev/null
+++ b/en/_modules/agentscope/studio/_app.html
@@ -0,0 +1,833 @@
+
+
+
+
+
+
+ agentscope.studio._app — AgentScope documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Module code
+ - agentscope.studio._app
+ -
+
+
+
+
+
+
+
+ Source code for agentscope.studio._app
+# -*- coding: utf-8 -*-
+"""The Web Server of the AgentScope Studio."""
+import json
+import os
+import re
+import subprocess
+import tempfile
+import threading
+import traceback
+from datetime import datetime
+from typing import Tuple, Union, Any, Optional
+from pathlib import Path
+
+from flask import (
+ Flask,
+ request,
+ jsonify,
+ render_template,
+ Response,
+ abort,
+ send_file,
+)
+from flask_cors import CORS
+from flask_sqlalchemy import SQLAlchemy
+from flask_socketio import SocketIO, join_room, leave_room
+
+from agentscope._runtime import _runtime
+from agentscope.constants import _DEFAULT_SUBDIR_CODE, _DEFAULT_SUBDIR_INVOKE
+from agentscope.utils.tools import _is_process_alive
+
+_app = Flask(__name__)
+
+# Set the cache directory
+_cache_dir = str(Path.home() / ".cache" / "agentscope-studio")
+os.makedirs(_cache_dir, exist_ok=True)
+_app.config[
+ "SQLALCHEMY_DATABASE_URI"
+] = f"sqlite:////{_cache_dir}/agentscope.db"
+_db = SQLAlchemy(_app)
+
+_socketio = SocketIO(_app)
+
+# This will enable CORS for all routes
+CORS(_app)
+
+_RUNS_DIRS = []
+
+
+class _UserInputRequestQueue:
+ """A queue to store the user input requests."""
+
+ _requests = {}
+ """The user input requests in the queue."""
+
+ @classmethod
+ def add_request(cls, run_id: str, agent_id: str, data: dict) -> None:
+ """Add a new user input request into queue.
+
+ Args:
+ run_id (`str`):
+ The id of the runtime instance.
+ agent_id (`str`):
+ The id of the agent that requires user input.
+ data (`dict`):
+ The data of the user input request.
+ """
+ if run_id not in cls._requests:
+ cls._requests[run_id] = {agent_id: data}
+ else:
+ # We ensure that the agent_id is unique here
+ cls._requests[run_id][agent_id] = data
+
+ @classmethod
+ def fetch_a_request(cls, run_id: str) -> Optional[dict]:
+ """Fetch a user input request from the queue.
+
+ Args:
+ run_id (`str`):
+ The id of the runtime instance.
+ """
+ if run_id in cls._requests and len(cls._requests[run_id]) > 0:
+ # Fetch the oldest request
+ agent_id = list(cls._requests[run_id].keys())[0]
+ return cls._requests[run_id][agent_id]
+ else:
+ return None
+
+ @classmethod
+ def close_a_request(cls, run_id: str, agent_id: str) -> None:
+ """Close a user input request in the queue.
+
+ Args:
+ run_id (`str`):
+ The id of the runtime instance.
+ agent_id (`str`):
+ The id of the agent that requires user input.
+ """
+ if run_id in cls._requests:
+ cls._requests[run_id].pop(agent_id)
+
+
+class _RunTable(_db.Model): # type: ignore[name-defined]
+ """Runtime object."""
+
+ run_id = _db.Column(_db.String, primary_key=True)
+ project = _db.Column(_db.String)
+ name = _db.Column(_db.String)
+ timestamp = _db.Column(_db.String)
+ run_dir = _db.Column(_db.String)
+ pid = _db.Column(_db.Integer)
+ status = _db.Column(_db.String, default="finished")
+
+
+class _ServerTable(_db.Model): # type: ignore[name-defined]
+ """Server object."""
+
+ id = _db.Column(_db.String, primary_key=True)
+ host = _db.Column(_db.String)
+ port = _db.Column(_db.Integer)
+ create_time = _db.Column(_db.DateTime, default=datetime.now)
+
+
+class _MessageTable(_db.Model): # type: ignore[name-defined]
+ """Message object."""
+
+ id = _db.Column(_db.Integer, primary_key=True)
+ run_id = _db.Column(
+ _db.String,
+ _db.ForeignKey("run_table.run_id"),
+ nullable=False,
+ )
+ name = _db.Column(_db.String)
+ role = _db.Column(_db.String)
+ content = _db.Column(_db.String)
+ url = _db.Column(_db.String)
+ meta = _db.Column(_db.String)
+ timestamp = _db.Column(_db.String)
+
+
+def _get_all_runs_from_dir() -> dict:
+ """Get all runs from the directory."""
+ global _RUNS_DIRS
+ runtime_configs_from_dir = {}
+ if _RUNS_DIRS is not None:
+ for runs_dir in set(_RUNS_DIRS):
+ for runtime_dir in os.listdir(runs_dir):
+ path_runtime = os.path.join(runs_dir, runtime_dir)
+ path_config = os.path.join(path_runtime, ".config")
+ if os.path.exists(path_config):
+ with open(path_config, "r", encoding="utf-8") as file:
+ runtime_config = json.load(file)
+
+ # Default status is finished
+ # Note: this is only for local runtime instances
+ if "pid" in runtime_config and _is_process_alive(
+ runtime_config["pid"],
+ runtime_config["timestamp"],
+ ):
+ runtime_config["status"] = "running"
+ else:
+ runtime_config["status"] = "finished"
+
+ if "run_dir" not in runtime_config:
+ runtime_config["run_dir"] = path_runtime
+
+ if "id" in runtime_config:
+ runtime_config["run_id"] = runtime_config["id"]
+ del runtime_config["id"]
+
+ runtime_id = runtime_config.get("run_id")
+ runtime_configs_from_dir[runtime_id] = runtime_config
+
+ return runtime_configs_from_dir
+
+
+def _remove_file_paths(error_trace: str) -> str:
+ """
+ Remove the real traceback when exception happens.
+ """
+ path_regex = re.compile(r'File "(.*?)(?=agentscope|app\.py)')
+ cleaned_trace = re.sub(path_regex, 'File "[hidden]/', error_trace)
+
+ return cleaned_trace
+
+
+def _convert_to_py( # type: ignore[no-untyped-def]
+ content: str,
+ **kwargs,
+) -> Tuple:
+ """
+ Convert json config to python code.
+ """
+ from agentscope.web.workstation.workflow_dag import build_dag
+
+ try:
+ cfg = json.loads(content)
+ return "True", build_dag(cfg).compile(**kwargs)
+ except Exception as e:
+ return "False", _remove_file_paths(
+ f"Error: {e}\n\n" f"Traceback:\n" f"{traceback.format_exc()}",
+ )
+
+
+@_app.route("/workstation")
+def _workstation() -> str:
+ """Render the workstation page."""
+ return render_template("workstation.html")
+
+
+@_app.route("/api/runs/register", methods=["POST"])
+def _register_run() -> Response:
+ """Registers a running instance of an agentscope application."""
+
+ # Extract the input data from the request
+ data = request.json
+ run_id = data.get("run_id")
+
+ # check if the run_id is already in the database
+ if _RunTable.query.filter_by(run_id=run_id).first():
+ abort(400, f"RUN_ID {run_id} already exists")
+
+ # Add into the database
+ _db.session.add(
+ _RunTable(
+ run_id=run_id,
+ project=data.get("project"),
+ name=data.get("name"),
+ timestamp=data.get("timestamp"),
+ run_dir=data.get("run_dir"),
+ pid=data.get("pid"),
+ status="running",
+ ),
+ )
+ _db.session.commit()
+
+ return jsonify(status="ok")
+
+
+@_app.route("/api/servers/register", methods=["POST"])
+def _register_server() -> Response:
+ """
+ Registers an agent server.
+ """
+ data = request.json
+ server_id = data.get("server_id")
+ host = data.get("host")
+ port = data.get("port")
+
+ if _ServerTable.query.filter_by(id=server_id).first():
+ _app.logger.error(f"Server id {server_id} already exists.")
+ abort(400, f"run_id [{server_id}] already exists")
+
+ _db.session.add(
+ _ServerTable(
+ id=server_id,
+ host=host,
+ port=port,
+ ),
+ )
+ _db.session.commit()
+
+ _app.logger.info(f"Register server id {server_id}")
+ return jsonify(status="ok")
+
+
+@_app.route("/api/messages/push", methods=["POST"])
+def _push_message() -> Response:
+ """Receive a message from the agentscope application, and display it on
+ the web UI."""
+ _app.logger.debug("Flask: receive push_message")
+ data = request.json
+
+ run_id = data["run_id"]
+ name = data["name"]
+ role = data["role"]
+ content = data["content"]
+ metadata = data["metadata"]
+ timestamp = data["timestamp"]
+ url = data["url"]
+
+ try:
+ new_message = _MessageTable(
+ run_id=run_id,
+ name=name,
+ role=role,
+ content=content,
+ # Before storing into the database, we need to convert the url into
+ # a string
+ meta=json.dumps(metadata),
+ url=json.dumps(url),
+ timestamp=timestamp,
+ )
+ _db.session.add(new_message)
+ _db.session.commit()
+ except Exception as e:
+ abort(400, "Fail to put message with error: " + str(e))
+
+ data = {
+ "run_id": run_id,
+ "name": name,
+ "role": role,
+ "content": content,
+ "url": url,
+ "metadata": metadata,
+ "timestamp": timestamp,
+ }
+
+ _socketio.emit(
+ "display_message",
+ data,
+ room=run_id,
+ )
+ _app.logger.debug("Flask: send display_message")
+ return jsonify(status="ok")
+
+
+@_app.route("/api/messages/run/<run_id>", methods=["GET"])
+def _get_messages(run_id: str) -> Response:
+ """Get the history messages of specific run_id."""
+ # From registered runtime instances
+ if len(_RunTable.query.filter_by(run_id=run_id).all()) > 0:
+ messages = _MessageTable.query.filter_by(run_id=run_id).all()
+ msgs = [
+ {
+ "name": message.name,
+ "role": message.role,
+ "content": message.content,
+ "url": json.loads(message.url),
+ "metadata": json.loads(message.meta),
+ "timestamp": message.timestamp,
+ }
+ for message in messages
+ ]
+ return jsonify(msgs)
+
+ # From the local file
+ run_dir = request.args.get("run_dir", default=None, type=str)
+
+ # Search the run_dir from the registered runtime instances if not provided
+ if run_dir is None:
+ runtime_configs_from_dir = _get_all_runs_from_dir()
+ if run_id in runtime_configs_from_dir:
+ run_dir = runtime_configs_from_dir[run_id]["run_dir"]
+
+ # Load the messages from the local file
+ path_messages = os.path.join(run_dir, "logging.chat")
+ if run_dir is None or not os.path.exists(path_messages):
+ return jsonify([])
+ else:
+ with open(path_messages, "r", encoding="utf-8") as file:
+ msgs = [json.loads(_) for _ in file.readlines()]
+ return jsonify(msgs)
+
+
+@_app.route("/api/runs/get/<run_id>", methods=["GET"])
+def _get_run(run_id: str) -> Response:
+ """Get a specific run's detail."""
+ run = _RunTable.query.filter_by(run_id=run_id).first()
+ if not run:
+ abort(400, f"run_id [{run_id}] not exists")
+ return jsonify(
+ {
+ "run_id": run.run_id,
+ "project": run.project,
+ "name": run.name,
+ "timestamp": run.timestamp,
+ "run_dir": run.run_dir,
+ "pid": run.pid,
+ "status": run.status,
+ },
+ )
+
+
+@_app.route("/api/runs/all", methods=["GET"])
+def _get_all_runs() -> Response:
+ """Get all runs."""
+ # Update the status of the registered runtimes
+ # Note: this is only for the applications running on the local machine
+ for run in _RunTable.query.filter(
+ _RunTable.status.in_(["running", "waiting"]),
+ ).all():
+ if not _is_process_alive(run.pid, run.timestamp):
+ _RunTable.query.filter_by(run_id=run.run_id).update(
+ {"status": "finished"},
+ )
+ _db.session.commit()
+
+ # From web connection
+ runtime_configs_from_register = {
+ _.run_id: {
+ "run_id": _.run_id,
+ "project": _.project,
+ "name": _.name,
+ "timestamp": _.timestamp,
+ "run_dir": _.run_dir,
+ "pid": _.pid,
+ "status": _.status,
+ }
+ for _ in _RunTable.query.all()
+ }
+
+ # From directory
+ runtime_configs_from_dir = _get_all_runs_from_dir()
+
+ # Remove duplicates between two sources
+ clean_runtimes = {
+ **runtime_configs_from_dir,
+ **runtime_configs_from_register,
+ }
+
+ runs = list(clean_runtimes.values())
+
+ return jsonify(runs)
+
+
+@_app.route("/api/invocation", methods=["GET"])
+def _get_invocations() -> Response:
+ """Get all API invocations in a run instance."""
+ run_dir = request.args.get("run_dir")
+ path_invocations = os.path.join(run_dir, _DEFAULT_SUBDIR_INVOKE)
+
+ invocations = []
+ if os.path.exists(path_invocations):
+ for filename in os.listdir(path_invocations):
+ with open(
+ os.path.join(path_invocations, filename),
+ "r",
+ encoding="utf-8",
+ ) as file:
+ invocations.append(json.load(file))
+ return jsonify(invocations)
+
+
+@_app.route("/api/code", methods=["GET"])
+def _get_code() -> Response:
+ """Get the python code from the run directory."""
+ run_dir = request.args.get("run_dir")
+
+ dir_code = os.path.join(run_dir, _DEFAULT_SUBDIR_CODE)
+
+ codes = {}
+ if os.path.exists(dir_code):
+ for filename in os.listdir(dir_code):
+ with open(
+ os.path.join(dir_code, filename),
+ "r",
+ encoding="utf-8",
+ ) as file:
+ codes[filename] = "".join(file.readlines())
+ return jsonify(codes)
+
+
+@_app.route("/api/file", methods=["GET"])
+def _get_file() -> Any:
+ """Get the local file via the url."""
+ file_path = request.args.get("path", None)
+
+ if file_path is not None:
+ try:
+ file = send_file(file_path)
+ return file
+ except FileNotFoundError:
+ return jsonify({"error": "File not found."})
+ return jsonify({"error": "File not found."})
+
+
+@_app.route("/convert-to-py", methods=["POST"])
+def _convert_config_to_py() -> Response:
+ """
+ Convert json config to python code and send back.
+ """
+ content = request.json.get("data")
+ status, py_code = _convert_to_py(content)
+ return jsonify(py_code=py_code, is_success=status)
+
+
+def _cleanup_process(proc: subprocess.Popen) -> None:
+ """Clean up the process for running application started by workstation."""
+ proc.wait()
+ _app.logger.debug(f"The process with pid {proc.pid} is closed")
+
+
+@_app.route("/convert-to-py-and-run", methods=["POST"])
+def _convert_config_to_py_and_run() -> Response:
+ """
+ Convert json config to python code and run.
+ """
+ content = request.json.get("data")
+ studio_url = request.url_root.rstrip("/")
+ run_id = _runtime.generate_new_runtime_id()
+ status, py_code = _convert_to_py(
+ content,
+ runtime_id=run_id,
+ studio_url=studio_url,
+ )
+
+ if status == "True":
+ try:
+ with tempfile.NamedTemporaryFile(
+ delete=False,
+ suffix=".py",
+ mode="w+t",
+ ) as tmp:
+ tmp.write(py_code)
+ tmp.flush()
+ proc = subprocess.Popen( # pylint: disable=R1732
+ ["python", tmp.name],
+ )
+ threading.Thread(target=_cleanup_process, args=(proc,)).start()
+ except Exception as e:
+ status, py_code = "False", _remove_file_paths(
+ f"Error: {e}\n\n" f"Traceback:\n" f"{traceback.format_exc()}",
+ )
+ return jsonify(py_code=py_code, is_success=status, run_id=run_id)
+
+
+@_app.route("/read-examples", methods=["POST"])
+def _read_examples() -> Response:
+ """
+ Read tutorial examples from local file.
+ """
+ lang = request.json.get("lang")
+ file_index = request.json.get("data")
+
+ if not os.path.exists(
+ os.path.join(
+ _app.root_path,
+ "static",
+ "workstation_templates",
+ f"{lang}{file_index}.json",
+ ),
+ ):
+ lang = "en"
+
+ with open(
+ os.path.join(
+ _app.root_path,
+ "static",
+ "workstation_templates",
+ f"{lang}{file_index}.json",
+ ),
+ "r",
+ encoding="utf-8",
+ ) as jf:
+ data = json.load(jf)
+ return jsonify(json=data)
+
+
+@_app.route("/")
+def _home() -> str:
+ """Render the home page."""
+ return render_template("index.html")
+
+
+@_socketio.on("request_user_input")
+def _request_user_input(data: dict) -> None:
+ """Request user input"""
+ _app.logger.debug("Flask: receive request_user_input")
+
+ run_id = data["run_id"]
+ agent_id = data["agent_id"]
+
+ # Change the status into waiting
+ _db.session.query(_RunTable).filter_by(run_id=run_id).update(
+ {"status": "waiting"},
+ )
+ _db.session.commit()
+
+ # Record into the queue
+ _UserInputRequestQueue.add_request(run_id, agent_id, data)
+
+ # Ask for user input from the web ui
+ _socketio.emit(
+ "enable_user_input",
+ data,
+ room=run_id,
+ )
+
+ _app.logger.debug("Flask: send enable_user_input")
+
+
+@_socketio.on("user_input_ready")
+def _user_input_ready(data: dict) -> None:
+ """Get user input and send to the agent"""
+ _app.logger.debug(f"Flask: receive user_input_ready: {data}")
+
+ run_id = data["run_id"]
+ agent_id = data["agent_id"]
+ content = data["content"]
+ url = data["url"]
+
+ _db.session.query(_RunTable).filter_by(run_id=run_id).update(
+ {"status": "running"},
+ )
+ _db.session.commit()
+
+ # Return to AgentScope application
+ _socketio.emit(
+ "fetch_user_input",
+ {
+ "agent_id": agent_id,
+ "name": data["name"],
+ "run_id": run_id,
+ "content": content,
+ "url": None if url in ["", []] else url,
+ },
+ room=run_id,
+ )
+
+ # Close the request in the queue
+ _UserInputRequestQueue.close_a_request(run_id, agent_id)
+
+ # Fetch a new user input request for this run_id if exists
+ new_request = _UserInputRequestQueue.fetch_a_request(run_id)
+ if new_request is not None:
+ _socketio.emit(
+ "enable_user_input",
+ new_request,
+ room=run_id,
+ )
+
+ _app.logger.debug("Flask: send fetch_user_input")
+
+
+@_socketio.on("connect")
+def _on_connect() -> None:
+ """Execute when a client is connected."""
+ _app.logger.info("New client connected")
+
+
+@_socketio.on("disconnect")
+def _on_disconnect() -> None:
+ """Execute when a client is disconnected."""
+ _app.logger.info("Client disconnected")
+
+
+@_socketio.on("join")
+def _on_join(data: dict) -> None:
+ """Join a websocket room"""
+ run_id = data["run_id"]
+ join_room(run_id)
+
+ new_request = _UserInputRequestQueue.fetch_a_request(run_id)
+ if new_request is not None:
+ _socketio.emit(
+ "enable_user_input",
+ new_request,
+ room=run_id,
+ )
+
+
+@_socketio.on("leave")
+def _on_leave(data: dict) -> None:
+ """Leave a websocket room"""
+ run_id = data["run_id"]
+ leave_room(run_id)
+
+
+
+[docs]
+def init(
+ host: str = "127.0.0.1",
+ port: int = 5000,
+ run_dirs: Optional[Union[str, list[str]]] = None,
+ debug: bool = False,
+) -> None:
+ """Start the AgentScope Studio web UI with the given configurations.
+
+ Args:
+ host (str, optional):
+ The host of the web UI. Defaults to "127.0.0.1"
+ port (int, optional):
+ The port of the web UI. Defaults to 5000.
+ run_dirs (`Optional[Union[str, list[str]]]`, defaults to `None`):
+ The directories to search for the history of runtime instances.
+ debug (`bool`, optional):
+ Whether to enable the debug mode. Defaults to False.
+ """
+
+ # Set the history directories
+ if isinstance(run_dirs, str):
+ run_dirs = [run_dirs]
+
+ global _RUNS_DIRS
+ _RUNS_DIRS = run_dirs
+
+ # Create the cache directory
+ with _app.app_context():
+ _db.create_all()
+
+ if debug:
+ _app.logger.setLevel("DEBUG")
+ else:
+ _app.logger.setLevel("INFO")
+
+ _socketio.run(
+ _app,
+ host=host,
+ port=port,
+ debug=debug,
+ allow_unsafe_werkzeug=True,
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/en/_modules/agentscope/utils/monitor.html b/en/_modules/agentscope/utils/monitor.html
index 7e4663f38..54adedc52 100644
--- a/en/_modules/agentscope/utils/monitor.html
+++ b/en/_modules/agentscope/utils/monitor.html
@@ -566,7 +566,7 @@ Source code for agentscope.utils.monitor
self.db_path = db_path
self.table_name = table_name
self._create_monitor_table(drop_exists)
- logger.info(
+ logger.debug(
f"SqliteMonitor initialization completed at [{self.db_path}]",
)
@@ -597,8 +597,8 @@ Source code for agentscope.utils.monitor
END;
""",
)
- logger.info(f"Init [{self.table_name}] as the monitor table")
- logger.info(
+ logger.debug(f"Init [{self.table_name}] as the monitor table")
+ logger.debug(
f"Init [{self.table_name}_quota_exceeded] as the monitor trigger",
)
diff --git a/en/_modules/agentscope/utils/tools.html b/en/_modules/agentscope/utils/tools.html
index 5596dd960..e7ea61023 100644
--- a/en/_modules/agentscope/utils/tools.html
+++ b/en/_modules/agentscope/utils/tools.html
@@ -107,12 +107,13 @@ Source code for agentscope.utils.tools
import secrets
import string
import socket
+import hashlib
+import random
from typing import Any, Literal, List, Optional
from urllib.parse import urlparse
-
+import psutil
import requests
-from loguru import logger
def _get_timestamp(
@@ -143,9 +144,7 @@ Source code for agentscope.utils.tools
if "content" in item:
clean_dict["content"] = _convert_to_str(item["content"])
else:
- logger.warning(
- f"Message {item} doesn't have `content` field for " f"OpenAI API.",
- )
+ raise ValueError("The content of the message is missing.")
return clean_dict
@@ -194,17 +193,10 @@ Source code for agentscope.utils.tools
"""
if port is None:
new_port = find_available_port()
- logger.warning(
- "agent server port is not provided, automatically select "
- f"[{new_port}] as the port number.",
- )
return new_port
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
if s.connect_ex(("localhost", port)) == 0:
new_port = find_available_port()
- logger.warning(
- f"Port [{port}] is occupied, use [{new_port}] instead",
- )
return new_port
return port
@@ -329,7 +321,7 @@ Source code for agentscope.utils.tools
file.write(chunk)
return True
else:
- logger.warning(
+ raise RuntimeError(
f"Failed to download file from {url} (status code: "
f"{response.status_code}). Retry {n_retry}/{max_retries}.",
)
@@ -353,6 +345,28 @@ Source code for agentscope.utils.tools
return "".join(secrets.choice(characters) for i in range(length))
+
+[docs]
+def generate_id_from_seed(seed: str, length: int = 8) -> str:
+ """Generate random id from seed str.
+
+ Args:
+ seed (`str`): seed string.
+ length (`int`): generated id length.
+ """
+ hasher = hashlib.sha256()
+ hasher.update(seed.encode("utf-8"))
+ hash_digest = hasher.hexdigest()
+
+ random.seed(hash_digest)
+ id_chars = [
+ random.choice(string.ascii_letters + string.digits)
+ for _ in range(length)
+ ]
+ return "".join(id_chars)
+
+
+
def _is_json_serializable(obj: Any) -> bool:
"""Check if the given object is json serializable."""
try:
@@ -490,6 +504,70 @@ Source code for agentscope.utils.tools
)
raise ImportError(err_msg)
+
+
+def _get_process_creation_time() -> datetime.datetime:
+ """Get the creation time of the process."""
+ pid = os.getpid()
+ # Find the process by pid
+ current_process = psutil.Process(pid)
+ # Obtain the process creation time
+ create_time = current_process.create_time()
+ # Change the timestamp to a readable format
+ return datetime.datetime.fromtimestamp(create_time)
+
+
+def _is_process_alive(
+ pid: int,
+ create_time_str: str,
+ create_time_format: str = "%Y-%m-%d %H:%M:%S",
+ tolerance_seconds: int = 10,
+) -> bool:
+ """Check if the process is alive by comparing the actual creation time of
+ the process with the given creation time.
+
+ Args:
+ pid (`int`):
+ The process id.
+ create_time_str (`str`):
+ The given creation time string.
+ create_time_format (`str`, defaults to `"%Y-%m-%d %H:%M:%S"`):
+ The format of the given creation time string.
+ tolerance_seconds (`int`, defaults to `10`):
+ The tolerance seconds for comparing the actual creation time with
+ the given creation time.
+
+ Returns:
+ `bool`: True if the process is alive, False otherwise.
+ """
+ try:
+ # Try to create a process object by pid
+ proc = psutil.Process(pid)
+ # Obtain the actual creation time of the process
+ actual_create_time_timestamp = proc.create_time()
+
+ # Convert the given creation time string to a datetime object
+ given_create_time_datetime = datetime.datetime.strptime(
+ create_time_str,
+ create_time_format,
+ )
+
+ # Calculate the time difference between the actual creation time and
+ time_difference = abs(
+ actual_create_time_timestamp
+ - given_create_time_datetime.timestamp(),
+ )
+
+ # Compare the actual creation time with the given creation time
+ if time_difference <= tolerance_seconds:
+ return True
+
+ except (psutil.NoSuchProcess, psutil.AccessDenied, psutil.ZombieProcess):
+ # If the process is not found, access is denied, or the process is a
+ # zombie process, return False
+ return False
+
+ return False
diff --git a/en/_modules/agentscope/web/_app.html b/en/_modules/agentscope/web/_app.html
deleted file mode 100644
index ad1a4df30..000000000
--- a/en/_modules/agentscope/web/_app.html
+++ /dev/null
@@ -1,255 +0,0 @@
-
-
-
-
-
-
- agentscope.web._app — AgentScope documentation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Module code
- - agentscope.web._app
- -
-
-
-
-
-
-
-
- Source code for agentscope.web._app
-# -*- coding: utf-8 -*-
-"""The main entry point of the web UI."""
-import json
-import os
-
-from flask import Flask, jsonify, render_template, Response
-from flask_cors import CORS
-from flask_socketio import SocketIO
-
-app = Flask(__name__)
-socketio = SocketIO(app)
-CORS(app) # This will enable CORS for all routes
-
-
-PATH_SAVE = ""
-
-
-@app.route("/getProjects", methods=["GET"])
-def get_projects() -> Response:
- """Get all the projects in the runs directory."""
- cfgs = []
- for run_dir in os.listdir(PATH_SAVE):
- print(run_dir)
- path_cfg = os.path.join(PATH_SAVE, run_dir, ".config")
- if os.path.exists(path_cfg):
- with open(path_cfg, "r", encoding="utf-8") as file:
- cfg = json.load(file)
- cfg["dir"] = run_dir
- cfgs.append(cfg)
-
- # Filter the same projects
- project_names = list({_["project"] for _ in cfgs})
-
- return jsonify(
- {
- "names": project_names,
- "runs": cfgs,
- },
- )
-
-
-@app.route("/")
-def home() -> str:
- """Render the home page."""
- return render_template("home.html")
-
-
-@app.route("/run/<run_dir>")
-def run_detail(run_dir: str) -> str:
- """Render the run detail page."""
- path_run = os.path.join(PATH_SAVE, run_dir)
-
- # Find the logging and chat file by suffix
- path_log = os.path.join(path_run, "logging.log")
- path_dialog = os.path.join(path_run, "logging.chat")
-
- if os.path.exists(path_log):
- with open(path_log, "r", encoding="utf-8") as file:
- logging_content = ["".join(file.readlines())]
- else:
- logging_content = None
-
- if os.path.exists(path_dialog):
- with open(path_dialog, "r", encoding="utf-8") as file:
- dialog_content = file.readlines()
- dialog_content = [json.loads(_) for _ in dialog_content]
- else:
- dialog_content = []
-
- path_cfg = os.path.join(PATH_SAVE, run_dir, ".config")
- if os.path.exists(path_cfg):
- with open(path_cfg, "r", encoding="utf-8") as file:
- cfg = json.load(file)
- else:
- cfg = {
- "project": "-",
- "name": "-",
- "id": "-",
- "timestamp": "-",
- }
-
- logging_and_dialog = {
- "config": cfg,
- "logging": logging_content,
- "dialog": dialog_content,
- }
-
- return render_template("run.html", runInfo=logging_and_dialog)
-
-
-@socketio.on("connect")
-def on_connect() -> None:
- """Execute when a client is connected."""
- print("Client connected")
-
-
-@socketio.on("disconnect")
-def on_disconnect() -> None:
- """Execute when a client is disconnected."""
- print("Client disconnected")
-
-
-
-[docs]
-def init(
- path_save: str,
- host: str = "127.0.0.1",
- port: int = 5000,
- debug: bool = False,
-) -> None:
- """Start the web UI."""
- global PATH_SAVE
-
- if not os.path.exists(path_save):
- raise FileNotFoundError(f"The path {path_save} does not exist.")
-
- PATH_SAVE = path_save
- socketio.run(
- app,
- host=host,
- port=port,
- debug=debug,
- allow_unsafe_werkzeug=True,
- )
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/en/_modules/agentscope/web/studio/studio.html b/en/_modules/agentscope/web/gradio/studio.html
similarity index 96%
rename from en/_modules/agentscope/web/studio/studio.html
rename to en/_modules/agentscope/web/gradio/studio.html
index 1debdfde5..5d86fe955 100644
--- a/en/_modules/agentscope/web/studio/studio.html
+++ b/en/_modules/agentscope/web/gradio/studio.html
@@ -4,7 +4,7 @@
- agentscope.web.studio.studio — AgentScope documentation
+ agentscope.web.gradio.studio — AgentScope documentation
@@ -45,8 +45,8 @@
- Module code
- - agentscope.web.studio.studio
+ - agentscope.web.gradio.studio
-
@@ -97,7 +97,7 @@
- Source code for agentscope.web.studio.studio
+ Source code for agentscope.web.gradio.studio
# -*- coding: utf-8 -*-
"""run web ui"""
import argparse
@@ -119,7 +119,7 @@ Source code for agentscope.web.studio.studio
except ImportError:
mgr = None
-from agentscope.web.studio.utils import (
+from agentscope.web.gradio.utils import (
send_player_input,
get_chat_msg,
SYS_MSG_PREFIX,
@@ -132,14 +132,14 @@ Source code for agentscope.web.studio.studio
thread_local_data,
cycle_dots,
)
-from agentscope.web.studio.constants import _SPEAK
+from agentscope.web.gradio.constants import _SPEAK
MAX_NUM_DISPLAY_MSG = 20
FAIL_COUNT_DOWN = 30
-[docs]
+[docs]
def init_uid_list() -> list:
"""Initialize an empty list for storing user IDs."""
return []
@@ -152,7 +152,7 @@ Source code for agentscope.web.studio.studio
-[docs]
+[docs]
def reset_glb_var(uid: str) -> None:
"""Reset global variables for a given user ID."""
global glb_history_dict
@@ -163,7 +163,7 @@ Source code for agentscope.web.studio.studio
-[docs]
+[docs]
def get_chat(uid: str) -> list[list]:
"""Retrieve chat messages for a given user ID."""
uid = check_uuid(uid)
@@ -201,7 +201,7 @@ Source code for agentscope.web.studio.studio
-[docs]
+[docs]
def send_audio(audio_term: str, uid: str) -> None:
"""Convert audio input to text and send as a chat message."""
uid = check_uuid(uid)
@@ -214,7 +214,7 @@ Source code for agentscope.web.studio.studio
-[docs]
+[docs]
def send_image(image_term: str, uid: str) -> None:
"""Send an image as a chat message."""
uid = check_uuid(uid)
@@ -227,7 +227,7 @@ Source code for agentscope.web.studio.studio
-[docs]
+[docs]
def send_message(msg: str, uid: str) -> str:
"""Send a generic message to the player."""
uid = check_uuid(uid)
@@ -239,7 +239,7 @@ Source code for agentscope.web.studio.studio
-[docs]
+[docs]
def fn_choice(data: gr.EventData, uid: str) -> None:
"""Handle a selection event from the chatbot interface."""
uid = check_uuid(uid)
@@ -249,7 +249,7 @@ Source code for agentscope.web.studio.studio
-[docs]
+[docs]
def import_function_from_path(
module_path: str,
function_name: str,
@@ -300,7 +300,7 @@ Source code for agentscope.web.studio.studio
# pylint: disable=too-many-statements
-[docs]
+[docs]
def run_app() -> None:
"""Entry point for the web UI application."""
assert gr is not None, "Please install [full] version of AgentScope."
diff --git a/en/_modules/agentscope/web/studio/utils.html b/en/_modules/agentscope/web/gradio/utils.html
similarity index 94%
rename from en/_modules/agentscope/web/studio/utils.html
rename to en/_modules/agentscope/web/gradio/utils.html
index a129cef9c..8cd78043f 100644
--- a/en/_modules/agentscope/web/studio/utils.html
+++ b/en/_modules/agentscope/web/gradio/utils.html
@@ -4,7 +4,7 @@
- agentscope.web.studio.utils — AgentScope documentation
+ agentscope.web.gradio.utils — AgentScope documentation
@@ -45,8 +45,8 @@
- Module code
- - agentscope.web.studio.utils
+ - agentscope.web.gradio.utils
-
@@ -97,7 +97,7 @@
- Source code for agentscope.web.studio.utils
+ Source code for agentscope.web.gradio.utils
# -*- coding: utf-8 -*-
"""web ui utils"""
import os
@@ -118,7 +118,7 @@ Source code for agentscope.web.studio.utils
-[docs]
+[docs]
def init_uid_queues() -> dict:
"""Initializes and returns a dictionary of user-specific queues."""
return {
@@ -133,7 +133,7 @@ Source code for agentscope.web.studio.utils
-[docs]
+[docs]
def send_msg(
msg: str,
is_player: bool = False,
@@ -175,7 +175,7 @@ Source code for agentscope.web.studio.utils
-[docs]
+[docs]
def get_chat_msg(uid: Optional[str] = None) -> list:
"""Retrieves the next chat message from the queue, if available."""
global glb_uid_dict
@@ -189,7 +189,7 @@ Source code for agentscope.web.studio.utils
-[docs]
+[docs]
def send_player_input(msg: str, uid: Optional[str] = None) -> None:
"""Sends player input to the web UI."""
global glb_uid_dict
@@ -199,7 +199,7 @@ Source code for agentscope.web.studio.utils
-[docs]
+[docs]
def get_player_input(
timeout: Optional[int] = None,
uid: Optional[str] = None,
@@ -223,7 +223,7 @@ Source code for agentscope.web.studio.utils
-[docs]
+[docs]
def send_reset_msg(uid: Optional[str] = None) -> None:
"""Sends a reset message to the web UI."""
uid = check_uuid(uid)
@@ -235,7 +235,7 @@ Source code for agentscope.web.studio.utils
-[docs]
+[docs]
def get_reset_msg(uid: Optional[str] = None) -> None:
"""Retrieves a reset message from the queue, if available."""
global glb_uid_dict
@@ -249,14 +249,14 @@ Source code for agentscope.web.studio.utils
-[docs]
+[docs]
class ResetException(Exception):
"""Custom exception to signal a reset action in the application."""
-[docs]
+[docs]
def check_uuid(uid: Optional[str]) -> str:
"""Checks whether a UUID is provided or generates a default one."""
if not uid or uid == "":
@@ -270,7 +270,7 @@ Source code for agentscope.web.studio.utils
-[docs]
+[docs]
def generate_image_from_name(name: str) -> str:
"""Generates an image based on the hash of the given name."""
from agentscope.file_manager import file_manager
@@ -303,7 +303,7 @@ Source code for agentscope.web.studio.utils
-[docs]
+[docs]
def audio2text(audio_path: str) -> str:
"""Converts audio file at the given path to text using ASR."""
# dashscope.api_key = ""
@@ -321,7 +321,7 @@ Source code for agentscope.web.studio.utils
-[docs]
+[docs]
def cycle_dots(text: str, num_dots: int = 3) -> str:
"""display thinking dots before agent reply"""
current_dots = len(text) - len(text.rstrip("."))
@@ -333,7 +333,7 @@ Source code for agentscope.web.studio.utils
-[docs]
+[docs]
def user_input(
prefix: str = "User input: ",
timeout: Optional[int] = None,
diff --git a/en/_modules/agentscope/web/workstation/workflow_dag.html b/en/_modules/agentscope/web/workstation/workflow_dag.html
index 08e85c945..11a05a5da 100644
--- a/en/_modules/agentscope/web/workstation/workflow_dag.html
+++ b/en/_modules/agentscope/web/workstation/workflow_dag.html
@@ -116,7 +116,10 @@ Source code for agentscope.web.workstation.workflow_dag
WorkflowNodeType,
DEFAULT_FLOW_VAR,
)
-from agentscope.web.workstation.workflow_utils import is_callable_expression
+from agentscope.web.workstation.workflow_utils import (
+ is_callable_expression,
+ kwarg_converter,
+)
try:
import networkx as nx
@@ -170,7 +173,7 @@ Source code for agentscope.web.workstation.workflow_dag
]
self.inits = [
- """agentscope.init(logger_level="DEBUG")""",
+ 'agentscope.init(logger_level="DEBUG")',
f"{DEFAULT_FLOW_VAR} = None",
]
@@ -217,7 +220,11 @@ Source code for agentscope.web.workstation.workflow_dag
[docs]
- def compile(self, compiled_filename: str = "") -> str:
+ def compile( # type: ignore[no-untyped-def]
+ self,
+ compiled_filename: str = "",
+ **kwargs,
+ ) -> str:
"""Compile DAG to a runnable python code"""
def format_python_code(code: str) -> str:
@@ -229,6 +236,10 @@ Source code for agentscope.web.workstation.workflow_dag
except Exception:
return code
+ self.inits[
+ 0
+ ] = f'agentscope.init(logger_level="DEBUG", {kwarg_converter(kwargs)})'
+
sorted_nodes = list(nx.topological_sort(self))
sorted_nodes = [
node_id
diff --git a/en/_modules/index.html b/en/_modules/index.html
index 5786df19c..01af70705 100644
--- a/en/_modules/index.html
+++ b/en/_modules/index.html
@@ -108,6 +108,7 @@ All modules for which code is available
agentscope.agents.user_agent
agentscope.constants
agentscope.exception
+agentscope.logging
agentscope.memory.memory
agentscope.memory.temporary_memory
agentscope.message
@@ -154,14 +155,13 @@ All modules for which code is available
agentscope.service.web.download
agentscope.service.web.search
agentscope.service.web.web_digest
-agentscope.utils.common
-agentscope.utils.logging_utils
+agentscope.studio._app
+agentscope.utils.common
agentscope.utils.monitor
agentscope.utils.token_utils
agentscope.utils.tools
-agentscope.web._app
-agentscope.web.studio.studio
-agentscope.web.studio.utils
+agentscope.web.gradio.studio
+agentscope.web.gradio.utils
agentscope.web.workstation.workflow
agentscope.web.workstation.workflow_dag
agentscope.web.workstation.workflow_node
diff --git a/en/_sources/agentscope.logging.rst.txt b/en/_sources/agentscope.logging.rst.txt
new file mode 100644
index 000000000..de42846fb
--- /dev/null
+++ b/en/_sources/agentscope.logging.rst.txt
@@ -0,0 +1,6 @@
+agentscope.logging
+==================
+.. automodule:: agentscope.logging
+ :members:
+ :undoc-members:
+ :show-inheritance:
\ No newline at end of file
diff --git a/en/_sources/agentscope.studio.rst.txt b/en/_sources/agentscope.studio.rst.txt
new file mode 100644
index 000000000..a20b3a6eb
--- /dev/null
+++ b/en/_sources/agentscope.studio.rst.txt
@@ -0,0 +1,7 @@
+agentscope.studio
+=================
+
+.. automodule:: agentscope.studio
+ :members:
+ :undoc-members:
+ :show-inheritance:
\ No newline at end of file
diff --git a/en/_sources/agentscope.utils.logging_utils.rst.txt b/en/_sources/agentscope.utils.logging_utils.rst.txt
deleted file mode 100644
index 54032346f..000000000
--- a/en/_sources/agentscope.utils.logging_utils.rst.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-agentscope.utils.logging_utils
-==============================
-.. automodule:: agentscope.utils.logging_utils
- :members:
- :undoc-members:
- :show-inheritance:
\ No newline at end of file
diff --git a/zh_CN/_sources/agentscope.web.studio.constants.rst.txt b/en/_sources/agentscope.web.gradio.constants.rst.txt
similarity index 51%
rename from zh_CN/_sources/agentscope.web.studio.constants.rst.txt
rename to en/_sources/agentscope.web.gradio.constants.rst.txt
index 1ff763320..c22fc374d 100644
--- a/zh_CN/_sources/agentscope.web.studio.constants.rst.txt
+++ b/en/_sources/agentscope.web.gradio.constants.rst.txt
@@ -1,6 +1,6 @@
-agentscope.web.studio.constants
+agentscope.web.gradio.constants
===============================
-.. automodule:: agentscope.web.studio.constants
+.. automodule:: agentscope.web.gradio.constants
:members:
:undoc-members:
:show-inheritance:
\ No newline at end of file
diff --git a/zh_CN/_sources/agentscope.web.studio.rst.txt b/en/_sources/agentscope.web.gradio.rst.txt
similarity index 55%
rename from zh_CN/_sources/agentscope.web.studio.rst.txt
rename to en/_sources/agentscope.web.gradio.rst.txt
index ea9c4f348..34ac95dcb 100644
--- a/zh_CN/_sources/agentscope.web.studio.rst.txt
+++ b/en/_sources/agentscope.web.gradio.rst.txt
@@ -1,7 +1,7 @@
-agentscope.web.studio
+agentscope.web.gradio
=====================
-.. automodule:: agentscope.web.studio
+.. automodule:: agentscope.web.gradio
:members:
:undoc-members:
:show-inheritance:
\ No newline at end of file
diff --git a/zh_CN/_sources/agentscope.web.studio.studio.rst.txt b/en/_sources/agentscope.web.gradio.studio.rst.txt
similarity index 52%
rename from zh_CN/_sources/agentscope.web.studio.studio.rst.txt
rename to en/_sources/agentscope.web.gradio.studio.rst.txt
index a2b5805cc..25fd302f2 100644
--- a/zh_CN/_sources/agentscope.web.studio.studio.rst.txt
+++ b/en/_sources/agentscope.web.gradio.studio.rst.txt
@@ -1,6 +1,6 @@
-agentscope.web.studio.studio
+agentscope.web.gradio.studio
============================
-.. automodule:: agentscope.web.studio.studio
+.. automodule:: agentscope.web.gradio.studio
:members:
:undoc-members:
:show-inheritance:
\ No newline at end of file
diff --git a/en/_sources/agentscope.web.studio.utils.rst.txt b/en/_sources/agentscope.web.gradio.utils.rst.txt
similarity index 52%
rename from en/_sources/agentscope.web.studio.utils.rst.txt
rename to en/_sources/agentscope.web.gradio.utils.rst.txt
index c9be22c7d..4b3b912db 100644
--- a/en/_sources/agentscope.web.studio.utils.rst.txt
+++ b/en/_sources/agentscope.web.gradio.utils.rst.txt
@@ -1,6 +1,6 @@
-agentscope.web.studio.utils
+agentscope.web.gradio.utils
===========================
-.. automodule:: agentscope.web.studio.utils
+.. automodule:: agentscope.web.gradio.utils
:members:
:undoc-members:
:show-inheritance:
\ No newline at end of file
diff --git a/en/agentscope.agents.agent.html b/en/agentscope.agents.agent.html
index 75c8d49a3..9c741002a 100644
--- a/en/agentscope.agents.agent.html
+++ b/en/agentscope.agents.agent.html
@@ -260,8 +260,16 @@
-
-speak(content: str | dict) → None[source]
-Speak out the content generated by the agent.
+speak(content: str | Msg) → None[source]
+Speak out the message generated by the agent. If a string is given,
+a Msg object will be created with the string as the content.
+
+- Parameters:
+content (Union[str, Msg]) – The content of the message to be spoken out. If a string is
+given, a Msg object will be created with the agent’s name, role
+as “assistant”, and the given string as the content.
+
+
diff --git a/en/agentscope.agents.html b/en/agentscope.agents.html
index 63e3a7f92..f31c02f3d 100644
--- a/en/agentscope.agents.html
+++ b/en/agentscope.agents.html
@@ -247,8 +247,16 @@
-
-speak(content: str | dict) → None[source]
-Speak out the content generated by the agent.
+speak(content: str | Msg) → None[source]
+Speak out the message generated by the agent. If a string is given,
+a Msg object will be created with the string as the content.
+
+- Parameters:
+content (Union[str, Msg]) – The content of the message to be spoken out. If a string is
+given, a Msg object will be created with the agent’s name, role
+as “assistant”, and the given string as the content.
+
+
@@ -536,7 +544,7 @@
-
-reply(x: dict | None = None, required_keys: list[str] | str | None = None, timeout: int | None = None) → dict[source]
+reply(x: dict | None = None, required_keys: str | list[str] | None = None, timeout: int | None = None) → dict[source]
Processes the input provided by the user and stores it in memory,
potentially formatting it with additional provided details.
The method prompts the user for input, then optionally prompts for
@@ -567,8 +575,16 @@
-
-speak(content: str | dict) → None[source]
-Speak the content to the audience.
+speak(content: str | Msg) → None[source]
+Speak out the message generated by the agent. If a string is given,
+a Msg object will be created with the string as the content.
+
+- Parameters:
+content (Union[str, Msg]) – The content of the message to be spoken out. If a string is
+given, a Msg object will be created with the agent’s name, role
+as “user”, and the given string as the content.
+
+
diff --git a/en/agentscope.agents.user_agent.html b/en/agentscope.agents.user_agent.html
index e0fd29953..40d5c5909 100644
--- a/en/agentscope.agents.user_agent.html
+++ b/en/agentscope.agents.user_agent.html
@@ -123,7 +123,7 @@
-
-reply(x: dict | None = None, required_keys: list[str] | str | None = None, timeout: int | None = None) → dict[source]
+reply(x: dict | None = None, required_keys: str | list[str] | None = None, timeout: int | None = None) → dict[source]
Processes the input provided by the user and stores it in memory,
potentially formatting it with additional provided details.
The method prompts the user for input, then optionally prompts for
@@ -154,8 +154,16 @@
-
-speak(content: str | dict) → None[source]
-Speak the content to the audience.
+speak(content: str | Msg) → None[source]
+Speak out the message generated by the agent. If a string is given,
+a Msg object will be created with the string as the content.
+
+- Parameters:
+content (Union[str, Msg]) – The content of the message to be spoken out. If a string is
+given, a Msg object will be created with the agent’s name, role
+as “user”, and the given string as the content.
+
+
diff --git a/en/agentscope.exception.html b/en/agentscope.exception.html
index 362742a9e..582bd7e6b 100644
--- a/en/agentscope.exception.html
+++ b/en/agentscope.exception.html
@@ -76,6 +76,8 @@
FunctionNotFoundError
ArgumentNotFoundError
ArgumentTypeError
+StudioError
+StudioRegisterError
agentscope.pipelines
@@ -237,6 +239,26 @@
The exception class for argument type error.
+
+-
+exception agentscope.exception.StudioError(message: str)[source]
+Bases: Exception
+The base class for exception raising during interaction with agentscope
+studio.
+
+
+
+
+
+-
+exception agentscope.exception.StudioRegisterError(message: str)[source]
+Bases: StudioError
+The exception class for error when registering to agentscope studio.
+
+
diff --git a/en/agentscope.html b/en/agentscope.html
index 477049f3c..ad00fa068 100644
--- a/en/agentscope.html
+++ b/en/agentscope.html
@@ -107,7 +107,7 @@
Import all modules in the package.
-
-agentscope.init(model_configs: dict | str | list | None = None, project: str | None = None, name: str | None = None, save_dir: str = './runs', save_log: bool = True, save_code: bool = True, save_api_invoke: bool = False, use_monitor: bool = True, logger_level: Literal['TRACE', 'DEBUG', 'INFO', 'SUCCESS', 'WARNING', 'ERROR', 'CRITICAL'] = 'INFO', runtime_id: str | None = None, agent_configs: dict | str | list | None = None) → Sequence[AgentBase][source]
+agentscope.init(model_configs: dict | str | list | None = None, project: str | None = None, name: str | None = None, save_dir: str = './runs', save_log: bool = True, save_code: bool = True, save_api_invoke: bool = False, use_monitor: bool = True, logger_level: Literal['TRACE', 'DEBUG', 'INFO', 'SUCCESS', 'WARNING', 'ERROR', 'CRITICAL'] = 'INFO', runtime_id: str | None = None, agent_configs: dict | str | list | None = None, studio_url: str | None = None) → Sequence[AgentBase][source]
A unified entry to initialize the package, including model configs,
runtime names, saving directories and logging settings.
@@ -132,6 +132,7 @@
which can be loaded by json.loads(). One agent config should
cover the required arguments to initialize a specific agent
object, otherwise the default values will be used.
+
studio_url (Optional[str], defaults to None) – The url of the agentscope studio.
diff --git a/en/agentscope.utils.logging_utils.html b/en/agentscope.logging.html
similarity index 60%
rename from en/agentscope.utils.logging_utils.html
rename to en/agentscope.logging.html
index 2f8aedeb4..dfa96bc03 100644
--- a/en/agentscope.utils.logging_utils.html
+++ b/en/agentscope.logging.html
@@ -5,7 +5,7 @@
- agentscope.utils.logging_utils — AgentScope documentation
+ agentscope.logging — AgentScope documentation
@@ -44,8 +44,8 @@
- - agentscope.utils.logging_utils
+ - agentscope.logging
-
- View page source
+ View page source
@@ -96,12 +96,12 @@
-
-agentscope.utils.logging_utils
+
+agentscope.logging
Logging utilities.
--
-agentscope.utils.logging_utils.log_studio(message: dict, uid: str, **kwargs: Any) → None[source]
+-
+agentscope.logging.log_studio(message: dict, uid: str, **kwargs: Any) → None[source]
Send chat message to studio.
- Parameters:
@@ -116,8 +116,8 @@
--
-agentscope.utils.logging_utils.setup_logger(path_log: str | None = None, level: Literal['TRACE', 'DEBUG', 'INFO', 'SUCCESS', 'WARNING', 'ERROR', 'CRITICAL'] = 'INFO') → None[source]
+-
+agentscope.logging.setup_logger(path_log: str | None = None, level: Literal['TRACE', 'DEBUG', 'INFO', 'SUCCESS', 'WARNING', 'ERROR', 'CRITICAL'] = 'INFO') → None[source]
Setup loguru.logger and redirect stderr to logging.
- Parameters:
diff --git a/en/agentscope.message.html b/en/agentscope.message.html
index e9b6be9e4..3af1cec6b 100644
--- a/en/agentscope.message.html
+++ b/en/agentscope.message.html
@@ -314,7 +314,7 @@
-
class agentscope.message.PlaceholderMessage(name: str, content: Any, url: Sequence[str] | str | None = None, timestamp: str | None = None, host: str | None = None, port: int | None = None, task_id: int | None = None, client: RpcAgentClient | None = None, x: dict | None = None, **kwargs: Any)[source]
-Bases: MessageBase
+Bases: Msg
A placeholder for the return message of RpcAgent.
-
diff --git a/en/agentscope.server.html b/en/agentscope.server.html
index 5693cedfb..ccaf72e47 100644
--- a/en/agentscope.server.html
+++ b/en/agentscope.server.html
@@ -108,12 +108,12 @@
Import all server related modules in the package.
-
-class agentscope.server.RpcAgentServerLauncher(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800, local_mode: bool = False, custom_agents: list | None = None, server_id: str | None = None, agent_class: Type[AgentBase] | None = None, agent_args: tuple = (), agent_kwargs: dict | None = None)[source]
+class agentscope.server.RpcAgentServerLauncher(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800, local_mode: bool = False, custom_agents: list | None = None, server_id: str | None = None, studio_url: str | None = None, agent_class: Type[AgentBase] | None = None, agent_args: tuple = (), agent_kwargs: dict | None = None)[source]
Bases: object
The launcher of AgentServer.
-
-__init__(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800, local_mode: bool = False, custom_agents: list | None = None, server_id: str | None = None, agent_class: Type[AgentBase] | None = None, agent_args: tuple = (), agent_kwargs: dict | None = None) → None[source]
+__init__(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800, local_mode: bool = False, custom_agents: list | None = None, server_id: str | None = None, studio_url: str | None = None, agent_class: Type[AgentBase] | None = None, agent_args: tuple = (), agent_kwargs: dict | None = None) → None[source]
Init a launcher of agent server.
- Parameters:
@@ -131,6 +131,7 @@
agentscope.agents.
server_id (str, defaults to None) – The id of the agent server. If not specified, a random id
will be generated.
+studio_url (Optional[str], defaults to None) – The url of the agentscope studio.
agent_class (Type[AgentBase], deprecated) – The AgentBase subclass encapsulated by this wrapper.
agent_args (tuple, deprecated) – The args tuple used to
initialize the agent_class.
@@ -143,7 +144,7 @@
-
-generate_server_id() → str[source]
+classmethod generate_server_id(host: str, port: int) → str[source]
Generate server id
@@ -176,18 +177,20 @@
-
-class agentscope.server.AgentServerServicer(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800)[source]
+class agentscope.server.AgentServerServicer(host: str = 'localhost', port: int | None = None, server_id: str | None = None, studio_url: str | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800)[source]
Bases: RpcAgentServicer
A Servicer for RPC Agent Server (formerly RpcServerSideWrapper)
-
-__init__(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800)[source]
+__init__(host: str = 'localhost', port: int | None = None, server_id: str | None = None, studio_url: str | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800)[source]
Init the AgentServerServicer.
- Parameters:
host (str, defaults to “localhost”) – Hostname of the rpc agent server.
port (int, defaults to None) – Port of the rpc agent server.
+server_id (str, defaults to None) – Server id of the rpc agent server.
+studio_url (str, defaults to None) – URL of the AgentScope Studio.
max_pool_size (int, defaults to 8192) – The max number of agent reply messages that the server can
accommodate. Note that the oldest message will be deleted
after exceeding the pool size.
diff --git a/en/agentscope.server.launcher.html b/en/agentscope.server.launcher.html
index 2ab3686a2..d2788234d 100644
--- a/en/agentscope.server.launcher.html
+++ b/en/agentscope.server.launcher.html
@@ -101,12 +101,12 @@
Server of distributed agent
-
-class agentscope.server.launcher.RpcAgentServerLauncher(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800, local_mode: bool = False, custom_agents: list | None = None, server_id: str | None = None, agent_class: Type[AgentBase] | None = None, agent_args: tuple = (), agent_kwargs: dict | None = None)[source]
+class agentscope.server.launcher.RpcAgentServerLauncher(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800, local_mode: bool = False, custom_agents: list | None = None, server_id: str | None = None, studio_url: str | None = None, agent_class: Type[AgentBase] | None = None, agent_args: tuple = (), agent_kwargs: dict | None = None)[source]
Bases: object
The launcher of AgentServer.
-
-__init__(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800, local_mode: bool = False, custom_agents: list | None = None, server_id: str | None = None, agent_class: Type[AgentBase] | None = None, agent_args: tuple = (), agent_kwargs: dict | None = None) → None[source]
+__init__(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800, local_mode: bool = False, custom_agents: list | None = None, server_id: str | None = None, studio_url: str | None = None, agent_class: Type[AgentBase] | None = None, agent_args: tuple = (), agent_kwargs: dict | None = None) → None[source]
Init a launcher of agent server.
- Parameters:
@@ -124,6 +124,7 @@
agentscope.agents.
server_id (str, defaults to None) – The id of the agent server. If not specified, a random id
will be generated.
+studio_url (Optional[str], defaults to None) – The url of the agentscope studio.
agent_class (Type[AgentBase], deprecated) – The AgentBase subclass encapsulated by this wrapper.
agent_args (tuple, deprecated) – The args tuple used to
initialize the agent_class.
@@ -136,7 +137,7 @@
-
-generate_server_id() → str[source]
+classmethod generate_server_id(host: str, port: int) → str[source]
Generate server id
diff --git a/en/agentscope.server.servicer.html b/en/agentscope.server.servicer.html
index 155022359..e2274b9df 100644
--- a/en/agentscope.server.servicer.html
+++ b/en/agentscope.server.servicer.html
@@ -101,18 +101,20 @@
Server of distributed agent
-
-class agentscope.server.servicer.AgentServerServicer(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800)[source]
+class agentscope.server.servicer.AgentServerServicer(host: str = 'localhost', port: int | None = None, server_id: str | None = None, studio_url: str | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800)[source]
Bases: RpcAgentServicer
A Servicer for RPC Agent Server (formerly RpcServerSideWrapper)
-
-__init__(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800)[source]
+__init__(host: str = 'localhost', port: int | None = None, server_id: str | None = None, studio_url: str | None = None, max_pool_size: int = 8192, max_timeout_seconds: int = 1800)[source]
Init the AgentServerServicer.
- Parameters:
host (str, defaults to “localhost”) – Hostname of the rpc agent server.
port (int, defaults to None) – Port of the rpc agent server.
+server_id (str, defaults to None) – Server id of the rpc agent server.
+studio_url (str, defaults to None) – URL of the AgentScope Studio.
max_pool_size (int, defaults to 8192) – The max number of agent reply messages that the server can
accommodate. Note that the oldest message will be deleted
after exceeding the pool size.
diff --git a/en/agentscope.studio.html b/en/agentscope.studio.html
new file mode 100644
index 000000000..d5e5dd45d
--- /dev/null
+++ b/en/agentscope.studio.html
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+ agentscope.studio — AgentScope documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - agentscope.studio
+ -
+ View page source
+
+
+
+
+
+
+
+
+agentscope.studio
+Import the entry point of AgentScope Studio.
+
+-
+agentscope.studio.init(host: str = '127.0.0.1', port: int = 5000, run_dirs: str | list[str] | None = None, debug: bool = False) → None[source]
+Start the AgentScope Studio web UI with the given configurations.
+
+- Parameters:
+
+host (str, optional) – The host of the web UI. Defaults to “127.0.0.1”
+port (int, optional) – The port of the web UI. Defaults to 5000.
+run_dirs (Optional[Union[str, list[str]]], defaults to None) – The directories to search for the history of runtime instances.
+debug (bool, optional) – Whether to enable the debug mode. Defaults to False.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/en/agentscope.utils.html b/en/agentscope.utils.html
index fdf5b746b..935dc4159 100644
--- a/en/agentscope.utils.html
+++ b/en/agentscope.utils.html
@@ -71,7 +71,6 @@
- agentscope.web
- agentscope.prompt
- agentscope.utils
-setup_logger()
MonitorBase
QuotaExceededError
MonitorFactory
@@ -106,22 +105,6 @@
agentscope.utils
Import modules in utils package.
-
--
-agentscope.utils.setup_logger(path_log: str | None = None, level: Literal['TRACE', 'DEBUG', 'INFO', 'SUCCESS', 'WARNING', 'ERROR', 'CRITICAL'] = 'INFO') → None[source]
-Setup loguru.logger and redirect stderr to logging.
-
-- Parameters:
-
-path_log (str, defaults to “”) – The directory of log files.
-level (str, defaults to “INFO”) – The logging level, which is one of the following: “TRACE”,
-“DEBUG”, “INFO”, “SUCCESS”, “WARNING”, “ERROR”,
-“CRITICAL”.
-
-
-
-
-
+
+-
+agentscope.utils.tools.generate_id_from_seed(seed: str, length: int = 8) → str[source]
+Generate random id from seed str.
+
+- Parameters:
+
+seed (str) – seed string.
+length (int) – generated id length.
+
+
+
+
+
-
agentscope.utils.tools.reform_dialogue(input_msgs: list[dict]) → list[dict][source]
diff --git a/en/agentscope.web.studio.constants.html b/en/agentscope.web.gradio.constants.html
similarity index 90%
rename from en/agentscope.web.studio.constants.html
rename to en/agentscope.web.gradio.constants.html
index c683d7adf..3965778bc 100644
--- a/en/agentscope.web.studio.constants.html
+++ b/en/agentscope.web.gradio.constants.html
@@ -5,7 +5,7 @@
- agentscope.web.studio.constants — AgentScope documentation
+ agentscope.web.gradio.constants — AgentScope documentation
@@ -44,8 +44,8 @@
- - agentscope.web.studio.constants
+ - agentscope.web.gradio.constants
-
- View page source
+ View page source
@@ -96,8 +96,8 @@
-
-agentscope.web.studio.constants
+
+agentscope.web.gradio.constants
Some constants used in the AS studio
diff --git a/en/agentscope.web.studio.html b/en/agentscope.web.gradio.html
similarity index 91%
rename from en/agentscope.web.studio.html
rename to en/agentscope.web.gradio.html
index acb5a9471..c6b7c7e9d 100644
--- a/en/agentscope.web.studio.html
+++ b/en/agentscope.web.gradio.html
@@ -5,7 +5,7 @@
- agentscope.web.studio — AgentScope documentation
+ agentscope.web.gradio — AgentScope documentation
@@ -44,8 +44,8 @@
- - agentscope.web.studio
+ - agentscope.web.gradio
-
- View page source
+ View page source
@@ -96,8 +96,8 @@
-
-agentscope.web.studio
+
+agentscope.web.gradio
diff --git a/en/agentscope.web.studio.studio.html b/en/agentscope.web.gradio.studio.html
similarity index 82%
rename from en/agentscope.web.studio.studio.html
rename to en/agentscope.web.gradio.studio.html
index 45fde49ac..0973bda21 100644
--- a/en/agentscope.web.studio.studio.html
+++ b/en/agentscope.web.gradio.studio.html
@@ -5,7 +5,7 @@
- agentscope.web.studio.studio — AgentScope documentation
+ agentscope.web.gradio.studio — AgentScope documentation
@@ -44,8 +44,8 @@
- - agentscope.web.studio.studio
+ - agentscope.web.gradio.studio
-
- View page source
+ View page source
@@ -96,60 +96,60 @@
-
-agentscope.web.studio.studio
+
+agentscope.web.gradio.studio
run web ui
--
-agentscope.web.studio.studio.init_uid_list() → list[source]
+-
+agentscope.web.gradio.studio.init_uid_list() → list[source]
Initialize an empty list for storing user IDs.
--
-agentscope.web.studio.studio.reset_glb_var(uid: str) → None[source]
+-
+agentscope.web.gradio.studio.reset_glb_var(uid: str) → None[source]
Reset global variables for a given user ID.
--
-agentscope.web.studio.studio.get_chat(uid: str) → list[list][source]
+-
+agentscope.web.gradio.studio.get_chat(uid: str) → list[list][source]
Retrieve chat messages for a given user ID.
--
-agentscope.web.studio.studio.send_audio(audio_term: str, uid: str) → None[source]
+-
+agentscope.web.gradio.studio.send_audio(audio_term: str, uid: str) → None[source]
Convert audio input to text and send as a chat message.
--
-agentscope.web.studio.studio.send_image(image_term: str, uid: str) → None[source]
+-
+agentscope.web.gradio.studio.send_image(image_term: str, uid: str) → None[source]
Send an image as a chat message.
--
-agentscope.web.studio.studio.send_message(msg: str, uid: str) → str[source]
+-
+agentscope.web.gradio.studio.send_message(msg: str, uid: str) → str[source]
Send a generic message to the player.
--
-agentscope.web.studio.studio.fn_choice(data: EventData, uid: str) → None[source]
+-
+agentscope.web.gradio.studio.fn_choice(data: EventData, uid: str) → None[source]
Handle a selection event from the chatbot interface.
--
-agentscope.web.studio.studio.import_function_from_path(module_path: str, function_name: str, module_name: str | None = None) → Callable[source]
+-
+agentscope.web.gradio.studio.import_function_from_path(module_path: str, function_name: str, module_name: str | None = None) → Callable[source]
Import a function from the given module path.
--
-agentscope.web.studio.studio.run_app() → None[source]
+-
+agentscope.web.gradio.studio.run_app() → None[source]
Entry point for the web UI application.
diff --git a/en/agentscope.web.studio.utils.html b/en/agentscope.web.gradio.utils.html
similarity index 84%
rename from en/agentscope.web.studio.utils.html
rename to en/agentscope.web.gradio.utils.html
index e091fc218..f6fec1b1e 100644
--- a/en/agentscope.web.studio.utils.html
+++ b/en/agentscope.web.gradio.utils.html
@@ -5,7 +5,7 @@
- agentscope.web.studio.utils — AgentScope documentation
+ agentscope.web.gradio.utils — AgentScope documentation
@@ -44,8 +44,8 @@
- - agentscope.web.studio.utils
+ - agentscope.web.gradio.utils
-
- View page source
+ View page source
@@ -96,85 +96,85 @@
-
-agentscope.web.studio.utils
+
+agentscope.web.gradio.utils
web ui utils
--
-agentscope.web.studio.utils.init_uid_queues() → dict[source]
+-
+agentscope.web.gradio.utils.init_uid_queues() → dict[source]
Initializes and returns a dictionary of user-specific queues.
--
-agentscope.web.studio.utils.send_msg(msg: str, is_player: bool = False, role: str | None = None, uid: str | None = None, flushing: bool = False, avatar: str | None = None, msg_id: str | None = None) → None[source]
+-
+agentscope.web.gradio.utils.send_msg(msg: str, is_player: bool = False, role: str | None = None, uid: str | None = None, flushing: bool = False, avatar: str | None = None, msg_id: str | None = None) → None[source]
Sends a message to the web UI.
--
-agentscope.web.studio.utils.get_chat_msg(uid: str | None = None) → list[source]
+-
+agentscope.web.gradio.utils.get_chat_msg(uid: str | None = None) → list[source]
Retrieves the next chat message from the queue, if available.
--
-agentscope.web.studio.utils.send_player_input(msg: str, uid: str | None = None) → None[source]
+-
+agentscope.web.gradio.utils.send_player_input(msg: str, uid: str | None = None) → None[source]
Sends player input to the web UI.
--
-agentscope.web.studio.utils.get_player_input(timeout: int | None = None, uid: str | None = None) → str[source]
+-
+agentscope.web.gradio.utils.get_player_input(timeout: int | None = None, uid: str | None = None) → str[source]
Gets player input from the web UI or command line.
--
-agentscope.web.studio.utils.send_reset_msg(uid: str | None = None) → None[source]
+-
+agentscope.web.gradio.utils.send_reset_msg(uid: str | None = None) → None[source]
Sends a reset message to the web UI.
--
-agentscope.web.studio.utils.get_reset_msg(uid: str | None = None) → None[source]
+-
+agentscope.web.gradio.utils.get_reset_msg(uid: str | None = None) → None[source]
Retrieves a reset message from the queue, if available.
--
-exception agentscope.web.studio.utils.ResetException[source]
+-
+exception agentscope.web.gradio.utils.ResetException[source]
Bases: Exception
Custom exception to signal a reset action in the application.
--
-agentscope.web.studio.utils.check_uuid(uid: str | None) → str[source]
+-
+agentscope.web.gradio.utils.check_uuid(uid: str | None) → str[source]
Checks whether a UUID is provided or generates a default one.
--
-agentscope.web.studio.utils.generate_image_from_name(name: str) → str[source]
+-
+agentscope.web.gradio.utils.generate_image_from_name(name: str) → str[source]
Generates an image based on the hash of the given name.
--
-agentscope.web.studio.utils.audio2text(audio_path: str) → str[source]
+-
+agentscope.web.gradio.utils.audio2text(audio_path: str) → str[source]
Converts audio file at the given path to text using ASR.
--
-agentscope.web.studio.utils.cycle_dots(text: str, num_dots: int = 3) → str[source]
+-
+agentscope.web.gradio.utils.cycle_dots(text: str, num_dots: int = 3) → str[source]
display thinking dots before agent reply
--
-agentscope.web.studio.utils.user_input(prefix: str = 'User input: ', timeout: int | None = None) → str[source]
+-
+agentscope.web.gradio.utils.user_input(prefix: str = 'User input: ', timeout: int | None = None) → str[source]
get user input
diff --git a/en/agentscope.web.html b/en/agentscope.web.html
index 4ab192d42..64ca2792a 100644
--- a/en/agentscope.web.html
+++ b/en/agentscope.web.html
@@ -69,10 +69,7 @@
agentscope.service
agentscope.rpc
agentscope.server
-agentscope.web
-init()
-
-
+agentscope.web
agentscope.prompt
agentscope.utils
@@ -103,13 +100,6 @@
agentscope.web
-Import all modules in the web ui package.
-
-
diff --git a/en/agentscope.web.workstation.workflow_dag.html b/en/agentscope.web.workstation.workflow_dag.html
index 3aede2b5c..bc1f3f2db 100644
--- a/en/agentscope.web.workstation.workflow_dag.html
+++ b/en/agentscope.web.workstation.workflow_dag.html
@@ -149,7 +149,7 @@
-
-compile(compiled_filename: str = '') → str[source]
+compile(compiled_filename: str = '', **kwargs) → str[source]
Compile DAG to a runnable python code
diff --git a/en/genindex.html b/en/genindex.html
index 277c08540..65e8a051f 100644
--- a/en/genindex.html
+++ b/en/genindex.html
@@ -164,6 +164,8 @@ _
(agentscope.exception.FunctionCallError method)
(agentscope.exception.ResponseParsingError method)
+
+ (agentscope.exception.StudioError method)
(agentscope.exception.TagNotFoundError method)
@@ -493,6 +495,13 @@ A
- module
+
+
+
+ agentscope.logging
+
+
+ - module
@@ -684,6 +693,8 @@ A
module
+
+
-
agentscope.rpc.rpc_agent_pb2
@@ -691,8 +702,6 @@
A
- module
-
-
-
agentscope.rpc.rpc_agent_pb2_grpc
@@ -904,24 +913,24 @@
A
- agentscope.utils
+ agentscope.studio
- agentscope.utils.common
+ agentscope.utils
- agentscope.utils.logging_utils
+ agentscope.utils.common
@@ -953,31 +962,31 @@ A
- agentscope.web.studio
+ agentscope.web.gradio
- agentscope.web.studio.constants
+ agentscope.web.gradio.constants
- agentscope.web.studio.studio
+ agentscope.web.gradio.studio
- agentscope.web.studio.utils
+ agentscope.web.gradio.utils
@@ -1039,7 +1048,7 @@ A
ASDiGraph (class in agentscope.web.workstation.workflow_dag)
- audio2text() (in module agentscope.web.studio.utils)
+ audio2text() (in module agentscope.web.gradio.utils)
@@ -1105,7 +1114,7 @@ C
check_port() (in module agentscope.utils.tools)
- check_uuid() (in module agentscope.web.studio.utils)
+ check_uuid() (in module agentscope.web.gradio.utils)
clear() (agentscope.memory.memory.MemoryBase method)
@@ -1287,7 +1296,7 @@ C
create_tempdir() (in module agentscope.utils.common)
- cycle_dots() (in module agentscope.web.studio.utils)
+ cycle_dots() (in module agentscope.web.gradio.utils)
@@ -1509,7 +1518,7 @@ F
(agentscope.utils.MonitorFactory class method)
- fn_choice() (in module agentscope.web.studio.studio)
+ fn_choice() (in module agentscope.web.gradio.studio)
ForLoopPipeline (class in agentscope.pipelines)
@@ -1637,12 +1646,14 @@ G
(agentscope.agents.AgentBase class method)
- generate_image_from_name() (in module agentscope.web.studio.utils)
+ generate_id_from_seed() (in module agentscope.utils.tools)
- generate_server_id() (agentscope.server.launcher.RpcAgentServerLauncher method)
+ generate_image_from_name() (in module agentscope.web.gradio.utils)
+
+ generate_server_id() (agentscope.server.launcher.RpcAgentServerLauncher class method)
generation_method (agentscope.models.gemini_model.GeminiChatWrapper attribute)
@@ -1669,9 +1680,9 @@ G
get_all_agents() (in module agentscope.web.workstation.workflow_node)
- get_chat() (in module agentscope.web.studio.studio)
+ get_chat() (in module agentscope.web.gradio.studio)
- get_chat_msg() (in module agentscope.web.studio.utils)
+ get_chat_msg() (in module agentscope.web.gradio.utils)
get_current_directory() (in module agentscope.service)
@@ -1729,7 +1740,7 @@ G
get_openai_max_length() (in module agentscope.utils.token_utils)
- get_player_input() (in module agentscope.web.studio.utils)
+ get_player_input() (in module agentscope.web.gradio.utils)
get_quota() (agentscope.utils.monitor.DummyMonitor method)
@@ -1741,7 +1752,7 @@ G
(agentscope.utils.MonitorBase method)
- get_reset_msg() (in module agentscope.web.studio.utils)
+ get_reset_msg() (in module agentscope.web.gradio.utils)
get_response() (agentscope.rpc.ResponseStub method)
@@ -1819,19 +1830,19 @@ I
- - import_function_from_path() (in module agentscope.web.studio.studio)
+
- import_function_from_path() (in module agentscope.web.gradio.studio)
- ImportErrorReporter (class in agentscope.utils.tools)
- init() (in module agentscope)
- - init_uid_list() (in module agentscope.web.studio.studio)
+
- init_uid_list() (in module agentscope.web.gradio.studio)
- - init_uid_queues() (in module agentscope.web.studio.utils)
+
- init_uid_queues() (in module agentscope.web.gradio.utils)
- is_callable_expression() (in module agentscope.web.workstation.workflow_utils)
@@ -1959,7 +1970,7 @@ L
LOCAL_ATTRS (agentscope.message.PlaceholderMessage attribute)
- log_studio() (in module agentscope.utils.logging_utils)
+ log_studio() (in module agentscope.logging)
@@ -2170,6 +2181,8 @@ M
agentscope.exception
agentscope.file_manager
+
+ agentscope.logging
agentscope.memory
@@ -2286,12 +2299,12 @@ M
agentscope.service.web.search
agentscope.service.web.web_digest
+
+ agentscope.studio
agentscope.utils
agentscope.utils.common
-
- agentscope.utils.logging_utils
agentscope.utils.monitor
@@ -2301,13 +2314,13 @@ M
agentscope.web
- agentscope.web.studio
+ agentscope.web.gradio
- agentscope.web.studio.constants
+ agentscope.web.gradio.constants
- agentscope.web.studio.studio
+ agentscope.web.gradio.studio
- agentscope.web.studio.utils
+ agentscope.web.gradio.utils
agentscope.web.workstation
@@ -2788,9 +2801,9 @@ R
(agentscope.agents.AgentBase method)
- reset_glb_var() (in module agentscope.web.studio.studio)
+ reset_glb_var() (in module agentscope.web.gradio.studio)
- ResetException
+ ResetException
ResponseFormat (class in agentscope.constants)
@@ -2858,7 +2871,7 @@ R
run() (agentscope.web.workstation.workflow_dag.ASDiGraph method)
- run_app() (in module agentscope.web.studio.studio)
+ run_app() (in module agentscope.web.gradio.studio)
@@ -2868,17 +2881,17 @@ S
- sanitize_node_data() (in module agentscope.web.workstation.workflow_dag)
- - send_audio() (in module agentscope.web.studio.studio)
+
- send_audio() (in module agentscope.web.gradio.studio)
- - send_image() (in module agentscope.web.studio.studio)
+
- send_image() (in module agentscope.web.gradio.studio)
- - send_message() (in module agentscope.web.studio.studio)
+
- send_message() (in module agentscope.web.gradio.studio)
- - send_msg() (in module agentscope.web.studio.utils)
+
- send_msg() (in module agentscope.web.gradio.utils)
- - send_player_input() (in module agentscope.web.studio.utils)
+
- send_player_input() (in module agentscope.web.gradio.utils)
- - send_reset_msg() (in module agentscope.web.studio.utils)
+
- send_reset_msg() (in module agentscope.web.gradio.utils)
- SequentialPipeline (class in agentscope.pipelines)
@@ -2964,12 +2977,8 @@
S
- (agentscope.rpc.rpc_agent_client.ResponseStub method)
- setup_logger() (in module agentscope.utils)
-
-
ShrinkPolicy (class in agentscope.constants)
shutdown() (agentscope.server.launcher.RpcAgentServerLauncher method)
@@ -3013,6 +3022,10 @@ S
STRING (agentscope.prompt.PromptType attribute)
+
+ StudioError
+
+ StudioRegisterError
substrings_in_vision_models_names (agentscope.models.openai_model.OpenAIChatWrapper attribute)
@@ -3202,7 +3215,7 @@ U
url (agentscope.message.Msg attribute)
- user_input() (in module agentscope.web.studio.utils)
+ user_input() (in module agentscope.web.gradio.utils)
UserAgent (class in agentscope.agents)
diff --git a/en/objects.inv b/en/objects.inv
index 921ee0656..963389d4d 100644
Binary files a/en/objects.inv and b/en/objects.inv differ
diff --git a/en/py-modindex.html b/en/py-modindex.html
index 84f974d99..88bb0c8cb 100644
--- a/en/py-modindex.html
+++ b/en/py-modindex.html
@@ -176,6 +176,11 @@ Python Module Index
agentscope.file_manager
+
+
+
+ agentscope.logging
+
@@ -469,17 +474,17 @@ Python Module Index
- agentscope.utils
+ agentscope.studio
- agentscope.utils.common
+ agentscope.utils
- agentscope.utils.logging_utils
+ agentscope.utils.common
@@ -504,22 +509,22 @@ Python Module Index
- agentscope.web.studio
+ agentscope.web.gradio
- agentscope.web.studio.constants
+ agentscope.web.gradio.constants
- agentscope.web.studio.studio
+ agentscope.web.gradio.studio
- agentscope.web.studio.utils
+ agentscope.web.gradio.utils
diff --git a/en/searchindex.js b/en/searchindex.js
index b6d30dd71..8dd6eabea 100644
--- a/en/searchindex.js
+++ b/en/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles": {"About AgentScope": [[89, "about-agentscope"]], "About Implementation": [[102, "about-implementation"]], "About Memory": [[99, "about-memory"]], "About Message": [[99, "about-message"]], "About PromptEngine Class": [[100, "about-promptengine-class"]], "About Service Toolkit": [[98, "about-service-toolkit"]], "About ServiceResponse": [[98, "about-serviceresponse"]], "Actor Model": [[102, "actor-model"]], "Adding and Deleting Participants": [[95, "adding-and-deleting-participants"]], "Advanced Exploration": [[87, "advanced-exploration"], [105, "advanced-exploration"], [107, "advanced-exploration"]], "Advanced Usage": [[101, "advanced-usage"]], "Advanced Usage of to_dist": [[102, "advanced-usage-of-to-dist"]], "Agent": [[89, "agent"]], "Agent Server": [[102, "agent-server"]], "AgentScope API Reference": [[87, null]], "AgentScope Code Structure": [[89, "agentscope-code-structure"]], "AgentScope Documentation": [[87, "agentscope-documentation"]], "Background": [[97, "background"]], "Basic Parameters": [[96, "basic-parameters"]], "Basic Usage": [[101, "basic-usage"]], "Broadcast message in MsgHub": [[95, "broadcast-message-in-msghub"]], "Build Model Service from Scratch": [[96, "build-model-service-from-scratch"]], "Built-in Prompt Strategies": [[100, "built-in-prompt-strategies"]], "Built-in Service Functions": [[98, "built-in-service-functions"]], "Category": [[95, "category"]], "Challenges in Prompt Construction": [[100, "challenges-in-prompt-construction"]], "Child Process Mode": [[102, "child-process-mode"]], "Code Review": [[104, "code-review"]], "Commit Your Changes": [[104, "commit-your-changes"]], "Configuration": [[96, "configuration"]], "Configuration Format": [[96, "configuration-format"]], "Contribute to AgentScope": [[104, "contribute-to-agentscope"]], "Contribute to Codebase": [[104, "contribute-to-codebase"]], "Crafting Your First Application": [[92, "crafting-your-first-application"]], "Creat Your Own Model Wrapper": [[96, "creat-your-own-model-wrapper"]], "Create a New Branch": [[104, "create-a-new-branch"]], "Create a Virtual Environment": [[90, "create-a-virtual-environment"]], "Create new Service Function": [[98, "create-new-service-function"]], "Creating a MsgHub": [[95, "creating-a-msghub"]], "Customized Parser": [[97, "customized-parser"]], "Customizing Agents from the AgentPool": [[94, "customizing-agents-from-the-agentpool"]], "Customizing Your Own Agent": [[94, "customizing-your-own-agent"]], "DashScope API": [[96, "dashscope-api"]], "DashScopeChatWrapper": [[100, "dashscopechatwrapper"]], "DashScopeMultiModalWrapper": [[100, "dashscopemultimodalwrapper"]], "Detailed Parameters": [[96, "detailed-parameters"]], "DialogAgent": [[94, "dialogagent"]], "Dictionary Type": [[97, "dictionary-type"]], "DingTalk (\u9489\u9489)": [[103, "dingtalk"]], "Discord": [[103, "discord"]], "Distribution": [[102, "distribution"]], "Example": [[98, "example"]], "Exploring the AgentPool": [[94, "exploring-the-agentpool"]], "ForLoopPipeline": [[95, "forlooppipeline"]], "Fork and Clone the Repository": [[104, "fork-and-clone-the-repository"]], "Format Instruction Template": [[97, "format-instruction-template"]], "Formatting Prompts in Dynamic Way": [[100, "formatting-prompts-in-dynamic-way"]], "Gemini API": [[96, "gemini-api"]], "GeminiChatWrapper": [[100, "geminichatwrapper"]], "Get Involved": [[106, "get-involved"]], "Get a Monitor Instance": [[101, "get-a-monitor-instance"]], "Getting Involved": [[87, "getting-involved"], [107, "getting-involved"]], "Getting Started": [[87, "getting-started"], [92, "getting-started"], [107, "getting-started"], [108, "getting-started"]], "GitHub": [[103, "github"]], "Handling Quotas": [[101, "handling-quotas"]], "How is AgentScope designed?": [[89, "how-is-agentscope-designed"]], "How to use": [[98, "how-to-use"]], "How to use Service Functions": [[98, "how-to-use-service-functions"]], "IfElsePipeline": [[95, "ifelsepipeline"]], "Implement Werewolf Pipeline": [[92, "implement-werewolf-pipeline"]], "Independent Process Mode": [[102, "independent-process-mode"]], "Indices and tables": [[87, "indices-and-tables"]], "Initialization": [[97, "initialization"], [100, "initialization"]], "Initialization & Format Instruction Template": [[97, "initialization-format-instruction-template"], [97, "id1"], [97, "id3"]], "Install from Source": [[90, "install-from-source"]], "Install with Pip": [[90, "install-with-pip"]], "Installation": [[90, "installation"]], "Installing AgentScope": [[90, "installing-agentscope"]], "Integrating logging with WebUI": [[93, "integrating-logging-with-webui"]], "JSON / Python Object Type": [[97, "json-python-object-type"]], "Joining AgentScope Community": [[103, "joining-agentscope-community"]], "Joining Prompt Components": [[100, "joining-prompt-components"]], "Key Concepts": [[89, "key-concepts"]], "Key Features of PromptEngine": [[100, "key-features-of-promptengine"]], "Leverage Pipeline and MsgHub": [[92, "leverage-pipeline-and-msghub"]], "LiteLLM Chat API": [[96, "litellm-chat-api"]], "LiteLLMChatWrapper": [[100, "litellmchatwrapper"]], "Logging": [[93, "logging"]], "Logging a Chat Message": [[93, "logging-a-chat-message"]], "Logging a System information": [[93, "logging-a-system-information"]], "Logging and WebUI": [[93, "logging-and-webui"]], "Making Changes": [[104, "making-changes"]], "MarkdownCodeBlockParser": [[97, "markdowncodeblockparser"]], "MarkdownJsonDictParser": [[97, "markdownjsondictparser"]], "MarkdownJsonObjectParser": [[97, "markdownjsonobjectparser"]], "Memory": [[99, "memory"]], "MemoryBase Class": [[99, "memorybase-class"]], "Message": [[89, "message"]], "MessageBase Class": [[99, "messagebase-class"]], "Model": [[96, "model"]], "Model Response Parser": [[97, "model-response-parser"]], "Monitor": [[101, "monitor"]], "Msg Class": [[99, "msg-class"]], "MsgHub": [[95, "msghub"]], "MultiTaggedContentParser": [[97, "multitaggedcontentparser"]], "Next step": [[92, "next-step"]], "Non-Vision Models": [[100, "non-vision-models"]], "Note": [[93, "note"]], "Ollama API": [[96, "ollama-api"]], "OllamaChatWrapper": [[100, "ollamachatwrapper"]], "OllamaGenerationWrapper": [[100, "ollamagenerationwrapper"]], "OpenAI API": [[96, "openai-api"]], "OpenAIChatWrapper": [[100, "openaichatwrapper"]], "Output List Type Prompt": [[100, "output-list-type-prompt"]], "Output String Type Prompt": [[100, "output-string-type-prompt"]], "Overview": [[97, "overview"]], "Parse Function": [[97, "parse-function"], [97, "id2"], [97, "id4"]], "Parser Module": [[97, "parser-module"]], "Pipeline Combination": [[95, "pipeline-combination"]], "Pipeline and MsgHub": [[95, "pipeline-and-msghub"]], "Pipelines": [[95, "pipelines"]], "PlaceHolder": [[102, "placeholder"]], "Post Request API": [[96, "post-request-api"]], "Prompt Engine (Will be deprecated in the future)": [[100, "prompt-engine-will-be-deprecated-in-the-future"]], "Prompt Engineering": [[100, "prompt-engineering"]], "Prompt Strategy": [[100, "prompt-strategy"], [100, "id1"], [100, "id2"], [100, "id3"], [100, "id4"], [100, "id5"], [100, "id6"], [100, "id7"]], "Quick Running": [[93, "quick-running"]], "Quick Start": [[91, "quick-start"]], "ReAct Agent and Tool Usage": [[97, "react-agent-and-tool-usage"]], "Register a budget for an API": [[101, "register-a-budget-for-an-api"]], "Registering API Usage Metrics": [[101, "registering-api-usage-metrics"]], "Report Bugs and Ask For New Features?": [[104, "report-bugs-and-ask-for-new-features"]], "Resetting and Removing Metrics": [[101, "resetting-and-removing-metrics"]], "Retrieving Metrics": [[101, "retrieving-metrics"]], "SequentialPipeline": [[95, "sequentialpipeline"]], "Service": [[89, "service"], [98, "service"]], "Setting Up the Logger": [[93, "setting-up-the-logger"]], "Step 1: Convert your agent to its distributed version": [[102, "step-1-convert-your-agent-to-its-distributed-version"]], "Step 1: Prepare Model API and Set Model Configs": [[92, "step-1-prepare-model-api-and-set-model-configs"]], "Step 2: Define the Roles of Each Agent": [[92, "step-2-define-the-roles-of-each-agent"]], "Step 2: Orchestrate Distributed Application Flow": [[102, "step-2-orchestrate-distributed-application-flow"]], "Step 3: Initialize AgentScope and the Agents": [[92, "step-3-initialize-agentscope-and-the-agents"]], "Step 4: Set Up the Game Logic": [[92, "step-4-set-up-the-game-logic"]], "Step 5: Run the Application": [[92, "step-5-run-the-application"]], "Step1: Prepare Model": [[91, "step1-prepare-model"]], "Step2: Create Agents": [[91, "step2-create-agents"]], "Step3: Agent Conversation": [[91, "step3-agent-conversation"]], "String Type": [[97, "string-type"]], "Submit a Pull Request": [[104, "submit-a-pull-request"]], "Supported Models": [[96, "supported-models"]], "SwitchPipeline": [[95, "switchpipeline"]], "Table of Contents": [[97, "table-of-contents"]], "TemporaryMemory": [[99, "temporarymemory"]], "Tutorial Navigator": [[87, "tutorial-navigator"], [107, "tutorial-navigator"]], "Typical Use Cases": [[97, "typical-use-cases"]], "Understanding AgentBase": [[94, "understanding-agentbase"]], "Understanding the Monitor in AgentScope": [[101, "understanding-the-monitor-in-agentscope"]], "Updating Metrics": [[101, "updating-metrics"]], "Usage": [[95, "usage"], [95, "id1"], [102, "usage"]], "UserAgent": [[94, "useragent"]], "Using Conda": [[90, "using-conda"]], "Using Virtualenv": [[90, "using-virtualenv"]], "Using prefix to Distinguish Metrics": [[101, "using-prefix-to-distinguish-metrics"]], "Using the Monitor": [[101, "using-the-monitor"]], "Validation": [[97, "validation"]], "Vision Models": [[100, "vision-models"]], "Welcome to AgentScope Tutorial Hub": [[87, "welcome-to-agentscope-tutorial-hub"], [107, "welcome-to-agentscope-tutorial-hub"]], "WereWolf Game": [[97, "werewolf-game"]], "What is AgentScope?": [[89, "what-is-agentscope"]], "WhileLoopPipeline": [[95, "whilelooppipeline"]], "Why AgentScope?": [[89, "why-agentscope"]], "Workflow": [[89, "workflow"]], "ZhipuAI API": [[96, "zhipuai-api"]], "ZhipuAIChatWrapper": [[100, "zhipuaichatwrapper"]], "agentscope": [[0, "module-agentscope"], [88, "agentscope"]], "agentscope.agents": [[1, "module-agentscope.agents"]], "agentscope.agents.agent": [[2, "module-agentscope.agents.agent"]], "agentscope.agents.dialog_agent": [[3, "module-agentscope.agents.dialog_agent"]], "agentscope.agents.dict_dialog_agent": [[4, "module-agentscope.agents.dict_dialog_agent"]], "agentscope.agents.operator": [[5, "module-agentscope.agents.operator"]], "agentscope.agents.react_agent": [[6, "module-agentscope.agents.react_agent"]], "agentscope.agents.rpc_agent": [[7, "module-agentscope.agents.rpc_agent"]], "agentscope.agents.text_to_image_agent": [[8, "module-agentscope.agents.text_to_image_agent"]], "agentscope.agents.user_agent": [[9, "module-agentscope.agents.user_agent"]], "agentscope.constants": [[10, "module-agentscope.constants"]], "agentscope.exception": [[11, "module-agentscope.exception"]], "agentscope.file_manager": [[12, "module-agentscope.file_manager"]], "agentscope.memory": [[13, "module-agentscope.memory"]], "agentscope.memory.memory": [[14, "module-agentscope.memory.memory"]], "agentscope.memory.temporary_memory": [[15, "module-agentscope.memory.temporary_memory"]], "agentscope.message": [[16, "module-agentscope.message"]], "agentscope.models": [[17, "module-agentscope.models"]], "agentscope.models.config": [[18, "module-agentscope.models.config"]], "agentscope.models.dashscope_model": [[19, "module-agentscope.models.dashscope_model"]], "agentscope.models.gemini_model": [[20, "module-agentscope.models.gemini_model"]], "agentscope.models.litellm_model": [[21, "module-agentscope.models.litellm_model"]], "agentscope.models.model": [[22, "module-agentscope.models.model"]], "agentscope.models.ollama_model": [[23, "module-agentscope.models.ollama_model"]], "agentscope.models.openai_model": [[24, "module-agentscope.models.openai_model"]], "agentscope.models.post_model": [[25, "module-agentscope.models.post_model"]], "agentscope.models.response": [[26, "module-agentscope.models.response"]], "agentscope.models.zhipu_model": [[27, "module-agentscope.models.zhipu_model"]], "agentscope.msghub": [[28, "module-agentscope.msghub"]], "agentscope.parsers": [[29, "module-agentscope.parsers"]], "agentscope.parsers.code_block_parser": [[30, "module-agentscope.parsers.code_block_parser"]], "agentscope.parsers.json_object_parser": [[31, "module-agentscope.parsers.json_object_parser"]], "agentscope.parsers.parser_base": [[32, "module-agentscope.parsers.parser_base"]], "agentscope.parsers.tagged_content_parser": [[33, "module-agentscope.parsers.tagged_content_parser"]], "agentscope.pipelines": [[34, "module-agentscope.pipelines"]], "agentscope.pipelines.functional": [[35, "module-agentscope.pipelines.functional"]], "agentscope.pipelines.pipeline": [[36, "module-agentscope.pipelines.pipeline"]], "agentscope.prompt": [[37, "module-agentscope.prompt"]], "agentscope.rpc": [[38, "module-agentscope.rpc"]], "agentscope.rpc.rpc_agent_client": [[39, "module-agentscope.rpc.rpc_agent_client"]], "agentscope.rpc.rpc_agent_pb2": [[40, "module-agentscope.rpc.rpc_agent_pb2"]], "agentscope.rpc.rpc_agent_pb2_grpc": [[41, "module-agentscope.rpc.rpc_agent_pb2_grpc"]], "agentscope.server": [[42, "module-agentscope.server"]], "agentscope.server.launcher": [[43, "module-agentscope.server.launcher"]], "agentscope.server.servicer": [[44, "module-agentscope.server.servicer"]], "agentscope.service": [[45, "module-agentscope.service"]], "agentscope.service.execute_code": [[46, "module-agentscope.service.execute_code"]], "agentscope.service.execute_code.exec_python": [[47, "module-agentscope.service.execute_code.exec_python"]], "agentscope.service.execute_code.exec_shell": [[48, "module-agentscope.service.execute_code.exec_shell"]], "agentscope.service.file": [[49, "module-agentscope.service.file"]], "agentscope.service.file.common": [[50, "module-agentscope.service.file.common"]], "agentscope.service.file.json": [[51, "module-agentscope.service.file.json"]], "agentscope.service.file.text": [[52, "module-agentscope.service.file.text"]], "agentscope.service.retrieval": [[53, "module-agentscope.service.retrieval"]], "agentscope.service.retrieval.retrieval_from_list": [[54, "module-agentscope.service.retrieval.retrieval_from_list"]], "agentscope.service.retrieval.similarity": [[55, "module-agentscope.service.retrieval.similarity"]], "agentscope.service.service_response": [[56, "module-agentscope.service.service_response"]], "agentscope.service.service_status": [[57, "module-agentscope.service.service_status"]], "agentscope.service.service_toolkit": [[58, "module-agentscope.service.service_toolkit"]], "agentscope.service.sql_query": [[59, "module-agentscope.service.sql_query"]], "agentscope.service.sql_query.mongodb": [[60, "module-agentscope.service.sql_query.mongodb"]], "agentscope.service.sql_query.mysql": [[61, "module-agentscope.service.sql_query.mysql"]], "agentscope.service.sql_query.sqlite": [[62, "module-agentscope.service.sql_query.sqlite"]], "agentscope.service.text_processing": [[63, "module-agentscope.service.text_processing"]], "agentscope.service.text_processing.summarization": [[64, "module-agentscope.service.text_processing.summarization"]], "agentscope.service.web": [[65, "module-agentscope.service.web"]], "agentscope.service.web.arxiv": [[66, "module-agentscope.service.web.arxiv"]], "agentscope.service.web.dblp": [[67, "module-agentscope.service.web.dblp"]], "agentscope.service.web.download": [[68, "module-agentscope.service.web.download"]], "agentscope.service.web.search": [[69, "module-agentscope.service.web.search"]], "agentscope.service.web.web_digest": [[70, "module-agentscope.service.web.web_digest"]], "agentscope.utils": [[71, "module-agentscope.utils"]], "agentscope.utils.common": [[72, "module-agentscope.utils.common"]], "agentscope.utils.logging_utils": [[73, "module-agentscope.utils.logging_utils"]], "agentscope.utils.monitor": [[74, "module-agentscope.utils.monitor"]], "agentscope.utils.token_utils": [[75, "module-agentscope.utils.token_utils"]], "agentscope.utils.tools": [[76, "module-agentscope.utils.tools"]], "agentscope.web": [[77, "module-agentscope.web"]], "agentscope.web.studio": [[78, "module-agentscope.web.studio"]], "agentscope.web.studio.constants": [[79, "module-agentscope.web.studio.constants"]], "agentscope.web.studio.studio": [[80, "module-agentscope.web.studio.studio"]], "agentscope.web.studio.utils": [[81, "module-agentscope.web.studio.utils"]], "agentscope.web.workstation": [[82, "module-agentscope.web.workstation"]], "agentscope.web.workstation.workflow": [[83, "module-agentscope.web.workstation.workflow"]], "agentscope.web.workstation.workflow_dag": [[84, "module-agentscope.web.workstation.workflow_dag"]], "agentscope.web.workstation.workflow_node": [[85, "module-agentscope.web.workstation.workflow_node"]], "agentscope.web.workstation.workflow_utils": [[86, "module-agentscope.web.workstation.workflow_utils"]]}, "docnames": ["agentscope", "agentscope.agents", "agentscope.agents.agent", "agentscope.agents.dialog_agent", "agentscope.agents.dict_dialog_agent", "agentscope.agents.operator", "agentscope.agents.react_agent", "agentscope.agents.rpc_agent", "agentscope.agents.text_to_image_agent", "agentscope.agents.user_agent", "agentscope.constants", "agentscope.exception", "agentscope.file_manager", "agentscope.memory", "agentscope.memory.memory", "agentscope.memory.temporary_memory", "agentscope.message", "agentscope.models", "agentscope.models.config", "agentscope.models.dashscope_model", "agentscope.models.gemini_model", "agentscope.models.litellm_model", "agentscope.models.model", "agentscope.models.ollama_model", "agentscope.models.openai_model", "agentscope.models.post_model", "agentscope.models.response", "agentscope.models.zhipu_model", "agentscope.msghub", "agentscope.parsers", "agentscope.parsers.code_block_parser", "agentscope.parsers.json_object_parser", "agentscope.parsers.parser_base", "agentscope.parsers.tagged_content_parser", "agentscope.pipelines", "agentscope.pipelines.functional", "agentscope.pipelines.pipeline", "agentscope.prompt", "agentscope.rpc", "agentscope.rpc.rpc_agent_client", "agentscope.rpc.rpc_agent_pb2", "agentscope.rpc.rpc_agent_pb2_grpc", "agentscope.server", "agentscope.server.launcher", "agentscope.server.servicer", "agentscope.service", "agentscope.service.execute_code", "agentscope.service.execute_code.exec_python", "agentscope.service.execute_code.exec_shell", "agentscope.service.file", "agentscope.service.file.common", "agentscope.service.file.json", "agentscope.service.file.text", "agentscope.service.retrieval", "agentscope.service.retrieval.retrieval_from_list", "agentscope.service.retrieval.similarity", "agentscope.service.service_response", "agentscope.service.service_status", "agentscope.service.service_toolkit", "agentscope.service.sql_query", "agentscope.service.sql_query.mongodb", "agentscope.service.sql_query.mysql", "agentscope.service.sql_query.sqlite", "agentscope.service.text_processing", "agentscope.service.text_processing.summarization", "agentscope.service.web", "agentscope.service.web.arxiv", "agentscope.service.web.dblp", "agentscope.service.web.download", "agentscope.service.web.search", "agentscope.service.web.web_digest", "agentscope.utils", "agentscope.utils.common", "agentscope.utils.logging_utils", "agentscope.utils.monitor", "agentscope.utils.token_utils", "agentscope.utils.tools", "agentscope.web", "agentscope.web.studio", "agentscope.web.studio.constants", "agentscope.web.studio.studio", "agentscope.web.studio.utils", "agentscope.web.workstation", "agentscope.web.workstation.workflow", "agentscope.web.workstation.workflow_dag", "agentscope.web.workstation.workflow_node", "agentscope.web.workstation.workflow_utils", "index", "modules", "tutorial/101-agentscope", "tutorial/102-installation", "tutorial/103-example", "tutorial/104-usecase", "tutorial/105-logging", "tutorial/201-agent", "tutorial/202-pipeline", "tutorial/203-model", "tutorial/203-parser", "tutorial/204-service", "tutorial/205-memory", "tutorial/206-prompt", "tutorial/207-monitor", "tutorial/208-distribute", "tutorial/301-community", "tutorial/302-contribute", "tutorial/advance", "tutorial/contribute", "tutorial/main", "tutorial/quick_start"], "envversion": {"sphinx": 61, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1}, "filenames": ["agentscope.rst", "agentscope.agents.rst", "agentscope.agents.agent.rst", "agentscope.agents.dialog_agent.rst", "agentscope.agents.dict_dialog_agent.rst", "agentscope.agents.operator.rst", "agentscope.agents.react_agent.rst", "agentscope.agents.rpc_agent.rst", "agentscope.agents.text_to_image_agent.rst", "agentscope.agents.user_agent.rst", "agentscope.constants.rst", "agentscope.exception.rst", "agentscope.file_manager.rst", "agentscope.memory.rst", "agentscope.memory.memory.rst", "agentscope.memory.temporary_memory.rst", "agentscope.message.rst", "agentscope.models.rst", "agentscope.models.config.rst", "agentscope.models.dashscope_model.rst", "agentscope.models.gemini_model.rst", "agentscope.models.litellm_model.rst", "agentscope.models.model.rst", "agentscope.models.ollama_model.rst", "agentscope.models.openai_model.rst", "agentscope.models.post_model.rst", "agentscope.models.response.rst", "agentscope.models.zhipu_model.rst", "agentscope.msghub.rst", "agentscope.parsers.rst", "agentscope.parsers.code_block_parser.rst", "agentscope.parsers.json_object_parser.rst", "agentscope.parsers.parser_base.rst", "agentscope.parsers.tagged_content_parser.rst", "agentscope.pipelines.rst", "agentscope.pipelines.functional.rst", "agentscope.pipelines.pipeline.rst", "agentscope.prompt.rst", "agentscope.rpc.rst", "agentscope.rpc.rpc_agent_client.rst", "agentscope.rpc.rpc_agent_pb2.rst", "agentscope.rpc.rpc_agent_pb2_grpc.rst", "agentscope.server.rst", "agentscope.server.launcher.rst", "agentscope.server.servicer.rst", "agentscope.service.rst", "agentscope.service.execute_code.rst", "agentscope.service.execute_code.exec_python.rst", "agentscope.service.execute_code.exec_shell.rst", "agentscope.service.file.rst", "agentscope.service.file.common.rst", "agentscope.service.file.json.rst", "agentscope.service.file.text.rst", "agentscope.service.retrieval.rst", "agentscope.service.retrieval.retrieval_from_list.rst", "agentscope.service.retrieval.similarity.rst", "agentscope.service.service_response.rst", "agentscope.service.service_status.rst", "agentscope.service.service_toolkit.rst", "agentscope.service.sql_query.rst", "agentscope.service.sql_query.mongodb.rst", "agentscope.service.sql_query.mysql.rst", "agentscope.service.sql_query.sqlite.rst", "agentscope.service.text_processing.rst", "agentscope.service.text_processing.summarization.rst", "agentscope.service.web.rst", "agentscope.service.web.arxiv.rst", "agentscope.service.web.dblp.rst", "agentscope.service.web.download.rst", "agentscope.service.web.search.rst", "agentscope.service.web.web_digest.rst", "agentscope.utils.rst", "agentscope.utils.common.rst", "agentscope.utils.logging_utils.rst", "agentscope.utils.monitor.rst", "agentscope.utils.token_utils.rst", "agentscope.utils.tools.rst", "agentscope.web.rst", "agentscope.web.studio.rst", "agentscope.web.studio.constants.rst", "agentscope.web.studio.studio.rst", "agentscope.web.studio.utils.rst", "agentscope.web.workstation.rst", "agentscope.web.workstation.workflow.rst", "agentscope.web.workstation.workflow_dag.rst", "agentscope.web.workstation.workflow_node.rst", "agentscope.web.workstation.workflow_utils.rst", "index.rst", "modules.rst", "tutorial/101-agentscope.md", "tutorial/102-installation.md", "tutorial/103-example.md", "tutorial/104-usecase.md", "tutorial/105-logging.md", "tutorial/201-agent.md", "tutorial/202-pipeline.md", "tutorial/203-model.md", "tutorial/203-parser.md", "tutorial/204-service.md", "tutorial/205-memory.md", "tutorial/206-prompt.md", "tutorial/207-monitor.md", "tutorial/208-distribute.md", "tutorial/301-community.md", "tutorial/302-contribute.md", "tutorial/advance.rst", "tutorial/contribute.rst", "tutorial/main.md", "tutorial/quick_start.rst"], "indexentries": {"__init__() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.__init__", false]], "__init__() (agentscope.agents.agent.distconf method)": [[2, "agentscope.agents.agent.DistConf.__init__", false]], "__init__() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.__init__", false]], "__init__() (agentscope.agents.dialog_agent.dialogagent method)": [[3, "agentscope.agents.dialog_agent.DialogAgent.__init__", false]], "__init__() (agentscope.agents.dialogagent method)": [[1, "agentscope.agents.DialogAgent.__init__", false]], "__init__() (agentscope.agents.dict_dialog_agent.dictdialogagent method)": [[4, "agentscope.agents.dict_dialog_agent.DictDialogAgent.__init__", false]], "__init__() (agentscope.agents.dictdialogagent method)": [[1, "agentscope.agents.DictDialogAgent.__init__", false]], "__init__() (agentscope.agents.distconf method)": [[1, "agentscope.agents.DistConf.__init__", false]], "__init__() (agentscope.agents.react_agent.reactagent method)": [[6, "agentscope.agents.react_agent.ReActAgent.__init__", false]], "__init__() (agentscope.agents.reactagent method)": [[1, "agentscope.agents.ReActAgent.__init__", false]], "__init__() (agentscope.agents.rpc_agent.rpcagent method)": [[7, "agentscope.agents.rpc_agent.RpcAgent.__init__", false]], "__init__() (agentscope.agents.rpcagent method)": [[1, "agentscope.agents.RpcAgent.__init__", false]], "__init__() (agentscope.agents.text_to_image_agent.texttoimageagent method)": [[8, "agentscope.agents.text_to_image_agent.TextToImageAgent.__init__", false]], "__init__() (agentscope.agents.texttoimageagent method)": [[1, "agentscope.agents.TextToImageAgent.__init__", false]], "__init__() (agentscope.agents.user_agent.useragent method)": [[9, "agentscope.agents.user_agent.UserAgent.__init__", false]], "__init__() (agentscope.agents.useragent method)": [[1, "agentscope.agents.UserAgent.__init__", false]], "__init__() (agentscope.exception.functioncallerror method)": [[11, "agentscope.exception.FunctionCallError.__init__", false]], "__init__() (agentscope.exception.responseparsingerror method)": [[11, "agentscope.exception.ResponseParsingError.__init__", false]], "__init__() (agentscope.exception.tagnotfounderror method)": [[11, "agentscope.exception.TagNotFoundError.__init__", false]], "__init__() (agentscope.memory.memory.memorybase method)": [[14, "agentscope.memory.memory.MemoryBase.__init__", false]], "__init__() (agentscope.memory.memorybase method)": [[13, "agentscope.memory.MemoryBase.__init__", false]], "__init__() (agentscope.memory.temporary_memory.temporarymemory method)": [[15, "agentscope.memory.temporary_memory.TemporaryMemory.__init__", false]], "__init__() (agentscope.memory.temporarymemory method)": [[13, "agentscope.memory.TemporaryMemory.__init__", false]], "__init__() (agentscope.message.messagebase method)": [[16, "agentscope.message.MessageBase.__init__", false]], "__init__() (agentscope.message.msg method)": [[16, "agentscope.message.Msg.__init__", false]], "__init__() (agentscope.message.placeholdermessage method)": [[16, "agentscope.message.PlaceholderMessage.__init__", false]], "__init__() (agentscope.message.tht method)": [[16, "agentscope.message.Tht.__init__", false]], "__init__() (agentscope.models.dashscope_model.dashscopewrapperbase method)": [[19, "agentscope.models.dashscope_model.DashScopeWrapperBase.__init__", false]], "__init__() (agentscope.models.gemini_model.geminichatwrapper method)": [[20, "agentscope.models.gemini_model.GeminiChatWrapper.__init__", false]], "__init__() (agentscope.models.gemini_model.geminiwrapperbase method)": [[20, "agentscope.models.gemini_model.GeminiWrapperBase.__init__", false]], "__init__() (agentscope.models.geminichatwrapper method)": [[17, "agentscope.models.GeminiChatWrapper.__init__", false]], "__init__() (agentscope.models.litellm_model.litellmwrapperbase method)": [[21, "agentscope.models.litellm_model.LiteLLMWrapperBase.__init__", false]], "__init__() (agentscope.models.model.modelwrapperbase method)": [[22, "agentscope.models.model.ModelWrapperBase.__init__", false]], "__init__() (agentscope.models.modelresponse method)": [[17, "agentscope.models.ModelResponse.__init__", false]], "__init__() (agentscope.models.modelwrapperbase method)": [[17, "agentscope.models.ModelWrapperBase.__init__", false]], "__init__() (agentscope.models.ollama_model.ollamawrapperbase method)": [[23, "agentscope.models.ollama_model.OllamaWrapperBase.__init__", false]], "__init__() (agentscope.models.openai_model.openaiwrapperbase method)": [[24, "agentscope.models.openai_model.OpenAIWrapperBase.__init__", false]], "__init__() (agentscope.models.openaiwrapperbase method)": [[17, "agentscope.models.OpenAIWrapperBase.__init__", false]], "__init__() (agentscope.models.post_model.postapimodelwrapperbase method)": [[25, "agentscope.models.post_model.PostAPIModelWrapperBase.__init__", false]], "__init__() (agentscope.models.postapimodelwrapperbase method)": [[17, "agentscope.models.PostAPIModelWrapperBase.__init__", false]], "__init__() (agentscope.models.response.modelresponse method)": [[26, "agentscope.models.response.ModelResponse.__init__", false]], "__init__() (agentscope.models.zhipu_model.zhipuaiwrapperbase method)": [[27, "agentscope.models.zhipu_model.ZhipuAIWrapperBase.__init__", false]], "__init__() (agentscope.msghub.msghubmanager method)": [[28, "agentscope.msghub.MsgHubManager.__init__", false]], "__init__() (agentscope.parsers.code_block_parser.markdowncodeblockparser method)": [[30, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.__init__", false]], "__init__() (agentscope.parsers.json_object_parser.markdownjsondictparser method)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.__init__", false]], "__init__() (agentscope.parsers.json_object_parser.markdownjsonobjectparser method)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.__init__", false]], "__init__() (agentscope.parsers.markdowncodeblockparser method)": [[29, "agentscope.parsers.MarkdownCodeBlockParser.__init__", false]], "__init__() (agentscope.parsers.markdownjsondictparser method)": [[29, "agentscope.parsers.MarkdownJsonDictParser.__init__", false]], "__init__() (agentscope.parsers.markdownjsonobjectparser method)": [[29, "agentscope.parsers.MarkdownJsonObjectParser.__init__", false]], "__init__() (agentscope.parsers.multitaggedcontentparser method)": [[29, "agentscope.parsers.MultiTaggedContentParser.__init__", false]], "__init__() (agentscope.parsers.parser_base.dictfiltermixin method)": [[32, "agentscope.parsers.parser_base.DictFilterMixin.__init__", false]], "__init__() (agentscope.parsers.tagged_content_parser.multitaggedcontentparser method)": [[33, "agentscope.parsers.tagged_content_parser.MultiTaggedContentParser.__init__", false]], "__init__() (agentscope.parsers.tagged_content_parser.taggedcontent method)": [[33, "agentscope.parsers.tagged_content_parser.TaggedContent.__init__", false]], "__init__() (agentscope.parsers.taggedcontent method)": [[29, "agentscope.parsers.TaggedContent.__init__", false]], "__init__() (agentscope.pipelines.forlooppipeline method)": [[34, "agentscope.pipelines.ForLoopPipeline.__init__", false]], "__init__() (agentscope.pipelines.ifelsepipeline method)": [[34, "agentscope.pipelines.IfElsePipeline.__init__", false]], "__init__() (agentscope.pipelines.pipeline.forlooppipeline method)": [[36, "agentscope.pipelines.pipeline.ForLoopPipeline.__init__", false]], "__init__() (agentscope.pipelines.pipeline.ifelsepipeline method)": [[36, "agentscope.pipelines.pipeline.IfElsePipeline.__init__", false]], "__init__() (agentscope.pipelines.pipeline.pipelinebase method)": [[36, "agentscope.pipelines.pipeline.PipelineBase.__init__", false]], "__init__() (agentscope.pipelines.pipeline.sequentialpipeline method)": [[36, "agentscope.pipelines.pipeline.SequentialPipeline.__init__", false]], "__init__() (agentscope.pipelines.pipeline.switchpipeline method)": [[36, "agentscope.pipelines.pipeline.SwitchPipeline.__init__", false]], "__init__() (agentscope.pipelines.pipeline.whilelooppipeline method)": [[36, "agentscope.pipelines.pipeline.WhileLoopPipeline.__init__", false]], "__init__() (agentscope.pipelines.pipelinebase method)": [[34, "agentscope.pipelines.PipelineBase.__init__", false]], "__init__() (agentscope.pipelines.sequentialpipeline method)": [[34, "agentscope.pipelines.SequentialPipeline.__init__", false]], "__init__() (agentscope.pipelines.switchpipeline method)": [[34, "agentscope.pipelines.SwitchPipeline.__init__", false]], "__init__() (agentscope.pipelines.whilelooppipeline method)": [[34, "agentscope.pipelines.WhileLoopPipeline.__init__", false]], "__init__() (agentscope.prompt.promptengine method)": [[37, "agentscope.prompt.PromptEngine.__init__", false]], "__init__() (agentscope.rpc.responsestub method)": [[38, "agentscope.rpc.ResponseStub.__init__", false]], "__init__() (agentscope.rpc.rpc_agent_client.responsestub method)": [[39, "agentscope.rpc.rpc_agent_client.ResponseStub.__init__", false]], "__init__() (agentscope.rpc.rpc_agent_client.rpcagentclient method)": [[39, "agentscope.rpc.rpc_agent_client.RpcAgentClient.__init__", false]], "__init__() (agentscope.rpc.rpc_agent_pb2_grpc.rpcagentstub method)": [[41, "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgentStub.__init__", false]], "__init__() (agentscope.rpc.rpcagentclient method)": [[38, "agentscope.rpc.RpcAgentClient.__init__", false]], "__init__() (agentscope.rpc.rpcagentstub method)": [[38, "agentscope.rpc.RpcAgentStub.__init__", false]], "__init__() (agentscope.server.agentserverservicer method)": [[42, "agentscope.server.AgentServerServicer.__init__", false]], "__init__() (agentscope.server.launcher.rpcagentserverlauncher method)": [[43, "agentscope.server.launcher.RpcAgentServerLauncher.__init__", false]], "__init__() (agentscope.server.rpcagentserverlauncher method)": [[42, "agentscope.server.RpcAgentServerLauncher.__init__", false]], "__init__() (agentscope.server.servicer.agentserverservicer method)": [[44, "agentscope.server.servicer.AgentServerServicer.__init__", false]], "__init__() (agentscope.service.service_response.serviceresponse method)": [[56, "agentscope.service.service_response.ServiceResponse.__init__", false]], "__init__() (agentscope.service.service_toolkit.servicefunction method)": [[58, "agentscope.service.service_toolkit.ServiceFunction.__init__", false]], "__init__() (agentscope.service.service_toolkit.servicetoolkit method)": [[58, "agentscope.service.service_toolkit.ServiceToolkit.__init__", false]], "__init__() (agentscope.service.serviceresponse method)": [[45, "agentscope.service.ServiceResponse.__init__", false]], "__init__() (agentscope.service.servicetoolkit method)": [[45, "agentscope.service.ServiceToolkit.__init__", false]], "__init__() (agentscope.utils.monitor.quotaexceedederror method)": [[74, "agentscope.utils.monitor.QuotaExceededError.__init__", false]], "__init__() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.__init__", false]], "__init__() (agentscope.utils.quotaexceedederror method)": [[71, "agentscope.utils.QuotaExceededError.__init__", false]], "__init__() (agentscope.utils.tools.importerrorreporter method)": [[76, "agentscope.utils.tools.ImportErrorReporter.__init__", false]], "__init__() (agentscope.web.workstation.workflow_dag.asdigraph method)": [[84, "agentscope.web.workstation.workflow_dag.ASDiGraph.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.bingsearchservicenode method)": [[85, "agentscope.web.workstation.workflow_node.BingSearchServiceNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.copynode method)": [[85, "agentscope.web.workstation.workflow_node.CopyNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.dialogagentnode method)": [[85, "agentscope.web.workstation.workflow_node.DialogAgentNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.dictdialogagentnode method)": [[85, "agentscope.web.workstation.workflow_node.DictDialogAgentNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.forlooppipelinenode method)": [[85, "agentscope.web.workstation.workflow_node.ForLoopPipelineNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.googlesearchservicenode method)": [[85, "agentscope.web.workstation.workflow_node.GoogleSearchServiceNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.ifelsepipelinenode method)": [[85, "agentscope.web.workstation.workflow_node.IfElsePipelineNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.modelnode method)": [[85, "agentscope.web.workstation.workflow_node.ModelNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.msghubnode method)": [[85, "agentscope.web.workstation.workflow_node.MsgHubNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.msgnode method)": [[85, "agentscope.web.workstation.workflow_node.MsgNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.placeholdernode method)": [[85, "agentscope.web.workstation.workflow_node.PlaceHolderNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.pythonservicenode method)": [[85, "agentscope.web.workstation.workflow_node.PythonServiceNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.reactagentnode method)": [[85, "agentscope.web.workstation.workflow_node.ReActAgentNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.readtextservicenode method)": [[85, "agentscope.web.workstation.workflow_node.ReadTextServiceNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.sequentialpipelinenode method)": [[85, "agentscope.web.workstation.workflow_node.SequentialPipelineNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.switchpipelinenode method)": [[85, "agentscope.web.workstation.workflow_node.SwitchPipelineNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.texttoimageagentnode method)": [[85, "agentscope.web.workstation.workflow_node.TextToImageAgentNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.useragentnode method)": [[85, "agentscope.web.workstation.workflow_node.UserAgentNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.whilelooppipelinenode method)": [[85, "agentscope.web.workstation.workflow_node.WhileLoopPipelineNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.workflownode method)": [[85, "agentscope.web.workstation.workflow_node.WorkflowNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.writetextservicenode method)": [[85, "agentscope.web.workstation.workflow_node.WriteTextServiceNode.__init__", false]], "add() (agentscope.memory.memory.memorybase method)": [[14, "agentscope.memory.memory.MemoryBase.add", false]], "add() (agentscope.memory.memorybase method)": [[13, "agentscope.memory.MemoryBase.add", false]], "add() (agentscope.memory.temporary_memory.temporarymemory method)": [[15, "agentscope.memory.temporary_memory.TemporaryMemory.add", false]], "add() (agentscope.memory.temporarymemory method)": [[13, "agentscope.memory.TemporaryMemory.add", false]], "add() (agentscope.msghub.msghubmanager method)": [[28, "agentscope.msghub.MsgHubManager.add", false]], "add() (agentscope.service.service_toolkit.servicetoolkit method)": [[58, "agentscope.service.service_toolkit.ServiceToolkit.add", false]], "add() (agentscope.service.servicetoolkit method)": [[45, "agentscope.service.ServiceToolkit.add", false]], "add() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.add", false]], "add() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.add", false]], "add() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.add", false]], "add() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.add", false]], "add_as_node() (agentscope.web.workstation.workflow_dag.asdigraph method)": [[84, "agentscope.web.workstation.workflow_dag.ASDiGraph.add_as_node", false]], "add_rpcagentservicer_to_server() (in module agentscope.rpc)": [[38, "agentscope.rpc.add_RpcAgentServicer_to_server", false]], "add_rpcagentservicer_to_server() (in module agentscope.rpc.rpc_agent_pb2_grpc)": [[41, "agentscope.rpc.rpc_agent_pb2_grpc.add_RpcAgentServicer_to_server", false]], "agent (agentscope.web.workstation.workflow_node.workflownodetype attribute)": [[85, "agentscope.web.workstation.workflow_node.WorkflowNodeType.AGENT", false]], "agent_exists() (agentscope.server.agentserverservicer method)": [[42, "agentscope.server.AgentServerServicer.agent_exists", false]], "agent_exists() (agentscope.server.servicer.agentserverservicer method)": [[44, "agentscope.server.servicer.AgentServerServicer.agent_exists", false]], "agent_id (agentscope.agents.agent.agentbase property)": [[2, "agentscope.agents.agent.AgentBase.agent_id", false]], "agent_id (agentscope.agents.agentbase property)": [[1, "agentscope.agents.AgentBase.agent_id", false]], "agentbase (class in agentscope.agents)": [[1, "agentscope.agents.AgentBase", false]], "agentbase (class in agentscope.agents.agent)": [[2, "agentscope.agents.agent.AgentBase", false]], "agentscope": [[0, "module-agentscope", false]], "agentscope.agents": [[1, "module-agentscope.agents", false]], "agentscope.agents.agent": [[2, "module-agentscope.agents.agent", false]], "agentscope.agents.dialog_agent": [[3, "module-agentscope.agents.dialog_agent", false]], "agentscope.agents.dict_dialog_agent": [[4, "module-agentscope.agents.dict_dialog_agent", false]], "agentscope.agents.operator": [[5, "module-agentscope.agents.operator", false]], "agentscope.agents.react_agent": [[6, "module-agentscope.agents.react_agent", false]], "agentscope.agents.rpc_agent": [[7, "module-agentscope.agents.rpc_agent", false]], "agentscope.agents.text_to_image_agent": [[8, "module-agentscope.agents.text_to_image_agent", false]], "agentscope.agents.user_agent": [[9, "module-agentscope.agents.user_agent", false]], "agentscope.constants": [[10, "module-agentscope.constants", false]], "agentscope.exception": [[11, "module-agentscope.exception", false]], "agentscope.file_manager": [[12, "module-agentscope.file_manager", false]], "agentscope.memory": [[13, "module-agentscope.memory", false]], "agentscope.memory.memory": [[14, "module-agentscope.memory.memory", false]], "agentscope.memory.temporary_memory": [[15, "module-agentscope.memory.temporary_memory", false]], "agentscope.message": [[16, "module-agentscope.message", false]], "agentscope.models": [[17, "module-agentscope.models", false]], "agentscope.models.config": [[18, "module-agentscope.models.config", false]], "agentscope.models.dashscope_model": [[19, "module-agentscope.models.dashscope_model", false]], "agentscope.models.gemini_model": [[20, "module-agentscope.models.gemini_model", false]], "agentscope.models.litellm_model": [[21, "module-agentscope.models.litellm_model", false]], "agentscope.models.model": [[22, "module-agentscope.models.model", false]], "agentscope.models.ollama_model": [[23, "module-agentscope.models.ollama_model", false]], "agentscope.models.openai_model": [[24, "module-agentscope.models.openai_model", false]], "agentscope.models.post_model": [[25, "module-agentscope.models.post_model", false]], "agentscope.models.response": [[26, "module-agentscope.models.response", false]], "agentscope.models.zhipu_model": [[27, "module-agentscope.models.zhipu_model", false]], "agentscope.msghub": [[28, "module-agentscope.msghub", false]], "agentscope.parsers": [[29, "module-agentscope.parsers", false]], "agentscope.parsers.code_block_parser": [[30, "module-agentscope.parsers.code_block_parser", false]], "agentscope.parsers.json_object_parser": [[31, "module-agentscope.parsers.json_object_parser", false]], "agentscope.parsers.parser_base": [[32, "module-agentscope.parsers.parser_base", false]], "agentscope.parsers.tagged_content_parser": [[33, "module-agentscope.parsers.tagged_content_parser", false]], "agentscope.pipelines": [[34, "module-agentscope.pipelines", false]], "agentscope.pipelines.functional": [[35, "module-agentscope.pipelines.functional", false]], "agentscope.pipelines.pipeline": [[36, "module-agentscope.pipelines.pipeline", false]], "agentscope.prompt": [[37, "module-agentscope.prompt", false]], "agentscope.rpc": [[38, "module-agentscope.rpc", false]], "agentscope.rpc.rpc_agent_client": [[39, "module-agentscope.rpc.rpc_agent_client", false]], "agentscope.rpc.rpc_agent_pb2": [[40, "module-agentscope.rpc.rpc_agent_pb2", false]], "agentscope.rpc.rpc_agent_pb2_grpc": [[41, "module-agentscope.rpc.rpc_agent_pb2_grpc", false]], "agentscope.server": [[42, "module-agentscope.server", false]], "agentscope.server.launcher": [[43, "module-agentscope.server.launcher", false]], "agentscope.server.servicer": [[44, "module-agentscope.server.servicer", false]], "agentscope.service": [[45, "module-agentscope.service", false]], "agentscope.service.execute_code": [[46, "module-agentscope.service.execute_code", false]], "agentscope.service.execute_code.exec_python": [[47, "module-agentscope.service.execute_code.exec_python", false]], "agentscope.service.execute_code.exec_shell": [[48, "module-agentscope.service.execute_code.exec_shell", false]], "agentscope.service.file": [[49, "module-agentscope.service.file", false]], "agentscope.service.file.common": [[50, "module-agentscope.service.file.common", false]], "agentscope.service.file.json": [[51, "module-agentscope.service.file.json", false]], "agentscope.service.file.text": [[52, "module-agentscope.service.file.text", false]], "agentscope.service.retrieval": [[53, "module-agentscope.service.retrieval", false]], "agentscope.service.retrieval.retrieval_from_list": [[54, "module-agentscope.service.retrieval.retrieval_from_list", false]], "agentscope.service.retrieval.similarity": [[55, "module-agentscope.service.retrieval.similarity", false]], "agentscope.service.service_response": [[56, "module-agentscope.service.service_response", false]], "agentscope.service.service_status": [[57, "module-agentscope.service.service_status", false]], "agentscope.service.service_toolkit": [[58, "module-agentscope.service.service_toolkit", false]], "agentscope.service.sql_query": [[59, "module-agentscope.service.sql_query", false]], "agentscope.service.sql_query.mongodb": [[60, "module-agentscope.service.sql_query.mongodb", false]], "agentscope.service.sql_query.mysql": [[61, "module-agentscope.service.sql_query.mysql", false]], "agentscope.service.sql_query.sqlite": [[62, "module-agentscope.service.sql_query.sqlite", false]], "agentscope.service.text_processing": [[63, "module-agentscope.service.text_processing", false]], "agentscope.service.text_processing.summarization": [[64, "module-agentscope.service.text_processing.summarization", false]], "agentscope.service.web": [[65, "module-agentscope.service.web", false]], "agentscope.service.web.arxiv": [[66, "module-agentscope.service.web.arxiv", false]], "agentscope.service.web.dblp": [[67, "module-agentscope.service.web.dblp", false]], "agentscope.service.web.download": [[68, "module-agentscope.service.web.download", false]], "agentscope.service.web.search": [[69, "module-agentscope.service.web.search", false]], "agentscope.service.web.web_digest": [[70, "module-agentscope.service.web.web_digest", false]], "agentscope.utils": [[71, "module-agentscope.utils", false]], "agentscope.utils.common": [[72, "module-agentscope.utils.common", false]], "agentscope.utils.logging_utils": [[73, "module-agentscope.utils.logging_utils", false]], "agentscope.utils.monitor": [[74, "module-agentscope.utils.monitor", false]], "agentscope.utils.token_utils": [[75, "module-agentscope.utils.token_utils", false]], "agentscope.utils.tools": [[76, "module-agentscope.utils.tools", false]], "agentscope.web": [[77, "module-agentscope.web", false]], "agentscope.web.studio": [[78, "module-agentscope.web.studio", false]], "agentscope.web.studio.constants": [[79, "module-agentscope.web.studio.constants", false]], "agentscope.web.studio.studio": [[80, "module-agentscope.web.studio.studio", false]], "agentscope.web.studio.utils": [[81, "module-agentscope.web.studio.utils", false]], "agentscope.web.workstation": [[82, "module-agentscope.web.workstation", false]], "agentscope.web.workstation.workflow": [[83, "module-agentscope.web.workstation.workflow", false]], "agentscope.web.workstation.workflow_dag": [[84, "module-agentscope.web.workstation.workflow_dag", false]], "agentscope.web.workstation.workflow_node": [[85, "module-agentscope.web.workstation.workflow_node", false]], "agentscope.web.workstation.workflow_utils": [[86, "module-agentscope.web.workstation.workflow_utils", false]], "agentserverservicer (class in agentscope.server)": [[42, "agentscope.server.AgentServerServicer", false]], "agentserverservicer (class in agentscope.server.servicer)": [[44, "agentscope.server.servicer.AgentServerServicer", false]], "argumentnotfounderror": [[11, "agentscope.exception.ArgumentNotFoundError", false]], "argumenttypeerror": [[11, "agentscope.exception.ArgumentTypeError", false]], "arxiv_search() (in module agentscope.service)": [[45, "agentscope.service.arxiv_search", false]], "arxiv_search() (in module agentscope.service.web.arxiv)": [[66, "agentscope.service.web.arxiv.arxiv_search", false]], "as_server() (in module agentscope.server)": [[42, "agentscope.server.as_server", false]], "as_server() (in module agentscope.server.launcher)": [[43, "agentscope.server.launcher.as_server", false]], "asdigraph (class in agentscope.web.workstation.workflow_dag)": [[84, "agentscope.web.workstation.workflow_dag.ASDiGraph", false]], "audio2text() (in module agentscope.web.studio.utils)": [[81, "agentscope.web.studio.utils.audio2text", false]], "bing_search() (in module agentscope.service)": [[45, "agentscope.service.bing_search", false]], "bing_search() (in module agentscope.service.web.search)": [[69, "agentscope.service.web.search.bing_search", false]], "bingsearchservicenode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.BingSearchServiceNode", false]], "broadcast() (agentscope.msghub.msghubmanager method)": [[28, "agentscope.msghub.MsgHubManager.broadcast", false]], "build_dag() (in module agentscope.web.workstation.workflow_dag)": [[84, "agentscope.web.workstation.workflow_dag.build_dag", false]], "call_func() (agentscope.rpc.rpc_agent_client.rpcagentclient method)": [[39, "agentscope.rpc.rpc_agent_client.RpcAgentClient.call_func", false]], "call_func() (agentscope.rpc.rpc_agent_pb2_grpc.rpcagent static method)": [[41, "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgent.call_func", false]], "call_func() (agentscope.rpc.rpc_agent_pb2_grpc.rpcagentservicer method)": [[41, "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgentServicer.call_func", false]], "call_func() (agentscope.rpc.rpcagentclient method)": [[38, "agentscope.rpc.RpcAgentClient.call_func", false]], "call_func() (agentscope.rpc.rpcagentservicer method)": [[38, "agentscope.rpc.RpcAgentServicer.call_func", false]], "call_func() (agentscope.server.agentserverservicer method)": [[42, "agentscope.server.AgentServerServicer.call_func", false]], "call_func() (agentscope.server.servicer.agentserverservicer method)": [[44, "agentscope.server.servicer.AgentServerServicer.call_func", false]], "call_in_thread() (in module agentscope.rpc)": [[38, "agentscope.rpc.call_in_thread", false]], "call_in_thread() (in module agentscope.rpc.rpc_agent_client)": [[39, "agentscope.rpc.rpc_agent_client.call_in_thread", false]], "chdir() (in module agentscope.utils.common)": [[72, "agentscope.utils.common.chdir", false]], "check_and_delete_agent() (agentscope.server.agentserverservicer method)": [[42, "agentscope.server.AgentServerServicer.check_and_delete_agent", false]], "check_and_delete_agent() (agentscope.server.servicer.agentserverservicer method)": [[44, "agentscope.server.servicer.AgentServerServicer.check_and_delete_agent", false]], "check_and_generate_agent() (agentscope.server.agentserverservicer method)": [[42, "agentscope.server.AgentServerServicer.check_and_generate_agent", false]], "check_and_generate_agent() (agentscope.server.servicer.agentserverservicer method)": [[44, "agentscope.server.servicer.AgentServerServicer.check_and_generate_agent", false]], "check_port() (in module agentscope.utils.tools)": [[76, "agentscope.utils.tools.check_port", false]], "check_uuid() (in module agentscope.web.studio.utils)": [[81, "agentscope.web.studio.utils.check_uuid", false]], "clear() (agentscope.memory.memory.memorybase method)": [[14, "agentscope.memory.memory.MemoryBase.clear", false]], "clear() (agentscope.memory.memorybase method)": [[13, "agentscope.memory.MemoryBase.clear", false]], "clear() (agentscope.memory.temporary_memory.temporarymemory method)": [[15, "agentscope.memory.temporary_memory.TemporaryMemory.clear", false]], "clear() (agentscope.memory.temporarymemory method)": [[13, "agentscope.memory.TemporaryMemory.clear", false]], "clear() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.clear", false]], "clear() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.clear", false]], "clear() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.clear", false]], "clear() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.clear", false]], "clear_audience() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.clear_audience", false]], "clear_audience() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.clear_audience", false]], "clear_model_configs() (in module agentscope.models)": [[17, "agentscope.models.clear_model_configs", false]], "clone_instances() (agentscope.agents.rpc_agent.rpcagent method)": [[7, "agentscope.agents.rpc_agent.RpcAgent.clone_instances", false]], "clone_instances() (agentscope.agents.rpcagent method)": [[1, "agentscope.agents.RpcAgent.clone_instances", false]], "compile() (agentscope.web.workstation.workflow_dag.asdigraph method)": [[84, "agentscope.web.workstation.workflow_dag.ASDiGraph.compile", false]], "compile() (agentscope.web.workstation.workflow_node.bingsearchservicenode method)": [[85, "agentscope.web.workstation.workflow_node.BingSearchServiceNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.copynode method)": [[85, "agentscope.web.workstation.workflow_node.CopyNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.dialogagentnode method)": [[85, "agentscope.web.workstation.workflow_node.DialogAgentNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.dictdialogagentnode method)": [[85, "agentscope.web.workstation.workflow_node.DictDialogAgentNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.forlooppipelinenode method)": [[85, "agentscope.web.workstation.workflow_node.ForLoopPipelineNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.googlesearchservicenode method)": [[85, "agentscope.web.workstation.workflow_node.GoogleSearchServiceNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.ifelsepipelinenode method)": [[85, "agentscope.web.workstation.workflow_node.IfElsePipelineNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.modelnode method)": [[85, "agentscope.web.workstation.workflow_node.ModelNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.msghubnode method)": [[85, "agentscope.web.workstation.workflow_node.MsgHubNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.msgnode method)": [[85, "agentscope.web.workstation.workflow_node.MsgNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.placeholdernode method)": [[85, "agentscope.web.workstation.workflow_node.PlaceHolderNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.pythonservicenode method)": [[85, "agentscope.web.workstation.workflow_node.PythonServiceNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.reactagentnode method)": [[85, "agentscope.web.workstation.workflow_node.ReActAgentNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.readtextservicenode method)": [[85, "agentscope.web.workstation.workflow_node.ReadTextServiceNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.sequentialpipelinenode method)": [[85, "agentscope.web.workstation.workflow_node.SequentialPipelineNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.switchpipelinenode method)": [[85, "agentscope.web.workstation.workflow_node.SwitchPipelineNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.texttoimageagentnode method)": [[85, "agentscope.web.workstation.workflow_node.TextToImageAgentNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.useragentnode method)": [[85, "agentscope.web.workstation.workflow_node.UserAgentNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.whilelooppipelinenode method)": [[85, "agentscope.web.workstation.workflow_node.WhileLoopPipelineNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.workflownode method)": [[85, "agentscope.web.workstation.workflow_node.WorkflowNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.writetextservicenode method)": [[85, "agentscope.web.workstation.workflow_node.WriteTextServiceNode.compile", false]], "compile_workflow() (in module agentscope.web.workstation.workflow)": [[83, "agentscope.web.workstation.workflow.compile_workflow", false]], "config_name (agentscope.models.dashscope_model.dashscopechatwrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeChatWrapper.config_name", false]], "config_name (agentscope.models.dashscope_model.dashscopeimagesynthesiswrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeImageSynthesisWrapper.config_name", false]], "config_name (agentscope.models.dashscope_model.dashscopemultimodalwrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeMultiModalWrapper.config_name", false]], "config_name (agentscope.models.dashscope_model.dashscopetextembeddingwrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeTextEmbeddingWrapper.config_name", false]], "config_name (agentscope.models.gemini_model.geminichatwrapper attribute)": [[20, "agentscope.models.gemini_model.GeminiChatWrapper.config_name", false]], "config_name (agentscope.models.gemini_model.geminiembeddingwrapper attribute)": [[20, "agentscope.models.gemini_model.GeminiEmbeddingWrapper.config_name", false]], "config_name (agentscope.models.litellm_model.litellmchatwrapper attribute)": [[21, "agentscope.models.litellm_model.LiteLLMChatWrapper.config_name", false]], "config_name (agentscope.models.model.modelwrapperbase attribute)": [[22, "agentscope.models.model.ModelWrapperBase.config_name", false]], "config_name (agentscope.models.modelwrapperbase attribute)": [[17, "agentscope.models.ModelWrapperBase.config_name", false]], "config_name (agentscope.models.ollama_model.ollamachatwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaChatWrapper.config_name", false]], "config_name (agentscope.models.ollama_model.ollamaembeddingwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaEmbeddingWrapper.config_name", false]], "config_name (agentscope.models.ollama_model.ollamagenerationwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaGenerationWrapper.config_name", false]], "config_name (agentscope.models.openai_model.openaichatwrapper attribute)": [[24, "agentscope.models.openai_model.OpenAIChatWrapper.config_name", false]], "config_name (agentscope.models.openai_model.openaidallewrapper attribute)": [[24, "agentscope.models.openai_model.OpenAIDALLEWrapper.config_name", false]], "config_name (agentscope.models.openai_model.openaiembeddingwrapper attribute)": [[24, "agentscope.models.openai_model.OpenAIEmbeddingWrapper.config_name", false]], "config_name (agentscope.models.post_model.postapichatwrapper attribute)": [[25, "agentscope.models.post_model.PostAPIChatWrapper.config_name", false]], "config_name (agentscope.models.post_model.postapimodelwrapperbase attribute)": [[25, "agentscope.models.post_model.PostAPIModelWrapperBase.config_name", false]], "config_name (agentscope.models.zhipu_model.zhipuaichatwrapper attribute)": [[27, "agentscope.models.zhipu_model.ZhipuAIChatWrapper.config_name", false]], "config_name (agentscope.models.zhipu_model.zhipuaiembeddingwrapper attribute)": [[27, "agentscope.models.zhipu_model.ZhipuAIEmbeddingWrapper.config_name", false]], "content (agentscope.message.msg attribute)": [[16, "agentscope.message.Msg.content", false]], "content_hint (agentscope.parsers.code_block_parser.markdowncodeblockparser attribute)": [[30, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.content_hint", false]], "content_hint (agentscope.parsers.json_object_parser.markdownjsondictparser attribute)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.content_hint", false]], "content_hint (agentscope.parsers.json_object_parser.markdownjsonobjectparser attribute)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.content_hint", false]], "content_hint (agentscope.parsers.markdowncodeblockparser attribute)": [[29, "agentscope.parsers.MarkdownCodeBlockParser.content_hint", false]], "content_hint (agentscope.parsers.markdownjsondictparser attribute)": [[29, "agentscope.parsers.MarkdownJsonDictParser.content_hint", false]], "content_hint (agentscope.parsers.markdownjsonobjectparser attribute)": [[29, "agentscope.parsers.MarkdownJsonObjectParser.content_hint", false]], "content_hint (agentscope.parsers.tagged_content_parser.taggedcontent attribute)": [[33, "agentscope.parsers.tagged_content_parser.TaggedContent.content_hint", false]], "content_hint (agentscope.parsers.taggedcontent attribute)": [[29, "agentscope.parsers.TaggedContent.content_hint", false]], "convert_url() (agentscope.models.dashscope_model.dashscopemultimodalwrapper method)": [[19, "agentscope.models.dashscope_model.DashScopeMultiModalWrapper.convert_url", false]], "convert_url() (agentscope.models.dashscopemultimodalwrapper method)": [[17, "agentscope.models.DashScopeMultiModalWrapper.convert_url", false]], "copy (agentscope.web.workstation.workflow_node.workflownodetype attribute)": [[85, "agentscope.web.workstation.workflow_node.WorkflowNodeType.COPY", false]], "copynode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.CopyNode", false]], "cos_sim() (in module agentscope.service)": [[45, "agentscope.service.cos_sim", false]], "cos_sim() (in module agentscope.service.retrieval.similarity)": [[55, "agentscope.service.retrieval.similarity.cos_sim", false]], "count_openai_token() (in module agentscope.utils.token_utils)": [[75, "agentscope.utils.token_utils.count_openai_token", false]], "create_agent() (agentscope.rpc.rpc_agent_client.rpcagentclient method)": [[39, "agentscope.rpc.rpc_agent_client.RpcAgentClient.create_agent", false]], "create_agent() (agentscope.rpc.rpcagentclient method)": [[38, "agentscope.rpc.RpcAgentClient.create_agent", false]], "create_directory() (in module agentscope.service)": [[45, "agentscope.service.create_directory", false]], "create_directory() (in module agentscope.service.file.common)": [[50, "agentscope.service.file.common.create_directory", false]], "create_file() (in module agentscope.service)": [[45, "agentscope.service.create_file", false]], "create_file() (in module agentscope.service.file.common)": [[50, "agentscope.service.file.common.create_file", false]], "create_tempdir() (in module agentscope.utils.common)": [[72, "agentscope.utils.common.create_tempdir", false]], "cycle_dots() (in module agentscope.web.studio.utils)": [[81, "agentscope.web.studio.utils.cycle_dots", false]], "dashscope_image_to_text() (in module agentscope.service)": [[45, "agentscope.service.dashscope_image_to_text", false]], "dashscope_text_to_audio() (in module agentscope.service)": [[45, "agentscope.service.dashscope_text_to_audio", false]], "dashscope_text_to_image() (in module agentscope.service)": [[45, "agentscope.service.dashscope_text_to_image", false]], "dashscopechatwrapper (class in agentscope.models)": [[17, "agentscope.models.DashScopeChatWrapper", false]], "dashscopechatwrapper (class in agentscope.models.dashscope_model)": [[19, "agentscope.models.dashscope_model.DashScopeChatWrapper", false]], "dashscopeimagesynthesiswrapper (class in agentscope.models)": [[17, "agentscope.models.DashScopeImageSynthesisWrapper", false]], "dashscopeimagesynthesiswrapper (class in agentscope.models.dashscope_model)": [[19, "agentscope.models.dashscope_model.DashScopeImageSynthesisWrapper", false]], "dashscopemultimodalwrapper (class in agentscope.models)": [[17, "agentscope.models.DashScopeMultiModalWrapper", false]], "dashscopemultimodalwrapper (class in agentscope.models.dashscope_model)": [[19, "agentscope.models.dashscope_model.DashScopeMultiModalWrapper", false]], "dashscopetextembeddingwrapper (class in agentscope.models)": [[17, "agentscope.models.DashScopeTextEmbeddingWrapper", false]], "dashscopetextembeddingwrapper (class in agentscope.models.dashscope_model)": [[19, "agentscope.models.dashscope_model.DashScopeTextEmbeddingWrapper", false]], "dashscopewrapperbase (class in agentscope.models.dashscope_model)": [[19, "agentscope.models.dashscope_model.DashScopeWrapperBase", false]], "dblp_search_authors() (in module agentscope.service)": [[45, "agentscope.service.dblp_search_authors", false]], "dblp_search_authors() (in module agentscope.service.web.dblp)": [[67, "agentscope.service.web.dblp.dblp_search_authors", false]], "dblp_search_publications() (in module agentscope.service)": [[45, "agentscope.service.dblp_search_publications", false]], "dblp_search_publications() (in module agentscope.service.web.dblp)": [[67, "agentscope.service.web.dblp.dblp_search_publications", false]], "dblp_search_venues() (in module agentscope.service)": [[45, "agentscope.service.dblp_search_venues", false]], "dblp_search_venues() (in module agentscope.service.web.dblp)": [[67, "agentscope.service.web.dblp.dblp_search_venues", false]], "delete() (agentscope.memory.memory.memorybase method)": [[14, "agentscope.memory.memory.MemoryBase.delete", false]], "delete() (agentscope.memory.memorybase method)": [[13, "agentscope.memory.MemoryBase.delete", false]], "delete() (agentscope.memory.temporary_memory.temporarymemory method)": [[15, "agentscope.memory.temporary_memory.TemporaryMemory.delete", false]], "delete() (agentscope.memory.temporarymemory method)": [[13, "agentscope.memory.TemporaryMemory.delete", false]], "delete() (agentscope.msghub.msghubmanager method)": [[28, "agentscope.msghub.MsgHubManager.delete", false]], "delete_agent() (agentscope.rpc.rpc_agent_client.rpcagentclient method)": [[39, "agentscope.rpc.rpc_agent_client.RpcAgentClient.delete_agent", false]], "delete_agent() (agentscope.rpc.rpcagentclient method)": [[38, "agentscope.rpc.RpcAgentClient.delete_agent", false]], "delete_directory() (in module agentscope.service)": [[45, "agentscope.service.delete_directory", false]], "delete_directory() (in module agentscope.service.file.common)": [[50, "agentscope.service.file.common.delete_directory", false]], "delete_file() (in module agentscope.service)": [[45, "agentscope.service.delete_file", false]], "delete_file() (in module agentscope.service.file.common)": [[50, "agentscope.service.file.common.delete_file", false]], "deprecated_model_type (agentscope.models.dashscope_model.dashscopechatwrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeChatWrapper.deprecated_model_type", false]], "deprecated_model_type (agentscope.models.dashscopechatwrapper attribute)": [[17, "agentscope.models.DashScopeChatWrapper.deprecated_model_type", false]], "deprecated_model_type (agentscope.models.openai_model.openaichatwrapper attribute)": [[24, "agentscope.models.openai_model.OpenAIChatWrapper.deprecated_model_type", false]], "deprecated_model_type (agentscope.models.openaichatwrapper attribute)": [[17, "agentscope.models.OpenAIChatWrapper.deprecated_model_type", false]], "deprecated_model_type (agentscope.models.post_model.postapidallewrapper attribute)": [[25, "agentscope.models.post_model.PostAPIDALLEWrapper.deprecated_model_type", false]], "deps_converter() (in module agentscope.web.workstation.workflow_utils)": [[86, "agentscope.web.workstation.workflow_utils.deps_converter", false]], "descriptor (agentscope.rpc.rpcmsg attribute)": [[38, "agentscope.rpc.RpcMsg.DESCRIPTOR", false]], "deserialize() (in module agentscope.message)": [[16, "agentscope.message.deserialize", false]], "dialogagent (class in agentscope.agents)": [[1, "agentscope.agents.DialogAgent", false]], "dialogagent (class in agentscope.agents.dialog_agent)": [[3, "agentscope.agents.dialog_agent.DialogAgent", false]], "dialogagentnode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.DialogAgentNode", false]], "dict_converter() (in module agentscope.web.workstation.workflow_utils)": [[86, "agentscope.web.workstation.workflow_utils.dict_converter", false]], "dictdialogagent (class in agentscope.agents)": [[1, "agentscope.agents.DictDialogAgent", false]], "dictdialogagent (class in agentscope.agents.dict_dialog_agent)": [[4, "agentscope.agents.dict_dialog_agent.DictDialogAgent", false]], "dictdialogagentnode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.DictDialogAgentNode", false]], "dictfiltermixin (class in agentscope.parsers.parser_base)": [[32, "agentscope.parsers.parser_base.DictFilterMixin", false]], "digest_webpage() (in module agentscope.service)": [[45, "agentscope.service.digest_webpage", false]], "digest_webpage() (in module agentscope.service.web.web_digest)": [[70, "agentscope.service.web.web_digest.digest_webpage", false]], "distconf (class in agentscope.agents)": [[1, "agentscope.agents.DistConf", false]], "distconf (class in agentscope.agents.agent)": [[2, "agentscope.agents.agent.DistConf", false]], "download_from_url() (in module agentscope.service)": [[45, "agentscope.service.download_from_url", false]], "download_from_url() (in module agentscope.service.web.download)": [[68, "agentscope.service.web.download.download_from_url", false]], "dummymonitor (class in agentscope.utils.monitor)": [[74, "agentscope.utils.monitor.DummyMonitor", false]], "embedding (agentscope.models.modelresponse attribute)": [[17, "agentscope.models.ModelResponse.embedding", false]], "embedding (agentscope.models.response.modelresponse attribute)": [[26, "agentscope.models.response.ModelResponse.embedding", false]], "error (agentscope.service.service_status.serviceexecstatus attribute)": [[57, "agentscope.service.service_status.ServiceExecStatus.ERROR", false]], "error (agentscope.service.serviceexecstatus attribute)": [[45, "agentscope.service.ServiceExecStatus.ERROR", false]], "exec_node() (agentscope.web.workstation.workflow_dag.asdigraph method)": [[84, "agentscope.web.workstation.workflow_dag.ASDiGraph.exec_node", false]], "execute_python_code() (in module agentscope.service)": [[45, "agentscope.service.execute_python_code", false]], "execute_python_code() (in module agentscope.service.execute_code.exec_python)": [[47, "agentscope.service.execute_code.exec_python.execute_python_code", false]], "execute_shell_command() (in module agentscope.service)": [[45, "agentscope.service.execute_shell_command", false]], "execute_shell_command() (in module agentscope.service.execute_code.exec_shell)": [[48, "agentscope.service.execute_code.exec_shell.execute_shell_command", false]], "exists() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.exists", false]], "exists() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.exists", false]], "exists() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.exists", false]], "exists() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.exists", false]], "export() (agentscope.memory.memory.memorybase method)": [[14, "agentscope.memory.memory.MemoryBase.export", false]], "export() (agentscope.memory.memorybase method)": [[13, "agentscope.memory.MemoryBase.export", false]], "export() (agentscope.memory.temporary_memory.temporarymemory method)": [[15, "agentscope.memory.temporary_memory.TemporaryMemory.export", false]], "export() (agentscope.memory.temporarymemory method)": [[13, "agentscope.memory.TemporaryMemory.export", false]], "export_config() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.export_config", false]], "export_config() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.export_config", false]], "find_available_port() (in module agentscope.utils.tools)": [[76, "agentscope.utils.tools.find_available_port", false]], "flush() (agentscope.utils.monitor.monitorfactory class method)": [[74, "agentscope.utils.monitor.MonitorFactory.flush", false]], "flush() (agentscope.utils.monitorfactory class method)": [[71, "agentscope.utils.MonitorFactory.flush", false]], "fn_choice() (in module agentscope.web.studio.studio)": [[80, "agentscope.web.studio.studio.fn_choice", false]], "forlooppipeline (class in agentscope.pipelines)": [[34, "agentscope.pipelines.ForLoopPipeline", false]], "forlooppipeline (class in agentscope.pipelines.pipeline)": [[36, "agentscope.pipelines.pipeline.ForLoopPipeline", false]], "forlooppipeline() (in module agentscope.pipelines)": [[34, "agentscope.pipelines.forlooppipeline", false]], "forlooppipeline() (in module agentscope.pipelines.functional)": [[35, "agentscope.pipelines.functional.forlooppipeline", false]], "forlooppipelinenode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.ForLoopPipelineNode", false]], "format() (agentscope.models.dashscope_model.dashscopechatwrapper method)": [[19, "agentscope.models.dashscope_model.DashScopeChatWrapper.format", false]], "format() (agentscope.models.dashscope_model.dashscopemultimodalwrapper method)": [[19, "agentscope.models.dashscope_model.DashScopeMultiModalWrapper.format", false]], "format() (agentscope.models.dashscope_model.dashscopewrapperbase method)": [[19, "agentscope.models.dashscope_model.DashScopeWrapperBase.format", false]], "format() (agentscope.models.dashscopechatwrapper method)": [[17, "agentscope.models.DashScopeChatWrapper.format", false]], "format() (agentscope.models.dashscopemultimodalwrapper method)": [[17, "agentscope.models.DashScopeMultiModalWrapper.format", false]], "format() (agentscope.models.gemini_model.geminichatwrapper method)": [[20, "agentscope.models.gemini_model.GeminiChatWrapper.format", false]], "format() (agentscope.models.geminichatwrapper method)": [[17, "agentscope.models.GeminiChatWrapper.format", false]], "format() (agentscope.models.litellm_model.litellmchatwrapper method)": [[21, "agentscope.models.litellm_model.LiteLLMChatWrapper.format", false]], "format() (agentscope.models.litellm_model.litellmwrapperbase method)": [[21, "agentscope.models.litellm_model.LiteLLMWrapperBase.format", false]], "format() (agentscope.models.litellmchatwrapper method)": [[17, "agentscope.models.LiteLLMChatWrapper.format", false]], "format() (agentscope.models.model.modelwrapperbase method)": [[22, "agentscope.models.model.ModelWrapperBase.format", false]], "format() (agentscope.models.modelwrapperbase method)": [[17, "agentscope.models.ModelWrapperBase.format", false]], "format() (agentscope.models.ollama_model.ollamachatwrapper method)": [[23, "agentscope.models.ollama_model.OllamaChatWrapper.format", false]], "format() (agentscope.models.ollama_model.ollamaembeddingwrapper method)": [[23, "agentscope.models.ollama_model.OllamaEmbeddingWrapper.format", false]], "format() (agentscope.models.ollama_model.ollamagenerationwrapper method)": [[23, "agentscope.models.ollama_model.OllamaGenerationWrapper.format", false]], "format() (agentscope.models.ollamachatwrapper method)": [[17, "agentscope.models.OllamaChatWrapper.format", false]], "format() (agentscope.models.ollamaembeddingwrapper method)": [[17, "agentscope.models.OllamaEmbeddingWrapper.format", false]], "format() (agentscope.models.ollamagenerationwrapper method)": [[17, "agentscope.models.OllamaGenerationWrapper.format", false]], "format() (agentscope.models.openai_model.openaichatwrapper method)": [[24, "agentscope.models.openai_model.OpenAIChatWrapper.format", false]], "format() (agentscope.models.openai_model.openaiwrapperbase method)": [[24, "agentscope.models.openai_model.OpenAIWrapperBase.format", false]], "format() (agentscope.models.openaichatwrapper method)": [[17, "agentscope.models.OpenAIChatWrapper.format", false]], "format() (agentscope.models.openaiwrapperbase method)": [[17, "agentscope.models.OpenAIWrapperBase.format", false]], "format() (agentscope.models.post_model.postapichatwrapper method)": [[25, "agentscope.models.post_model.PostAPIChatWrapper.format", false]], "format() (agentscope.models.post_model.postapidallewrapper method)": [[25, "agentscope.models.post_model.PostAPIDALLEWrapper.format", false]], "format() (agentscope.models.post_model.postapiembeddingwrapper method)": [[25, "agentscope.models.post_model.PostAPIEmbeddingWrapper.format", false]], "format() (agentscope.models.postapichatwrapper method)": [[17, "agentscope.models.PostAPIChatWrapper.format", false]], "format() (agentscope.models.zhipu_model.zhipuaichatwrapper method)": [[27, "agentscope.models.zhipu_model.ZhipuAIChatWrapper.format", false]], "format() (agentscope.models.zhipu_model.zhipuaiwrapperbase method)": [[27, "agentscope.models.zhipu_model.ZhipuAIWrapperBase.format", false]], "format() (agentscope.models.zhipuaichatwrapper method)": [[17, "agentscope.models.ZhipuAIChatWrapper.format", false]], "format_instruction (agentscope.parsers.code_block_parser.markdowncodeblockparser attribute)": [[30, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.format_instruction", false]], "format_instruction (agentscope.parsers.json_object_parser.markdownjsondictparser property)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.format_instruction", false]], "format_instruction (agentscope.parsers.json_object_parser.markdownjsonobjectparser property)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.format_instruction", false]], "format_instruction (agentscope.parsers.markdowncodeblockparser attribute)": [[29, "agentscope.parsers.MarkdownCodeBlockParser.format_instruction", false]], "format_instruction (agentscope.parsers.markdownjsondictparser property)": [[29, "agentscope.parsers.MarkdownJsonDictParser.format_instruction", false]], "format_instruction (agentscope.parsers.markdownjsonobjectparser property)": [[29, "agentscope.parsers.MarkdownJsonObjectParser.format_instruction", false]], "format_instruction (agentscope.parsers.multitaggedcontentparser attribute)": [[29, "agentscope.parsers.MultiTaggedContentParser.format_instruction", false]], "format_instruction (agentscope.parsers.tagged_content_parser.multitaggedcontentparser attribute)": [[33, "agentscope.parsers.tagged_content_parser.MultiTaggedContentParser.format_instruction", false]], "functioncallerror": [[11, "agentscope.exception.FunctionCallError", false]], "functioncallformaterror": [[11, "agentscope.exception.FunctionCallFormatError", false]], "functionnotfounderror": [[11, "agentscope.exception.FunctionNotFoundError", false]], "geminichatwrapper (class in agentscope.models)": [[17, "agentscope.models.GeminiChatWrapper", false]], "geminichatwrapper (class in agentscope.models.gemini_model)": [[20, "agentscope.models.gemini_model.GeminiChatWrapper", false]], "geminiembeddingwrapper (class in agentscope.models)": [[17, "agentscope.models.GeminiEmbeddingWrapper", false]], "geminiembeddingwrapper (class in agentscope.models.gemini_model)": [[20, "agentscope.models.gemini_model.GeminiEmbeddingWrapper", false]], "geminiwrapperbase (class in agentscope.models.gemini_model)": [[20, "agentscope.models.gemini_model.GeminiWrapperBase", false]], "generate_agent_id() (agentscope.agents.agent.agentbase class method)": [[2, "agentscope.agents.agent.AgentBase.generate_agent_id", false]], "generate_agent_id() (agentscope.agents.agentbase class method)": [[1, "agentscope.agents.AgentBase.generate_agent_id", false]], "generate_image_from_name() (in module agentscope.web.studio.utils)": [[81, "agentscope.web.studio.utils.generate_image_from_name", false]], "generate_server_id() (agentscope.server.launcher.rpcagentserverlauncher method)": [[43, "agentscope.server.launcher.RpcAgentServerLauncher.generate_server_id", false]], "generate_server_id() (agentscope.server.rpcagentserverlauncher method)": [[42, "agentscope.server.RpcAgentServerLauncher.generate_server_id", false]], "generation_method (agentscope.models.gemini_model.geminichatwrapper attribute)": [[20, "agentscope.models.gemini_model.GeminiChatWrapper.generation_method", false]], "generation_method (agentscope.models.geminichatwrapper attribute)": [[17, "agentscope.models.GeminiChatWrapper.generation_method", false]], "get() (agentscope.service.service_toolkit.servicefactory class method)": [[58, "agentscope.service.service_toolkit.ServiceFactory.get", false]], "get() (agentscope.service.service_toolkit.servicetoolkit class method)": [[58, "agentscope.service.service_toolkit.ServiceToolkit.get", false]], "get() (agentscope.service.servicefactory class method)": [[45, "agentscope.service.ServiceFactory.get", false]], "get() (agentscope.service.servicetoolkit class method)": [[45, "agentscope.service.ServiceToolkit.get", false]], "get_agent_class() (agentscope.agents.agent.agentbase class method)": [[2, "agentscope.agents.agent.AgentBase.get_agent_class", false]], "get_agent_class() (agentscope.agents.agentbase class method)": [[1, "agentscope.agents.AgentBase.get_agent_class", false]], "get_all_agents() (in module agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.get_all_agents", false]], "get_chat() (in module agentscope.web.studio.studio)": [[80, "agentscope.web.studio.studio.get_chat", false]], "get_chat_msg() (in module agentscope.web.studio.utils)": [[81, "agentscope.web.studio.utils.get_chat_msg", false]], "get_current_directory() (in module agentscope.service)": [[45, "agentscope.service.get_current_directory", false]], "get_current_directory() (in module agentscope.service.file.common)": [[50, "agentscope.service.file.common.get_current_directory", false]], "get_embeddings() (agentscope.memory.temporary_memory.temporarymemory method)": [[15, "agentscope.memory.temporary_memory.TemporaryMemory.get_embeddings", false]], "get_embeddings() (agentscope.memory.temporarymemory method)": [[13, "agentscope.memory.TemporaryMemory.get_embeddings", false]], "get_full_name() (in module agentscope.utils.monitor)": [[74, "agentscope.utils.monitor.get_full_name", false]], "get_help() (in module agentscope.service)": [[45, "agentscope.service.get_help", false]], "get_memory() (agentscope.memory.memory.memorybase method)": [[14, "agentscope.memory.memory.MemoryBase.get_memory", false]], "get_memory() (agentscope.memory.memorybase method)": [[13, "agentscope.memory.MemoryBase.get_memory", false]], "get_memory() (agentscope.memory.temporary_memory.temporarymemory method)": [[15, "agentscope.memory.temporary_memory.TemporaryMemory.get_memory", false]], "get_memory() (agentscope.memory.temporarymemory method)": [[13, "agentscope.memory.TemporaryMemory.get_memory", false]], "get_metric() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.get_metric", false]], "get_metric() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.get_metric", false]], "get_metric() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.get_metric", false]], "get_metric() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.get_metric", false]], "get_metrics() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.get_metrics", false]], "get_metrics() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.get_metrics", false]], "get_metrics() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.get_metrics", false]], "get_metrics() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.get_metrics", false]], "get_monitor() (agentscope.utils.monitor.monitorfactory class method)": [[74, "agentscope.utils.monitor.MonitorFactory.get_monitor", false]], "get_monitor() (agentscope.utils.monitorfactory class method)": [[71, "agentscope.utils.MonitorFactory.get_monitor", false]], "get_openai_max_length() (in module agentscope.utils.token_utils)": [[75, "agentscope.utils.token_utils.get_openai_max_length", false]], "get_player_input() (in module agentscope.web.studio.utils)": [[81, "agentscope.web.studio.utils.get_player_input", false]], "get_quota() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.get_quota", false]], "get_quota() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.get_quota", false]], "get_quota() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.get_quota", false]], "get_quota() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.get_quota", false]], "get_reset_msg() (in module agentscope.web.studio.utils)": [[81, "agentscope.web.studio.utils.get_reset_msg", false]], "get_response() (agentscope.rpc.responsestub method)": [[38, "agentscope.rpc.ResponseStub.get_response", false]], "get_response() (agentscope.rpc.rpc_agent_client.responsestub method)": [[39, "agentscope.rpc.rpc_agent_client.ResponseStub.get_response", false]], "get_task_id() (agentscope.server.agentserverservicer method)": [[42, "agentscope.server.AgentServerServicer.get_task_id", false]], "get_task_id() (agentscope.server.servicer.agentserverservicer method)": [[44, "agentscope.server.servicer.AgentServerServicer.get_task_id", false]], "get_unit() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.get_unit", false]], "get_unit() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.get_unit", false]], "get_unit() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.get_unit", false]], "get_unit() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.get_unit", false]], "get_value() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.get_value", false]], "get_value() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.get_value", false]], "get_value() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.get_value", false]], "get_value() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.get_value", false]], "get_wrapper() (agentscope.models.model.modelwrapperbase class method)": [[22, "agentscope.models.model.ModelWrapperBase.get_wrapper", false]], "get_wrapper() (agentscope.models.modelwrapperbase class method)": [[17, "agentscope.models.ModelWrapperBase.get_wrapper", false]], "google_search() (in module agentscope.service)": [[45, "agentscope.service.google_search", false]], "google_search() (in module agentscope.service.web.search)": [[69, "agentscope.service.web.search.google_search", false]], "googlesearchservicenode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.GoogleSearchServiceNode", false]], "id (agentscope.message.msg attribute)": [[16, "agentscope.message.Msg.id", false]], "ifelsepipeline (class in agentscope.pipelines)": [[34, "agentscope.pipelines.IfElsePipeline", false]], "ifelsepipeline (class in agentscope.pipelines.pipeline)": [[36, "agentscope.pipelines.pipeline.IfElsePipeline", false]], "ifelsepipeline() (in module agentscope.pipelines)": [[34, "agentscope.pipelines.ifelsepipeline", false]], "ifelsepipeline() (in module agentscope.pipelines.functional)": [[35, "agentscope.pipelines.functional.ifelsepipeline", false]], "ifelsepipelinenode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.IfElsePipelineNode", false]], "image_urls (agentscope.models.modelresponse attribute)": [[17, "agentscope.models.ModelResponse.image_urls", false]], "image_urls (agentscope.models.response.modelresponse attribute)": [[26, "agentscope.models.response.ModelResponse.image_urls", false]], "import_function_from_path() (in module agentscope.web.studio.studio)": [[80, "agentscope.web.studio.studio.import_function_from_path", false]], "importerrorreporter (class in agentscope.utils.tools)": [[76, "agentscope.utils.tools.ImportErrorReporter", false]], "init() (in module agentscope)": [[0, "agentscope.init", false]], "init() (in module agentscope.web)": [[77, "agentscope.web.init", false]], "init_uid_list() (in module agentscope.web.studio.studio)": [[80, "agentscope.web.studio.studio.init_uid_list", false]], "init_uid_queues() (in module agentscope.web.studio.utils)": [[81, "agentscope.web.studio.utils.init_uid_queues", false]], "is_callable_expression() (in module agentscope.web.workstation.workflow_utils)": [[86, "agentscope.web.workstation.workflow_utils.is_callable_expression", false]], "is_valid_url() (in module agentscope.service.web.web_digest)": [[70, "agentscope.service.web.web_digest.is_valid_url", false]], "join() (agentscope.prompt.promptengine method)": [[37, "agentscope.prompt.PromptEngine.join", false]], "join_to_list() (agentscope.prompt.promptengine method)": [[37, "agentscope.prompt.PromptEngine.join_to_list", false]], "join_to_str() (agentscope.prompt.promptengine method)": [[37, "agentscope.prompt.PromptEngine.join_to_str", false]], "json (agentscope.constants.responseformat attribute)": [[10, "agentscope.constants.ResponseFormat.JSON", false]], "json_required_hint (agentscope.parsers.multitaggedcontentparser attribute)": [[29, "agentscope.parsers.MultiTaggedContentParser.json_required_hint", false]], "json_required_hint (agentscope.parsers.tagged_content_parser.multitaggedcontentparser attribute)": [[33, "agentscope.parsers.tagged_content_parser.MultiTaggedContentParser.json_required_hint", false]], "json_schema (agentscope.service.service_toolkit.servicefunction attribute)": [[58, "agentscope.service.service_toolkit.ServiceFunction.json_schema", false]], "json_schemas (agentscope.service.service_toolkit.servicetoolkit property)": [[58, "agentscope.service.service_toolkit.ServiceToolkit.json_schemas", false]], "json_schemas (agentscope.service.servicetoolkit property)": [[45, "agentscope.service.ServiceToolkit.json_schemas", false]], "jsondictvalidationerror": [[11, "agentscope.exception.JsonDictValidationError", false]], "jsonparsingerror": [[11, "agentscope.exception.JsonParsingError", false]], "jsontypeerror": [[11, "agentscope.exception.JsonTypeError", false]], "keep_alive (agentscope.models.ollama_model.ollamachatwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaChatWrapper.keep_alive", false]], "keep_alive (agentscope.models.ollama_model.ollamaembeddingwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaEmbeddingWrapper.keep_alive", false]], "keep_alive (agentscope.models.ollama_model.ollamagenerationwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaGenerationWrapper.keep_alive", false]], "keep_alive (agentscope.models.ollama_model.ollamawrapperbase attribute)": [[23, "agentscope.models.ollama_model.OllamaWrapperBase.keep_alive", false]], "kwarg_converter() (in module agentscope.web.workstation.workflow_utils)": [[86, "agentscope.web.workstation.workflow_utils.kwarg_converter", false]], "launch() (agentscope.server.launcher.rpcagentserverlauncher method)": [[43, "agentscope.server.launcher.RpcAgentServerLauncher.launch", false]], "launch() (agentscope.server.rpcagentserverlauncher method)": [[42, "agentscope.server.RpcAgentServerLauncher.launch", false]], "list (agentscope.prompt.prompttype attribute)": [[37, "agentscope.prompt.PromptType.LIST", false]], "list_directory_content() (in module agentscope.service)": [[45, "agentscope.service.list_directory_content", false]], "list_directory_content() (in module agentscope.service.file.common)": [[50, "agentscope.service.file.common.list_directory_content", false]], "list_models() (agentscope.models.gemini_model.geminiwrapperbase method)": [[20, "agentscope.models.gemini_model.GeminiWrapperBase.list_models", false]], "litellmchatwrapper (class in agentscope.models)": [[17, "agentscope.models.LiteLLMChatWrapper", false]], "litellmchatwrapper (class in agentscope.models.litellm_model)": [[21, "agentscope.models.litellm_model.LiteLLMChatWrapper", false]], "litellmwrapperbase (class in agentscope.models.litellm_model)": [[21, "agentscope.models.litellm_model.LiteLLMWrapperBase", false]], "load() (agentscope.memory.memory.memorybase method)": [[14, "agentscope.memory.memory.MemoryBase.load", false]], "load() (agentscope.memory.memorybase method)": [[13, "agentscope.memory.MemoryBase.load", false]], "load() (agentscope.memory.temporary_memory.temporarymemory method)": [[15, "agentscope.memory.temporary_memory.TemporaryMemory.load", false]], "load() (agentscope.memory.temporarymemory method)": [[13, "agentscope.memory.TemporaryMemory.load", false]], "load_config() (in module agentscope.web.workstation.workflow)": [[83, "agentscope.web.workstation.workflow.load_config", false]], "load_from_config() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.load_from_config", false]], "load_from_config() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.load_from_config", false]], "load_memory() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.load_memory", false]], "load_memory() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.load_memory", false]], "load_model_by_config_name() (in module agentscope.models)": [[17, "agentscope.models.load_model_by_config_name", false]], "load_web() (in module agentscope.service)": [[45, "agentscope.service.load_web", false]], "load_web() (in module agentscope.service.web.web_digest)": [[70, "agentscope.service.web.web_digest.load_web", false]], "local_attrs (agentscope.message.placeholdermessage attribute)": [[16, "agentscope.message.PlaceholderMessage.LOCAL_ATTRS", false]], "log_studio() (in module agentscope.utils.logging_utils)": [[73, "agentscope.utils.logging_utils.log_studio", false]], "main() (in module agentscope.web.workstation.workflow)": [[83, "agentscope.web.workstation.workflow.main", false]], "markdowncodeblockparser (class in agentscope.parsers)": [[29, "agentscope.parsers.MarkdownCodeBlockParser", false]], "markdowncodeblockparser (class in agentscope.parsers.code_block_parser)": [[30, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser", false]], "markdownjsondictparser (class in agentscope.parsers)": [[29, "agentscope.parsers.MarkdownJsonDictParser", false]], "markdownjsondictparser (class in agentscope.parsers.json_object_parser)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser", false]], "markdownjsonobjectparser (class in agentscope.parsers)": [[29, "agentscope.parsers.MarkdownJsonObjectParser", false]], "markdownjsonobjectparser (class in agentscope.parsers.json_object_parser)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser", false]], "memorybase (class in agentscope.memory)": [[13, "agentscope.memory.MemoryBase", false]], "memorybase (class in agentscope.memory.memory)": [[14, "agentscope.memory.memory.MemoryBase", false]], "message (agentscope.web.workstation.workflow_node.workflownodetype attribute)": [[85, "agentscope.web.workstation.workflow_node.WorkflowNodeType.MESSAGE", false]], "messagebase (class in agentscope.message)": [[16, "agentscope.message.MessageBase", false]], "metadata (agentscope.message.msg attribute)": [[16, "agentscope.message.Msg.metadata", false]], "missing_begin_tag (agentscope.exception.tagnotfounderror attribute)": [[11, "agentscope.exception.TagNotFoundError.missing_begin_tag", false]], "missing_end_tag (agentscope.exception.tagnotfounderror attribute)": [[11, "agentscope.exception.TagNotFoundError.missing_end_tag", false]], "model (agentscope.web.workstation.workflow_node.workflownodetype attribute)": [[85, "agentscope.web.workstation.workflow_node.WorkflowNodeType.MODEL", false]], "model_name (agentscope.models.dashscope_model.dashscopechatwrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeChatWrapper.model_name", false]], "model_name (agentscope.models.dashscope_model.dashscopeimagesynthesiswrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeImageSynthesisWrapper.model_name", false]], "model_name (agentscope.models.dashscope_model.dashscopemultimodalwrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeMultiModalWrapper.model_name", false]], "model_name (agentscope.models.dashscope_model.dashscopetextembeddingwrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeTextEmbeddingWrapper.model_name", false]], "model_name (agentscope.models.gemini_model.geminichatwrapper attribute)": [[20, "agentscope.models.gemini_model.GeminiChatWrapper.model_name", false]], "model_name (agentscope.models.gemini_model.geminiembeddingwrapper attribute)": [[20, "agentscope.models.gemini_model.GeminiEmbeddingWrapper.model_name", false]], "model_name (agentscope.models.litellm_model.litellmchatwrapper attribute)": [[21, "agentscope.models.litellm_model.LiteLLMChatWrapper.model_name", false]], "model_name (agentscope.models.model.modelwrapperbase attribute)": [[22, "agentscope.models.model.ModelWrapperBase.model_name", false]], "model_name (agentscope.models.modelwrapperbase attribute)": [[17, "agentscope.models.ModelWrapperBase.model_name", false]], "model_name (agentscope.models.ollama_model.ollamachatwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaChatWrapper.model_name", false]], "model_name (agentscope.models.ollama_model.ollamaembeddingwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaEmbeddingWrapper.model_name", false]], "model_name (agentscope.models.ollama_model.ollamagenerationwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaGenerationWrapper.model_name", false]], "model_name (agentscope.models.ollama_model.ollamawrapperbase attribute)": [[23, "agentscope.models.ollama_model.OllamaWrapperBase.model_name", false]], "model_name (agentscope.models.openai_model.openaichatwrapper attribute)": [[24, "agentscope.models.openai_model.OpenAIChatWrapper.model_name", false]], "model_name (agentscope.models.openai_model.openaidallewrapper attribute)": [[24, "agentscope.models.openai_model.OpenAIDALLEWrapper.model_name", false]], "model_name (agentscope.models.openai_model.openaiembeddingwrapper attribute)": [[24, "agentscope.models.openai_model.OpenAIEmbeddingWrapper.model_name", false]], "model_name (agentscope.models.post_model.postapichatwrapper attribute)": [[25, "agentscope.models.post_model.PostAPIChatWrapper.model_name", false]], "model_name (agentscope.models.post_model.postapimodelwrapperbase attribute)": [[25, "agentscope.models.post_model.PostAPIModelWrapperBase.model_name", false]], "model_name (agentscope.models.zhipu_model.zhipuaichatwrapper attribute)": [[27, "agentscope.models.zhipu_model.ZhipuAIChatWrapper.model_name", false]], "model_name (agentscope.models.zhipu_model.zhipuaiembeddingwrapper attribute)": [[27, "agentscope.models.zhipu_model.ZhipuAIEmbeddingWrapper.model_name", false]], "model_type (agentscope.models.dashscope_model.dashscopechatwrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeChatWrapper.model_type", false]], "model_type (agentscope.models.dashscope_model.dashscopeimagesynthesiswrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeImageSynthesisWrapper.model_type", false]], "model_type (agentscope.models.dashscope_model.dashscopemultimodalwrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeMultiModalWrapper.model_type", false]], "model_type (agentscope.models.dashscope_model.dashscopetextembeddingwrapper attribute)": [[19, "agentscope.models.dashscope_model.DashScopeTextEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.dashscopechatwrapper attribute)": [[17, "agentscope.models.DashScopeChatWrapper.model_type", false]], "model_type (agentscope.models.dashscopeimagesynthesiswrapper attribute)": [[17, "agentscope.models.DashScopeImageSynthesisWrapper.model_type", false]], "model_type (agentscope.models.dashscopemultimodalwrapper attribute)": [[17, "agentscope.models.DashScopeMultiModalWrapper.model_type", false]], "model_type (agentscope.models.dashscopetextembeddingwrapper attribute)": [[17, "agentscope.models.DashScopeTextEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.gemini_model.geminichatwrapper attribute)": [[20, "agentscope.models.gemini_model.GeminiChatWrapper.model_type", false]], "model_type (agentscope.models.gemini_model.geminiembeddingwrapper attribute)": [[20, "agentscope.models.gemini_model.GeminiEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.geminichatwrapper attribute)": [[17, "agentscope.models.GeminiChatWrapper.model_type", false]], "model_type (agentscope.models.geminiembeddingwrapper attribute)": [[17, "agentscope.models.GeminiEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.litellm_model.litellmchatwrapper attribute)": [[21, "agentscope.models.litellm_model.LiteLLMChatWrapper.model_type", false]], "model_type (agentscope.models.litellmchatwrapper attribute)": [[17, "agentscope.models.LiteLLMChatWrapper.model_type", false]], "model_type (agentscope.models.model.modelwrapperbase attribute)": [[22, "agentscope.models.model.ModelWrapperBase.model_type", false]], "model_type (agentscope.models.modelwrapperbase attribute)": [[17, "agentscope.models.ModelWrapperBase.model_type", false]], "model_type (agentscope.models.ollama_model.ollamachatwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaChatWrapper.model_type", false]], "model_type (agentscope.models.ollama_model.ollamaembeddingwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.ollama_model.ollamagenerationwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaGenerationWrapper.model_type", false]], "model_type (agentscope.models.ollama_model.ollamawrapperbase attribute)": [[23, "agentscope.models.ollama_model.OllamaWrapperBase.model_type", false]], "model_type (agentscope.models.ollamachatwrapper attribute)": [[17, "agentscope.models.OllamaChatWrapper.model_type", false]], "model_type (agentscope.models.ollamaembeddingwrapper attribute)": [[17, "agentscope.models.OllamaEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.ollamagenerationwrapper attribute)": [[17, "agentscope.models.OllamaGenerationWrapper.model_type", false]], "model_type (agentscope.models.openai_model.openaichatwrapper attribute)": [[24, "agentscope.models.openai_model.OpenAIChatWrapper.model_type", false]], "model_type (agentscope.models.openai_model.openaidallewrapper attribute)": [[24, "agentscope.models.openai_model.OpenAIDALLEWrapper.model_type", false]], "model_type (agentscope.models.openai_model.openaiembeddingwrapper attribute)": [[24, "agentscope.models.openai_model.OpenAIEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.openaichatwrapper attribute)": [[17, "agentscope.models.OpenAIChatWrapper.model_type", false]], "model_type (agentscope.models.openaidallewrapper attribute)": [[17, "agentscope.models.OpenAIDALLEWrapper.model_type", false]], "model_type (agentscope.models.openaiembeddingwrapper attribute)": [[17, "agentscope.models.OpenAIEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.post_model.postapichatwrapper attribute)": [[25, "agentscope.models.post_model.PostAPIChatWrapper.model_type", false]], "model_type (agentscope.models.post_model.postapidallewrapper attribute)": [[25, "agentscope.models.post_model.PostAPIDALLEWrapper.model_type", false]], "model_type (agentscope.models.post_model.postapiembeddingwrapper attribute)": [[25, "agentscope.models.post_model.PostAPIEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.post_model.postapimodelwrapperbase attribute)": [[25, "agentscope.models.post_model.PostAPIModelWrapperBase.model_type", false]], "model_type (agentscope.models.postapichatwrapper attribute)": [[17, "agentscope.models.PostAPIChatWrapper.model_type", false]], "model_type (agentscope.models.postapimodelwrapperbase attribute)": [[17, "agentscope.models.PostAPIModelWrapperBase.model_type", false]], "model_type (agentscope.models.zhipu_model.zhipuaichatwrapper attribute)": [[27, "agentscope.models.zhipu_model.ZhipuAIChatWrapper.model_type", false]], "model_type (agentscope.models.zhipu_model.zhipuaiembeddingwrapper attribute)": [[27, "agentscope.models.zhipu_model.ZhipuAIEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.zhipuaichatwrapper attribute)": [[17, "agentscope.models.ZhipuAIChatWrapper.model_type", false]], "model_type (agentscope.models.zhipuaiembeddingwrapper attribute)": [[17, "agentscope.models.ZhipuAIEmbeddingWrapper.model_type", false]], "modelnode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.ModelNode", false]], "modelresponse (class in agentscope.models)": [[17, "agentscope.models.ModelResponse", false]], "modelresponse (class in agentscope.models.response)": [[26, "agentscope.models.response.ModelResponse", false]], "modelwrapperbase (class in agentscope.models)": [[17, "agentscope.models.ModelWrapperBase", false]], "modelwrapperbase (class in agentscope.models.model)": [[22, "agentscope.models.model.ModelWrapperBase", false]], "module": [[0, "module-agentscope", false], [1, "module-agentscope.agents", false], [2, "module-agentscope.agents.agent", false], [3, "module-agentscope.agents.dialog_agent", false], [4, "module-agentscope.agents.dict_dialog_agent", false], [5, "module-agentscope.agents.operator", false], [6, "module-agentscope.agents.react_agent", false], [7, "module-agentscope.agents.rpc_agent", false], [8, "module-agentscope.agents.text_to_image_agent", false], [9, "module-agentscope.agents.user_agent", false], [10, "module-agentscope.constants", false], [11, "module-agentscope.exception", false], [12, "module-agentscope.file_manager", false], [13, "module-agentscope.memory", false], [14, "module-agentscope.memory.memory", false], [15, "module-agentscope.memory.temporary_memory", false], [16, "module-agentscope.message", false], [17, "module-agentscope.models", false], [18, "module-agentscope.models.config", false], [19, "module-agentscope.models.dashscope_model", false], [20, "module-agentscope.models.gemini_model", false], [21, "module-agentscope.models.litellm_model", false], [22, "module-agentscope.models.model", false], [23, "module-agentscope.models.ollama_model", false], [24, "module-agentscope.models.openai_model", false], [25, "module-agentscope.models.post_model", false], [26, "module-agentscope.models.response", false], [27, "module-agentscope.models.zhipu_model", false], [28, "module-agentscope.msghub", false], [29, "module-agentscope.parsers", false], [30, "module-agentscope.parsers.code_block_parser", false], [31, "module-agentscope.parsers.json_object_parser", false], [32, "module-agentscope.parsers.parser_base", false], [33, "module-agentscope.parsers.tagged_content_parser", false], [34, "module-agentscope.pipelines", false], [35, "module-agentscope.pipelines.functional", false], [36, "module-agentscope.pipelines.pipeline", false], [37, "module-agentscope.prompt", false], [38, "module-agentscope.rpc", false], [39, "module-agentscope.rpc.rpc_agent_client", false], [40, "module-agentscope.rpc.rpc_agent_pb2", false], [41, "module-agentscope.rpc.rpc_agent_pb2_grpc", false], [42, "module-agentscope.server", false], [43, "module-agentscope.server.launcher", false], [44, "module-agentscope.server.servicer", false], [45, "module-agentscope.service", false], [46, "module-agentscope.service.execute_code", false], [47, "module-agentscope.service.execute_code.exec_python", false], [48, "module-agentscope.service.execute_code.exec_shell", false], [49, "module-agentscope.service.file", false], [50, "module-agentscope.service.file.common", false], [51, "module-agentscope.service.file.json", false], [52, "module-agentscope.service.file.text", false], [53, "module-agentscope.service.retrieval", false], [54, "module-agentscope.service.retrieval.retrieval_from_list", false], [55, "module-agentscope.service.retrieval.similarity", false], [56, "module-agentscope.service.service_response", false], [57, "module-agentscope.service.service_status", false], [58, "module-agentscope.service.service_toolkit", false], [59, "module-agentscope.service.sql_query", false], [60, "module-agentscope.service.sql_query.mongodb", false], [61, "module-agentscope.service.sql_query.mysql", false], [62, "module-agentscope.service.sql_query.sqlite", false], [63, "module-agentscope.service.text_processing", false], [64, "module-agentscope.service.text_processing.summarization", false], [65, "module-agentscope.service.web", false], [66, "module-agentscope.service.web.arxiv", false], [67, "module-agentscope.service.web.dblp", false], [68, "module-agentscope.service.web.download", false], [69, "module-agentscope.service.web.search", false], [70, "module-agentscope.service.web.web_digest", false], [71, "module-agentscope.utils", false], [72, "module-agentscope.utils.common", false], [73, "module-agentscope.utils.logging_utils", false], [74, "module-agentscope.utils.monitor", false], [75, "module-agentscope.utils.token_utils", false], [76, "module-agentscope.utils.tools", false], [77, "module-agentscope.web", false], [78, "module-agentscope.web.studio", false], [79, "module-agentscope.web.studio.constants", false], [80, "module-agentscope.web.studio.studio", false], [81, "module-agentscope.web.studio.utils", false], [82, "module-agentscope.web.workstation", false], [83, "module-agentscope.web.workstation.workflow", false], [84, "module-agentscope.web.workstation.workflow_dag", false], [85, "module-agentscope.web.workstation.workflow_node", false], [86, "module-agentscope.web.workstation.workflow_utils", false]], "monitorbase (class in agentscope.utils)": [[71, "agentscope.utils.MonitorBase", false]], "monitorbase (class in agentscope.utils.monitor)": [[74, "agentscope.utils.monitor.MonitorBase", false]], "monitorfactory (class in agentscope.utils)": [[71, "agentscope.utils.MonitorFactory", false]], "monitorfactory (class in agentscope.utils.monitor)": [[74, "agentscope.utils.monitor.MonitorFactory", false]], "move_directory() (in module agentscope.service)": [[45, "agentscope.service.move_directory", false]], "move_directory() (in module agentscope.service.file.common)": [[50, "agentscope.service.file.common.move_directory", false]], "move_file() (in module agentscope.service)": [[45, "agentscope.service.move_file", false]], "move_file() (in module agentscope.service.file.common)": [[50, "agentscope.service.file.common.move_file", false]], "msg (class in agentscope.message)": [[16, "agentscope.message.Msg", false]], "msghub() (in module agentscope)": [[0, "agentscope.msghub", false]], "msghub() (in module agentscope.msghub)": [[28, "agentscope.msghub.msghub", false]], "msghubmanager (class in agentscope.msghub)": [[28, "agentscope.msghub.MsgHubManager", false]], "msghubnode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.MsgHubNode", false]], "msgnode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.MsgNode", false]], "multitaggedcontentparser (class in agentscope.parsers)": [[29, "agentscope.parsers.MultiTaggedContentParser", false]], "multitaggedcontentparser (class in agentscope.parsers.tagged_content_parser)": [[33, "agentscope.parsers.tagged_content_parser.MultiTaggedContentParser", false]], "name (agentscope.message.msg attribute)": [[16, "agentscope.message.Msg.name", false]], "name (agentscope.parsers.code_block_parser.markdowncodeblockparser attribute)": [[30, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.name", false]], "name (agentscope.parsers.json_object_parser.markdownjsondictparser attribute)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.name", false]], "name (agentscope.parsers.json_object_parser.markdownjsonobjectparser attribute)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.name", false]], "name (agentscope.parsers.markdowncodeblockparser attribute)": [[29, "agentscope.parsers.MarkdownCodeBlockParser.name", false]], "name (agentscope.parsers.markdownjsondictparser attribute)": [[29, "agentscope.parsers.MarkdownJsonDictParser.name", false]], "name (agentscope.parsers.markdownjsonobjectparser attribute)": [[29, "agentscope.parsers.MarkdownJsonObjectParser.name", false]], "name (agentscope.parsers.tagged_content_parser.taggedcontent attribute)": [[33, "agentscope.parsers.tagged_content_parser.TaggedContent.name", false]], "name (agentscope.parsers.taggedcontent attribute)": [[29, "agentscope.parsers.TaggedContent.name", false]], "name (agentscope.service.service_toolkit.servicefunction attribute)": [[58, "agentscope.service.service_toolkit.ServiceFunction.name", false]], "node_type (agentscope.web.workstation.workflow_node.bingsearchservicenode attribute)": [[85, "agentscope.web.workstation.workflow_node.BingSearchServiceNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.copynode attribute)": [[85, "agentscope.web.workstation.workflow_node.CopyNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.dialogagentnode attribute)": [[85, "agentscope.web.workstation.workflow_node.DialogAgentNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.dictdialogagentnode attribute)": [[85, "agentscope.web.workstation.workflow_node.DictDialogAgentNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.forlooppipelinenode attribute)": [[85, "agentscope.web.workstation.workflow_node.ForLoopPipelineNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.googlesearchservicenode attribute)": [[85, "agentscope.web.workstation.workflow_node.GoogleSearchServiceNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.ifelsepipelinenode attribute)": [[85, "agentscope.web.workstation.workflow_node.IfElsePipelineNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.modelnode attribute)": [[85, "agentscope.web.workstation.workflow_node.ModelNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.msghubnode attribute)": [[85, "agentscope.web.workstation.workflow_node.MsgHubNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.msgnode attribute)": [[85, "agentscope.web.workstation.workflow_node.MsgNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.placeholdernode attribute)": [[85, "agentscope.web.workstation.workflow_node.PlaceHolderNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.pythonservicenode attribute)": [[85, "agentscope.web.workstation.workflow_node.PythonServiceNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.reactagentnode attribute)": [[85, "agentscope.web.workstation.workflow_node.ReActAgentNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.readtextservicenode attribute)": [[85, "agentscope.web.workstation.workflow_node.ReadTextServiceNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.sequentialpipelinenode attribute)": [[85, "agentscope.web.workstation.workflow_node.SequentialPipelineNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.switchpipelinenode attribute)": [[85, "agentscope.web.workstation.workflow_node.SwitchPipelineNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.texttoimageagentnode attribute)": [[85, "agentscope.web.workstation.workflow_node.TextToImageAgentNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.useragentnode attribute)": [[85, "agentscope.web.workstation.workflow_node.UserAgentNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.whilelooppipelinenode attribute)": [[85, "agentscope.web.workstation.workflow_node.WhileLoopPipelineNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.workflownode attribute)": [[85, "agentscope.web.workstation.workflow_node.WorkflowNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.writetextservicenode attribute)": [[85, "agentscope.web.workstation.workflow_node.WriteTextServiceNode.node_type", false]], "nodes_not_in_graph (agentscope.web.workstation.workflow_dag.asdigraph attribute)": [[84, "agentscope.web.workstation.workflow_dag.ASDiGraph.nodes_not_in_graph", false]], "none (agentscope.constants.responseformat attribute)": [[10, "agentscope.constants.ResponseFormat.NONE", false]], "num_tokens_from_content() (in module agentscope.utils.token_utils)": [[75, "agentscope.utils.token_utils.num_tokens_from_content", false]], "observe() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.observe", false]], "observe() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.observe", false]], "observe() (agentscope.agents.rpc_agent.rpcagent method)": [[7, "agentscope.agents.rpc_agent.RpcAgent.observe", false]], "observe() (agentscope.agents.rpcagent method)": [[1, "agentscope.agents.RpcAgent.observe", false]], "ollamachatwrapper (class in agentscope.models)": [[17, "agentscope.models.OllamaChatWrapper", false]], "ollamachatwrapper (class in agentscope.models.ollama_model)": [[23, "agentscope.models.ollama_model.OllamaChatWrapper", false]], "ollamaembeddingwrapper (class in agentscope.models)": [[17, "agentscope.models.OllamaEmbeddingWrapper", false]], "ollamaembeddingwrapper (class in agentscope.models.ollama_model)": [[23, "agentscope.models.ollama_model.OllamaEmbeddingWrapper", false]], "ollamagenerationwrapper (class in agentscope.models)": [[17, "agentscope.models.OllamaGenerationWrapper", false]], "ollamagenerationwrapper (class in agentscope.models.ollama_model)": [[23, "agentscope.models.ollama_model.OllamaGenerationWrapper", false]], "ollamawrapperbase (class in agentscope.models.ollama_model)": [[23, "agentscope.models.ollama_model.OllamaWrapperBase", false]], "openaichatwrapper (class in agentscope.models)": [[17, "agentscope.models.OpenAIChatWrapper", false]], "openaichatwrapper (class in agentscope.models.openai_model)": [[24, "agentscope.models.openai_model.OpenAIChatWrapper", false]], "openaidallewrapper (class in agentscope.models)": [[17, "agentscope.models.OpenAIDALLEWrapper", false]], "openaidallewrapper (class in agentscope.models.openai_model)": [[24, "agentscope.models.openai_model.OpenAIDALLEWrapper", false]], "openaiembeddingwrapper (class in agentscope.models)": [[17, "agentscope.models.OpenAIEmbeddingWrapper", false]], "openaiembeddingwrapper (class in agentscope.models.openai_model)": [[24, "agentscope.models.openai_model.OpenAIEmbeddingWrapper", false]], "openaiwrapperbase (class in agentscope.models)": [[17, "agentscope.models.OpenAIWrapperBase", false]], "openaiwrapperbase (class in agentscope.models.openai_model)": [[24, "agentscope.models.openai_model.OpenAIWrapperBase", false]], "operator (class in agentscope.agents)": [[1, "agentscope.agents.Operator", false]], "operator (class in agentscope.agents.operator)": [[5, "agentscope.agents.operator.Operator", false]], "options (agentscope.models.ollama_model.ollamachatwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaChatWrapper.options", false]], "options (agentscope.models.ollama_model.ollamaembeddingwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaEmbeddingWrapper.options", false]], "options (agentscope.models.ollama_model.ollamagenerationwrapper attribute)": [[23, "agentscope.models.ollama_model.OllamaGenerationWrapper.options", false]], "options (agentscope.models.ollama_model.ollamawrapperbase attribute)": [[23, "agentscope.models.ollama_model.OllamaWrapperBase.options", false]], "original_func (agentscope.service.service_toolkit.servicefunction attribute)": [[58, "agentscope.service.service_toolkit.ServiceFunction.original_func", false]], "parse() (agentscope.parsers.code_block_parser.markdowncodeblockparser method)": [[30, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.parse", false]], "parse() (agentscope.parsers.json_object_parser.markdownjsondictparser method)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.parse", false]], "parse() (agentscope.parsers.json_object_parser.markdownjsonobjectparser method)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.parse", false]], "parse() (agentscope.parsers.markdowncodeblockparser method)": [[29, "agentscope.parsers.MarkdownCodeBlockParser.parse", false]], "parse() (agentscope.parsers.markdownjsondictparser method)": [[29, "agentscope.parsers.MarkdownJsonDictParser.parse", false]], "parse() (agentscope.parsers.markdownjsonobjectparser method)": [[29, "agentscope.parsers.MarkdownJsonObjectParser.parse", false]], "parse() (agentscope.parsers.multitaggedcontentparser method)": [[29, "agentscope.parsers.MultiTaggedContentParser.parse", false]], "parse() (agentscope.parsers.parser_base.parserbase method)": [[32, "agentscope.parsers.parser_base.ParserBase.parse", false]], "parse() (agentscope.parsers.parserbase method)": [[29, "agentscope.parsers.ParserBase.parse", false]], "parse() (agentscope.parsers.tagged_content_parser.multitaggedcontentparser method)": [[33, "agentscope.parsers.tagged_content_parser.MultiTaggedContentParser.parse", false]], "parse_and_call_func() (agentscope.service.service_toolkit.servicetoolkit method)": [[58, "agentscope.service.service_toolkit.ServiceToolkit.parse_and_call_func", false]], "parse_and_call_func() (agentscope.service.servicetoolkit method)": [[45, "agentscope.service.ServiceToolkit.parse_and_call_func", false]], "parse_html_to_text() (in module agentscope.service)": [[45, "agentscope.service.parse_html_to_text", false]], "parse_html_to_text() (in module agentscope.service.web.web_digest)": [[70, "agentscope.service.web.web_digest.parse_html_to_text", false]], "parse_json (agentscope.parsers.tagged_content_parser.taggedcontent attribute)": [[33, "agentscope.parsers.tagged_content_parser.TaggedContent.parse_json", false]], "parse_json (agentscope.parsers.taggedcontent attribute)": [[29, "agentscope.parsers.TaggedContent.parse_json", false]], "parsed (agentscope.models.modelresponse attribute)": [[17, "agentscope.models.ModelResponse.parsed", false]], "parsed (agentscope.models.response.modelresponse attribute)": [[26, "agentscope.models.response.ModelResponse.parsed", false]], "parserbase (class in agentscope.parsers)": [[29, "agentscope.parsers.ParserBase", false]], "parserbase (class in agentscope.parsers.parser_base)": [[32, "agentscope.parsers.parser_base.ParserBase", false]], "pipeline (agentscope.web.workstation.workflow_node.workflownodetype attribute)": [[85, "agentscope.web.workstation.workflow_node.WorkflowNodeType.PIPELINE", false]], "pipelinebase (class in agentscope.pipelines)": [[34, "agentscope.pipelines.PipelineBase", false]], "pipelinebase (class in agentscope.pipelines.pipeline)": [[36, "agentscope.pipelines.pipeline.PipelineBase", false]], "placeholder() (in module agentscope.pipelines.functional)": [[35, "agentscope.pipelines.functional.placeholder", false]], "placeholder_attrs (agentscope.message.placeholdermessage attribute)": [[16, "agentscope.message.PlaceholderMessage.PLACEHOLDER_ATTRS", false]], "placeholdermessage (class in agentscope.message)": [[16, "agentscope.message.PlaceholderMessage", false]], "placeholdernode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.PlaceHolderNode", false]], "postapichatwrapper (class in agentscope.models)": [[17, "agentscope.models.PostAPIChatWrapper", false]], "postapichatwrapper (class in agentscope.models.post_model)": [[25, "agentscope.models.post_model.PostAPIChatWrapper", false]], "postapidallewrapper (class in agentscope.models.post_model)": [[25, "agentscope.models.post_model.PostAPIDALLEWrapper", false]], "postapiembeddingwrapper (class in agentscope.models.post_model)": [[25, "agentscope.models.post_model.PostAPIEmbeddingWrapper", false]], "postapimodelwrapperbase (class in agentscope.models)": [[17, "agentscope.models.PostAPIModelWrapperBase", false]], "postapimodelwrapperbase (class in agentscope.models.post_model)": [[25, "agentscope.models.post_model.PostAPIModelWrapperBase", false]], "process_messages() (agentscope.server.agentserverservicer method)": [[42, "agentscope.server.AgentServerServicer.process_messages", false]], "process_messages() (agentscope.server.servicer.agentserverservicer method)": [[44, "agentscope.server.servicer.AgentServerServicer.process_messages", false]], "processed_func (agentscope.service.service_toolkit.servicefunction attribute)": [[58, "agentscope.service.service_toolkit.ServiceFunction.processed_func", false]], "promptengine (class in agentscope.prompt)": [[37, "agentscope.prompt.PromptEngine", false]], "prompttype (class in agentscope.prompt)": [[37, "agentscope.prompt.PromptType", false]], "pythonservicenode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.PythonServiceNode", false]], "query_mongodb() (in module agentscope.service)": [[45, "agentscope.service.query_mongodb", false]], "query_mongodb() (in module agentscope.service.sql_query.mongodb)": [[60, "agentscope.service.sql_query.mongodb.query_mongodb", false]], "query_mysql() (in module agentscope.service)": [[45, "agentscope.service.query_mysql", false]], "query_mysql() (in module agentscope.service.sql_query.mysql)": [[61, "agentscope.service.sql_query.mysql.query_mysql", false]], "query_sqlite() (in module agentscope.service)": [[45, "agentscope.service.query_sqlite", false]], "query_sqlite() (in module agentscope.service.sql_query.sqlite)": [[62, "agentscope.service.sql_query.sqlite.query_sqlite", false]], "quotaexceedederror": [[71, "agentscope.utils.QuotaExceededError", false], [74, "agentscope.utils.monitor.QuotaExceededError", false]], "raw (agentscope.models.modelresponse attribute)": [[17, "agentscope.models.ModelResponse.raw", false]], "raw (agentscope.models.response.modelresponse attribute)": [[26, "agentscope.models.response.ModelResponse.raw", false]], "raw_response (agentscope.exception.responseparsingerror attribute)": [[11, "agentscope.exception.ResponseParsingError.raw_response", false]], "reactagent (class in agentscope.agents)": [[1, "agentscope.agents.ReActAgent", false]], "reactagent (class in agentscope.agents.react_agent)": [[6, "agentscope.agents.react_agent.ReActAgent", false]], "reactagentnode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.ReActAgentNode", false]], "read_json_file() (in module agentscope.service)": [[45, "agentscope.service.read_json_file", false]], "read_json_file() (in module agentscope.service.file.json)": [[51, "agentscope.service.file.json.read_json_file", false]], "read_model_configs() (in module agentscope.models)": [[17, "agentscope.models.read_model_configs", false]], "read_text_file() (in module agentscope.service)": [[45, "agentscope.service.read_text_file", false]], "read_text_file() (in module agentscope.service.file.text)": [[52, "agentscope.service.file.text.read_text_file", false]], "readtextservicenode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.ReadTextServiceNode", false]], "reform_dialogue() (in module agentscope.utils.tools)": [[76, "agentscope.utils.tools.reform_dialogue", false]], "register() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.register", false]], "register() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.register", false]], "register() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.register", false]], "register() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.register", false]], "register_agent_class() (agentscope.agents.agent.agentbase class method)": [[2, "agentscope.agents.agent.AgentBase.register_agent_class", false]], "register_agent_class() (agentscope.agents.agentbase class method)": [[1, "agentscope.agents.AgentBase.register_agent_class", false]], "register_budget() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.register_budget", false]], "register_budget() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.register_budget", false]], "register_budget() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.register_budget", false]], "register_budget() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.register_budget", false]], "remove() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.remove", false]], "remove() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.remove", false]], "remove() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.remove", false]], "remove() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.remove", false]], "remove_duplicates_from_end() (in module agentscope.web.workstation.workflow_dag)": [[84, "agentscope.web.workstation.workflow_dag.remove_duplicates_from_end", false]], "reply() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.reply", false]], "reply() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.reply", false]], "reply() (agentscope.agents.dialog_agent.dialogagent method)": [[3, "agentscope.agents.dialog_agent.DialogAgent.reply", false]], "reply() (agentscope.agents.dialogagent method)": [[1, "agentscope.agents.DialogAgent.reply", false]], "reply() (agentscope.agents.dict_dialog_agent.dictdialogagent method)": [[4, "agentscope.agents.dict_dialog_agent.DictDialogAgent.reply", false]], "reply() (agentscope.agents.dictdialogagent method)": [[1, "agentscope.agents.DictDialogAgent.reply", false]], "reply() (agentscope.agents.react_agent.reactagent method)": [[6, "agentscope.agents.react_agent.ReActAgent.reply", false]], "reply() (agentscope.agents.reactagent method)": [[1, "agentscope.agents.ReActAgent.reply", false]], "reply() (agentscope.agents.rpc_agent.rpcagent method)": [[7, "agentscope.agents.rpc_agent.RpcAgent.reply", false]], "reply() (agentscope.agents.rpcagent method)": [[1, "agentscope.agents.RpcAgent.reply", false]], "reply() (agentscope.agents.text_to_image_agent.texttoimageagent method)": [[8, "agentscope.agents.text_to_image_agent.TextToImageAgent.reply", false]], "reply() (agentscope.agents.texttoimageagent method)": [[1, "agentscope.agents.TextToImageAgent.reply", false]], "reply() (agentscope.agents.user_agent.useragent method)": [[9, "agentscope.agents.user_agent.UserAgent.reply", false]], "reply() (agentscope.agents.useragent method)": [[1, "agentscope.agents.UserAgent.reply", false]], "requests_get() (in module agentscope.utils.common)": [[72, "agentscope.utils.common.requests_get", false]], "require_args (agentscope.service.service_toolkit.servicefunction attribute)": [[58, "agentscope.service.service_toolkit.ServiceFunction.require_args", false]], "required_keys (agentscope.parsers.json_object_parser.markdownjsondictparser attribute)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.required_keys", false]], "required_keys (agentscope.parsers.markdownjsondictparser attribute)": [[29, "agentscope.parsers.MarkdownJsonDictParser.required_keys", false]], "requiredfieldnotfounderror": [[11, "agentscope.exception.RequiredFieldNotFoundError", false]], "reset_audience() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.reset_audience", false]], "reset_audience() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.reset_audience", false]], "reset_glb_var() (in module agentscope.web.studio.studio)": [[80, "agentscope.web.studio.studio.reset_glb_var", false]], "resetexception": [[81, "agentscope.web.studio.utils.ResetException", false]], "responseformat (class in agentscope.constants)": [[10, "agentscope.constants.ResponseFormat", false]], "responseparsingerror": [[11, "agentscope.exception.ResponseParsingError", false]], "responsestub (class in agentscope.rpc)": [[38, "agentscope.rpc.ResponseStub", false]], "responsestub (class in agentscope.rpc.rpc_agent_client)": [[39, "agentscope.rpc.rpc_agent_client.ResponseStub", false]], "retrieve_by_embedding() (agentscope.memory.temporary_memory.temporarymemory method)": [[15, "agentscope.memory.temporary_memory.TemporaryMemory.retrieve_by_embedding", false]], "retrieve_by_embedding() (agentscope.memory.temporarymemory method)": [[13, "agentscope.memory.TemporaryMemory.retrieve_by_embedding", false]], "retrieve_from_list() (in module agentscope.service)": [[45, "agentscope.service.retrieve_from_list", false]], "retrieve_from_list() (in module agentscope.service.retrieval.retrieval_from_list)": [[54, "agentscope.service.retrieval.retrieval_from_list.retrieve_from_list", false]], "rm_audience() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.rm_audience", false]], "rm_audience() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.rm_audience", false]], "role (agentscope.message.msg attribute)": [[16, "agentscope.message.Msg.role", false]], "rpcagent (class in agentscope.agents)": [[1, "agentscope.agents.RpcAgent", false]], "rpcagent (class in agentscope.agents.rpc_agent)": [[7, "agentscope.agents.rpc_agent.RpcAgent", false]], "rpcagent (class in agentscope.rpc.rpc_agent_pb2_grpc)": [[41, "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgent", false]], "rpcagentclient (class in agentscope.rpc)": [[38, "agentscope.rpc.RpcAgentClient", false]], "rpcagentclient (class in agentscope.rpc.rpc_agent_client)": [[39, "agentscope.rpc.rpc_agent_client.RpcAgentClient", false]], "rpcagentserverlauncher (class in agentscope.server)": [[42, "agentscope.server.RpcAgentServerLauncher", false]], "rpcagentserverlauncher (class in agentscope.server.launcher)": [[43, "agentscope.server.launcher.RpcAgentServerLauncher", false]], "rpcagentservicer (class in agentscope.rpc)": [[38, "agentscope.rpc.RpcAgentServicer", false]], "rpcagentservicer (class in agentscope.rpc.rpc_agent_pb2_grpc)": [[41, "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgentServicer", false]], "rpcagentstub (class in agentscope.rpc)": [[38, "agentscope.rpc.RpcAgentStub", false]], "rpcagentstub (class in agentscope.rpc.rpc_agent_pb2_grpc)": [[41, "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgentStub", false]], "rpcmsg (class in agentscope.rpc)": [[38, "agentscope.rpc.RpcMsg", false]], "run() (agentscope.web.workstation.workflow_dag.asdigraph method)": [[84, "agentscope.web.workstation.workflow_dag.ASDiGraph.run", false]], "run_app() (in module agentscope.web.studio.studio)": [[80, "agentscope.web.studio.studio.run_app", false]], "sanitize_node_data() (in module agentscope.web.workstation.workflow_dag)": [[84, "agentscope.web.workstation.workflow_dag.sanitize_node_data", false]], "send_audio() (in module agentscope.web.studio.studio)": [[80, "agentscope.web.studio.studio.send_audio", false]], "send_image() (in module agentscope.web.studio.studio)": [[80, "agentscope.web.studio.studio.send_image", false]], "send_message() (in module agentscope.web.studio.studio)": [[80, "agentscope.web.studio.studio.send_message", false]], "send_msg() (in module agentscope.web.studio.utils)": [[81, "agentscope.web.studio.utils.send_msg", false]], "send_player_input() (in module agentscope.web.studio.utils)": [[81, "agentscope.web.studio.utils.send_player_input", false]], "send_reset_msg() (in module agentscope.web.studio.utils)": [[81, "agentscope.web.studio.utils.send_reset_msg", false]], "sequentialpipeline (class in agentscope.pipelines)": [[34, "agentscope.pipelines.SequentialPipeline", false]], "sequentialpipeline (class in agentscope.pipelines.pipeline)": [[36, "agentscope.pipelines.pipeline.SequentialPipeline", false]], "sequentialpipeline() (in module agentscope.pipelines)": [[34, "agentscope.pipelines.sequentialpipeline", false]], "sequentialpipeline() (in module agentscope.pipelines.functional)": [[35, "agentscope.pipelines.functional.sequentialpipeline", false]], "sequentialpipelinenode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.SequentialPipelineNode", false]], "serialize() (agentscope.message.messagebase method)": [[16, "agentscope.message.MessageBase.serialize", false]], "serialize() (agentscope.message.msg method)": [[16, "agentscope.message.Msg.serialize", false]], "serialize() (agentscope.message.placeholdermessage method)": [[16, "agentscope.message.PlaceholderMessage.serialize", false]], "serialize() (agentscope.message.tht method)": [[16, "agentscope.message.Tht.serialize", false]], "serialize() (in module agentscope.message)": [[16, "agentscope.message.serialize", false]], "service (agentscope.web.workstation.workflow_node.workflownodetype attribute)": [[85, "agentscope.web.workstation.workflow_node.WorkflowNodeType.SERVICE", false]], "service_funcs (agentscope.service.service_toolkit.servicetoolkit attribute)": [[58, "agentscope.service.service_toolkit.ServiceToolkit.service_funcs", false]], "service_funcs (agentscope.service.servicetoolkit attribute)": [[45, "agentscope.service.ServiceToolkit.service_funcs", false]], "serviceexecstatus (class in agentscope.service)": [[45, "agentscope.service.ServiceExecStatus", false]], "serviceexecstatus (class in agentscope.service.service_status)": [[57, "agentscope.service.service_status.ServiceExecStatus", false]], "servicefactory (class in agentscope.service)": [[45, "agentscope.service.ServiceFactory", false]], "servicefactory (class in agentscope.service.service_toolkit)": [[58, "agentscope.service.service_toolkit.ServiceFactory", false]], "servicefunction (class in agentscope.service.service_toolkit)": [[58, "agentscope.service.service_toolkit.ServiceFunction", false]], "serviceresponse (class in agentscope.service)": [[45, "agentscope.service.ServiceResponse", false]], "serviceresponse (class in agentscope.service.service_response)": [[56, "agentscope.service.service_response.ServiceResponse", false]], "servicetoolkit (class in agentscope.service)": [[45, "agentscope.service.ServiceToolkit", false]], "servicetoolkit (class in agentscope.service.service_toolkit)": [[58, "agentscope.service.service_toolkit.ServiceToolkit", false]], "set_parser() (agentscope.agents.dict_dialog_agent.dictdialogagent method)": [[4, "agentscope.agents.dict_dialog_agent.DictDialogAgent.set_parser", false]], "set_parser() (agentscope.agents.dictdialogagent method)": [[1, "agentscope.agents.DictDialogAgent.set_parser", false]], "set_quota() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.set_quota", false]], "set_quota() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.set_quota", false]], "set_quota() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.set_quota", false]], "set_quota() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.set_quota", false]], "set_response() (agentscope.rpc.responsestub method)": [[38, "agentscope.rpc.ResponseStub.set_response", false]], "set_response() (agentscope.rpc.rpc_agent_client.responsestub method)": [[39, "agentscope.rpc.rpc_agent_client.ResponseStub.set_response", false]], "setup_logger() (in module agentscope.utils)": [[71, "agentscope.utils.setup_logger", false]], "setup_logger() (in module agentscope.utils.logging_utils)": [[73, "agentscope.utils.logging_utils.setup_logger", false]], "shrinkpolicy (class in agentscope.constants)": [[10, "agentscope.constants.ShrinkPolicy", false]], "shutdown() (agentscope.server.launcher.rpcagentserverlauncher method)": [[43, "agentscope.server.launcher.RpcAgentServerLauncher.shutdown", false]], "shutdown() (agentscope.server.rpcagentserverlauncher method)": [[42, "agentscope.server.RpcAgentServerLauncher.shutdown", false]], "size() (agentscope.memory.memory.memorybase method)": [[14, "agentscope.memory.memory.MemoryBase.size", false]], "size() (agentscope.memory.memorybase method)": [[13, "agentscope.memory.MemoryBase.size", false]], "size() (agentscope.memory.temporary_memory.temporarymemory method)": [[15, "agentscope.memory.temporary_memory.TemporaryMemory.size", false]], "size() (agentscope.memory.temporarymemory method)": [[13, "agentscope.memory.TemporaryMemory.size", false]], "speak() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.speak", false]], "speak() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.speak", false]], "speak() (agentscope.agents.user_agent.useragent method)": [[9, "agentscope.agents.user_agent.UserAgent.speak", false]], "speak() (agentscope.agents.useragent method)": [[1, "agentscope.agents.UserAgent.speak", false]], "sqlite_cursor() (in module agentscope.utils.monitor)": [[74, "agentscope.utils.monitor.sqlite_cursor", false]], "sqlite_transaction() (in module agentscope.utils.monitor)": [[74, "agentscope.utils.monitor.sqlite_transaction", false]], "sqlitemonitor (class in agentscope.utils.monitor)": [[74, "agentscope.utils.monitor.SqliteMonitor", false]], "start_workflow() (in module agentscope.web.workstation.workflow)": [[83, "agentscope.web.workstation.workflow.start_workflow", false]], "stop() (agentscope.agents.rpc_agent.rpcagent method)": [[7, "agentscope.agents.rpc_agent.RpcAgent.stop", false]], "stop() (agentscope.agents.rpcagent method)": [[1, "agentscope.agents.RpcAgent.stop", false]], "string (agentscope.prompt.prompttype attribute)": [[37, "agentscope.prompt.PromptType.STRING", false]], "substrings_in_vision_models_names (agentscope.models.openai_model.openaichatwrapper attribute)": [[24, "agentscope.models.openai_model.OpenAIChatWrapper.substrings_in_vision_models_names", false]], "substrings_in_vision_models_names (agentscope.models.openaichatwrapper attribute)": [[17, "agentscope.models.OpenAIChatWrapper.substrings_in_vision_models_names", false]], "success (agentscope.service.service_status.serviceexecstatus attribute)": [[57, "agentscope.service.service_status.ServiceExecStatus.SUCCESS", false]], "success (agentscope.service.serviceexecstatus attribute)": [[45, "agentscope.service.ServiceExecStatus.SUCCESS", false]], "summarization() (in module agentscope.service)": [[45, "agentscope.service.summarization", false]], "summarization() (in module agentscope.service.text_processing.summarization)": [[64, "agentscope.service.text_processing.summarization.summarization", false]], "summarize (agentscope.constants.shrinkpolicy attribute)": [[10, "agentscope.constants.ShrinkPolicy.SUMMARIZE", false]], "switchpipeline (class in agentscope.pipelines)": [[34, "agentscope.pipelines.SwitchPipeline", false]], "switchpipeline (class in agentscope.pipelines.pipeline)": [[36, "agentscope.pipelines.pipeline.SwitchPipeline", false]], "switchpipeline() (in module agentscope.pipelines)": [[34, "agentscope.pipelines.switchpipeline", false]], "switchpipeline() (in module agentscope.pipelines.functional)": [[35, "agentscope.pipelines.functional.switchpipeline", false]], "switchpipelinenode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.SwitchPipelineNode", false]], "sys_python_guard() (in module agentscope.service.execute_code.exec_python)": [[47, "agentscope.service.execute_code.exec_python.sys_python_guard", false]], "tag_begin (agentscope.parsers.code_block_parser.markdowncodeblockparser attribute)": [[30, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.tag_begin", false]], "tag_begin (agentscope.parsers.json_object_parser.markdownjsondictparser attribute)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.tag_begin", false]], "tag_begin (agentscope.parsers.json_object_parser.markdownjsonobjectparser attribute)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.tag_begin", false]], "tag_begin (agentscope.parsers.markdowncodeblockparser attribute)": [[29, "agentscope.parsers.MarkdownCodeBlockParser.tag_begin", false]], "tag_begin (agentscope.parsers.markdownjsondictparser attribute)": [[29, "agentscope.parsers.MarkdownJsonDictParser.tag_begin", false]], "tag_begin (agentscope.parsers.markdownjsonobjectparser attribute)": [[29, "agentscope.parsers.MarkdownJsonObjectParser.tag_begin", false]], "tag_begin (agentscope.parsers.tagged_content_parser.taggedcontent attribute)": [[33, "agentscope.parsers.tagged_content_parser.TaggedContent.tag_begin", false]], "tag_begin (agentscope.parsers.taggedcontent attribute)": [[29, "agentscope.parsers.TaggedContent.tag_begin", false]], "tag_end (agentscope.parsers.code_block_parser.markdowncodeblockparser attribute)": [[30, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.tag_end", false]], "tag_end (agentscope.parsers.json_object_parser.markdownjsondictparser attribute)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.tag_end", false]], "tag_end (agentscope.parsers.json_object_parser.markdownjsonobjectparser attribute)": [[31, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.tag_end", false]], "tag_end (agentscope.parsers.markdowncodeblockparser attribute)": [[29, "agentscope.parsers.MarkdownCodeBlockParser.tag_end", false]], "tag_end (agentscope.parsers.markdownjsondictparser attribute)": [[29, "agentscope.parsers.MarkdownJsonDictParser.tag_end", false]], "tag_end (agentscope.parsers.markdownjsonobjectparser attribute)": [[29, "agentscope.parsers.MarkdownJsonObjectParser.tag_end", false]], "tag_end (agentscope.parsers.tagged_content_parser.taggedcontent attribute)": [[33, "agentscope.parsers.tagged_content_parser.TaggedContent.tag_end", false]], "tag_end (agentscope.parsers.taggedcontent attribute)": [[29, "agentscope.parsers.TaggedContent.tag_end", false]], "taggedcontent (class in agentscope.parsers)": [[29, "agentscope.parsers.TaggedContent", false]], "taggedcontent (class in agentscope.parsers.tagged_content_parser)": [[33, "agentscope.parsers.tagged_content_parser.TaggedContent", false]], "tagnotfounderror": [[11, "agentscope.exception.TagNotFoundError", false]], "temporarymemory (class in agentscope.memory)": [[13, "agentscope.memory.TemporaryMemory", false]], "temporarymemory (class in agentscope.memory.temporary_memory)": [[15, "agentscope.memory.temporary_memory.TemporaryMemory", false]], "text (agentscope.models.modelresponse attribute)": [[17, "agentscope.models.ModelResponse.text", false]], "text (agentscope.models.response.modelresponse attribute)": [[26, "agentscope.models.response.ModelResponse.text", false]], "texttoimageagent (class in agentscope.agents)": [[1, "agentscope.agents.TextToImageAgent", false]], "texttoimageagent (class in agentscope.agents.text_to_image_agent)": [[8, "agentscope.agents.text_to_image_agent.TextToImageAgent", false]], "texttoimageagentnode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.TextToImageAgentNode", false]], "tht (class in agentscope.message)": [[16, "agentscope.message.Tht", false]], "timer() (in module agentscope.utils.common)": [[72, "agentscope.utils.common.timer", false]], "timestamp (agentscope.message.msg attribute)": [[16, "agentscope.message.Msg.timestamp", false]], "to_content() (agentscope.parsers.parser_base.dictfiltermixin method)": [[32, "agentscope.parsers.parser_base.DictFilterMixin.to_content", false]], "to_dialog_str() (in module agentscope.utils.tools)": [[76, "agentscope.utils.tools.to_dialog_str", false]], "to_dist() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.to_dist", false]], "to_dist() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.to_dist", false]], "to_memory() (agentscope.parsers.parser_base.dictfiltermixin method)": [[32, "agentscope.parsers.parser_base.DictFilterMixin.to_memory", false]], "to_metadata() (agentscope.parsers.parser_base.dictfiltermixin method)": [[32, "agentscope.parsers.parser_base.DictFilterMixin.to_metadata", false]], "to_openai_dict() (in module agentscope.utils.tools)": [[76, "agentscope.utils.tools.to_openai_dict", false]], "to_str() (agentscope.message.messagebase method)": [[16, "agentscope.message.MessageBase.to_str", false]], "to_str() (agentscope.message.msg method)": [[16, "agentscope.message.Msg.to_str", false]], "to_str() (agentscope.message.placeholdermessage method)": [[16, "agentscope.message.PlaceholderMessage.to_str", false]], "to_str() (agentscope.message.tht method)": [[16, "agentscope.message.Tht.to_str", false]], "tools_calling_format (agentscope.service.service_toolkit.servicetoolkit property)": [[58, "agentscope.service.service_toolkit.ServiceToolkit.tools_calling_format", false]], "tools_calling_format (agentscope.service.servicetoolkit property)": [[45, "agentscope.service.ServiceToolkit.tools_calling_format", false]], "tools_instruction (agentscope.service.service_toolkit.servicetoolkit property)": [[58, "agentscope.service.service_toolkit.ServiceToolkit.tools_instruction", false]], "tools_instruction (agentscope.service.servicetoolkit property)": [[45, "agentscope.service.ServiceToolkit.tools_instruction", false]], "truncate (agentscope.constants.shrinkpolicy attribute)": [[10, "agentscope.constants.ShrinkPolicy.TRUNCATE", false]], "update() (agentscope.utils.monitor.dummymonitor method)": [[74, "agentscope.utils.monitor.DummyMonitor.update", false]], "update() (agentscope.utils.monitor.monitorbase method)": [[74, "agentscope.utils.monitor.MonitorBase.update", false]], "update() (agentscope.utils.monitor.sqlitemonitor method)": [[74, "agentscope.utils.monitor.SqliteMonitor.update", false]], "update() (agentscope.utils.monitorbase method)": [[71, "agentscope.utils.MonitorBase.update", false]], "update_config() (agentscope.memory.memory.memorybase method)": [[14, "agentscope.memory.memory.MemoryBase.update_config", false]], "update_config() (agentscope.memory.memorybase method)": [[13, "agentscope.memory.MemoryBase.update_config", false]], "update_monitor() (agentscope.models.model.modelwrapperbase method)": [[22, "agentscope.models.model.ModelWrapperBase.update_monitor", false]], "update_monitor() (agentscope.models.modelwrapperbase method)": [[17, "agentscope.models.ModelWrapperBase.update_monitor", false]], "update_value() (agentscope.message.placeholdermessage method)": [[16, "agentscope.message.PlaceholderMessage.update_value", false]], "url (agentscope.message.msg attribute)": [[16, "agentscope.message.Msg.url", false]], "user_input() (in module agentscope.web.studio.utils)": [[81, "agentscope.web.studio.utils.user_input", false]], "useragent (class in agentscope.agents)": [[1, "agentscope.agents.UserAgent", false]], "useragent (class in agentscope.agents.user_agent)": [[9, "agentscope.agents.user_agent.UserAgent", false]], "useragentnode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.UserAgentNode", false]], "wait_until_terminate() (agentscope.server.launcher.rpcagentserverlauncher method)": [[43, "agentscope.server.launcher.RpcAgentServerLauncher.wait_until_terminate", false]], "wait_until_terminate() (agentscope.server.rpcagentserverlauncher method)": [[42, "agentscope.server.RpcAgentServerLauncher.wait_until_terminate", false]], "whilelooppipeline (class in agentscope.pipelines)": [[34, "agentscope.pipelines.WhileLoopPipeline", false]], "whilelooppipeline (class in agentscope.pipelines.pipeline)": [[36, "agentscope.pipelines.pipeline.WhileLoopPipeline", false]], "whilelooppipeline() (in module agentscope.pipelines)": [[34, "agentscope.pipelines.whilelooppipeline", false]], "whilelooppipeline() (in module agentscope.pipelines.functional)": [[35, "agentscope.pipelines.functional.whilelooppipeline", false]], "whilelooppipelinenode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.WhileLoopPipelineNode", false]], "workflownode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.WorkflowNode", false]], "workflownodetype (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.WorkflowNodeType", false]], "write_file() (in module agentscope.utils.common)": [[72, "agentscope.utils.common.write_file", false]], "write_json_file() (in module agentscope.service)": [[45, "agentscope.service.write_json_file", false]], "write_json_file() (in module agentscope.service.file.json)": [[51, "agentscope.service.file.json.write_json_file", false]], "write_text_file() (in module agentscope.service)": [[45, "agentscope.service.write_text_file", false]], "write_text_file() (in module agentscope.service.file.text)": [[52, "agentscope.service.file.text.write_text_file", false]], "writetextservicenode (class in agentscope.web.workstation.workflow_node)": [[85, "agentscope.web.workstation.workflow_node.WriteTextServiceNode", false]], "zhipuaichatwrapper (class in agentscope.models)": [[17, "agentscope.models.ZhipuAIChatWrapper", false]], "zhipuaichatwrapper (class in agentscope.models.zhipu_model)": [[27, "agentscope.models.zhipu_model.ZhipuAIChatWrapper", false]], "zhipuaiembeddingwrapper (class in agentscope.models)": [[17, "agentscope.models.ZhipuAIEmbeddingWrapper", false]], "zhipuaiembeddingwrapper (class in agentscope.models.zhipu_model)": [[27, "agentscope.models.zhipu_model.ZhipuAIEmbeddingWrapper", false]], "zhipuaiwrapperbase (class in agentscope.models.zhipu_model)": [[27, "agentscope.models.zhipu_model.ZhipuAIWrapperBase", false]]}, "objects": {"": [[0, 0, 0, "-", "agentscope"]], "agentscope": [[1, 0, 0, "-", "agents"], [10, 0, 0, "-", "constants"], [11, 0, 0, "-", "exception"], [12, 0, 0, "-", "file_manager"], [0, 6, 1, "", "init"], [13, 0, 0, "-", "memory"], [16, 0, 0, "-", "message"], [17, 0, 0, "-", "models"], [28, 0, 0, "-", "msghub"], [29, 0, 0, "-", "parsers"], [34, 0, 0, "-", "pipelines"], [37, 0, 0, "-", "prompt"], [38, 0, 0, "-", "rpc"], [42, 0, 0, "-", "server"], [45, 0, 0, "-", "service"], [71, 0, 0, "-", "utils"], [77, 0, 0, "-", "web"]], "agentscope.agents": [[1, 1, 1, "", "AgentBase"], [1, 1, 1, "", "DialogAgent"], [1, 1, 1, "", "DictDialogAgent"], [1, 1, 1, "", "DistConf"], [1, 1, 1, "", "Operator"], [1, 1, 1, "", "ReActAgent"], [1, 1, 1, "", "RpcAgent"], [1, 1, 1, "", "TextToImageAgent"], [1, 1, 1, "", "UserAgent"], [2, 0, 0, "-", "agent"], [3, 0, 0, "-", "dialog_agent"], [4, 0, 0, "-", "dict_dialog_agent"], [5, 0, 0, "-", "operator"], [6, 0, 0, "-", "react_agent"], [7, 0, 0, "-", "rpc_agent"], [8, 0, 0, "-", "text_to_image_agent"], [9, 0, 0, "-", "user_agent"]], "agentscope.agents.AgentBase": [[1, 2, 1, "", "__init__"], [1, 3, 1, "", "agent_id"], [1, 2, 1, "", "clear_audience"], [1, 2, 1, "", "export_config"], [1, 2, 1, "", "generate_agent_id"], [1, 2, 1, "", "get_agent_class"], [1, 2, 1, "", "load_from_config"], [1, 2, 1, "", "load_memory"], [1, 2, 1, "", "observe"], [1, 2, 1, "", "register_agent_class"], [1, 2, 1, "", "reply"], [1, 2, 1, "", "reset_audience"], [1, 2, 1, "", "rm_audience"], [1, 2, 1, "", "speak"], [1, 2, 1, "", "to_dist"]], "agentscope.agents.DialogAgent": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "reply"]], "agentscope.agents.DictDialogAgent": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "reply"], [1, 2, 1, "", "set_parser"]], "agentscope.agents.DistConf": [[1, 2, 1, "", "__init__"]], "agentscope.agents.ReActAgent": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "reply"]], "agentscope.agents.RpcAgent": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "clone_instances"], [1, 2, 1, "", "observe"], [1, 2, 1, "", "reply"], [1, 2, 1, "", "stop"]], "agentscope.agents.TextToImageAgent": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "reply"]], "agentscope.agents.UserAgent": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "reply"], [1, 2, 1, "", "speak"]], "agentscope.agents.agent": [[2, 1, 1, "", "AgentBase"], [2, 1, 1, "", "DistConf"]], "agentscope.agents.agent.AgentBase": [[2, 2, 1, "", "__init__"], [2, 3, 1, "", "agent_id"], [2, 2, 1, "", "clear_audience"], [2, 2, 1, "", "export_config"], [2, 2, 1, "", "generate_agent_id"], [2, 2, 1, "", "get_agent_class"], [2, 2, 1, "", "load_from_config"], [2, 2, 1, "", "load_memory"], [2, 2, 1, "", "observe"], [2, 2, 1, "", "register_agent_class"], [2, 2, 1, "", "reply"], [2, 2, 1, "", "reset_audience"], [2, 2, 1, "", "rm_audience"], [2, 2, 1, "", "speak"], [2, 2, 1, "", "to_dist"]], "agentscope.agents.agent.DistConf": [[2, 2, 1, "", "__init__"]], "agentscope.agents.dialog_agent": [[3, 1, 1, "", "DialogAgent"]], "agentscope.agents.dialog_agent.DialogAgent": [[3, 2, 1, "", "__init__"], [3, 2, 1, "", "reply"]], "agentscope.agents.dict_dialog_agent": [[4, 1, 1, "", "DictDialogAgent"]], "agentscope.agents.dict_dialog_agent.DictDialogAgent": [[4, 2, 1, "", "__init__"], [4, 2, 1, "", "reply"], [4, 2, 1, "", "set_parser"]], "agentscope.agents.operator": [[5, 1, 1, "", "Operator"]], "agentscope.agents.react_agent": [[6, 1, 1, "", "ReActAgent"]], "agentscope.agents.react_agent.ReActAgent": [[6, 2, 1, "", "__init__"], [6, 2, 1, "", "reply"]], "agentscope.agents.rpc_agent": [[7, 1, 1, "", "RpcAgent"]], "agentscope.agents.rpc_agent.RpcAgent": [[7, 2, 1, "", "__init__"], [7, 2, 1, "", "clone_instances"], [7, 2, 1, "", "observe"], [7, 2, 1, "", "reply"], [7, 2, 1, "", "stop"]], "agentscope.agents.text_to_image_agent": [[8, 1, 1, "", "TextToImageAgent"]], "agentscope.agents.text_to_image_agent.TextToImageAgent": [[8, 2, 1, "", "__init__"], [8, 2, 1, "", "reply"]], "agentscope.agents.user_agent": [[9, 1, 1, "", "UserAgent"]], "agentscope.agents.user_agent.UserAgent": [[9, 2, 1, "", "__init__"], [9, 2, 1, "", "reply"], [9, 2, 1, "", "speak"]], "agentscope.constants": [[10, 1, 1, "", "ResponseFormat"], [10, 1, 1, "", "ShrinkPolicy"]], "agentscope.constants.ResponseFormat": [[10, 4, 1, "", "JSON"], [10, 4, 1, "", "NONE"]], "agentscope.constants.ShrinkPolicy": [[10, 4, 1, "", "SUMMARIZE"], [10, 4, 1, "", "TRUNCATE"]], "agentscope.exception": [[11, 5, 1, "", "ArgumentNotFoundError"], [11, 5, 1, "", "ArgumentTypeError"], [11, 5, 1, "", "FunctionCallError"], [11, 5, 1, "", "FunctionCallFormatError"], [11, 5, 1, "", "FunctionNotFoundError"], [11, 5, 1, "", "JsonDictValidationError"], [11, 5, 1, "", "JsonParsingError"], [11, 5, 1, "", "JsonTypeError"], [11, 5, 1, "", "RequiredFieldNotFoundError"], [11, 5, 1, "", "ResponseParsingError"], [11, 5, 1, "", "TagNotFoundError"]], "agentscope.exception.FunctionCallError": [[11, 2, 1, "", "__init__"]], "agentscope.exception.ResponseParsingError": [[11, 2, 1, "", "__init__"], [11, 4, 1, "", "raw_response"]], "agentscope.exception.TagNotFoundError": [[11, 2, 1, "", "__init__"], [11, 4, 1, "", "missing_begin_tag"], [11, 4, 1, "", "missing_end_tag"]], "agentscope.memory": [[13, 1, 1, "", "MemoryBase"], [13, 1, 1, "", "TemporaryMemory"], [14, 0, 0, "-", "memory"], [15, 0, 0, "-", "temporary_memory"]], "agentscope.memory.MemoryBase": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "add"], [13, 2, 1, "", "clear"], [13, 2, 1, "", "delete"], [13, 2, 1, "", "export"], [13, 2, 1, "", "get_memory"], [13, 2, 1, "", "load"], [13, 2, 1, "", "size"], [13, 2, 1, "", "update_config"]], "agentscope.memory.TemporaryMemory": [[13, 2, 1, "", "__init__"], [13, 2, 1, "", "add"], [13, 2, 1, "", "clear"], [13, 2, 1, "", "delete"], [13, 2, 1, "", "export"], [13, 2, 1, "", "get_embeddings"], [13, 2, 1, "", "get_memory"], [13, 2, 1, "", "load"], [13, 2, 1, "", "retrieve_by_embedding"], [13, 2, 1, "", "size"]], "agentscope.memory.memory": [[14, 1, 1, "", "MemoryBase"]], "agentscope.memory.memory.MemoryBase": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "add"], [14, 2, 1, "", "clear"], [14, 2, 1, "", "delete"], [14, 2, 1, "", "export"], [14, 2, 1, "", "get_memory"], [14, 2, 1, "", "load"], [14, 2, 1, "", "size"], [14, 2, 1, "", "update_config"]], "agentscope.memory.temporary_memory": [[15, 1, 1, "", "TemporaryMemory"]], "agentscope.memory.temporary_memory.TemporaryMemory": [[15, 2, 1, "", "__init__"], [15, 2, 1, "", "add"], [15, 2, 1, "", "clear"], [15, 2, 1, "", "delete"], [15, 2, 1, "", "export"], [15, 2, 1, "", "get_embeddings"], [15, 2, 1, "", "get_memory"], [15, 2, 1, "", "load"], [15, 2, 1, "", "retrieve_by_embedding"], [15, 2, 1, "", "size"]], "agentscope.message": [[16, 1, 1, "", "MessageBase"], [16, 1, 1, "", "Msg"], [16, 1, 1, "", "PlaceholderMessage"], [16, 1, 1, "", "Tht"], [16, 6, 1, "", "deserialize"], [16, 6, 1, "", "serialize"]], "agentscope.message.MessageBase": [[16, 2, 1, "", "__init__"], [16, 2, 1, "", "serialize"], [16, 2, 1, "", "to_str"]], "agentscope.message.Msg": [[16, 2, 1, "", "__init__"], [16, 4, 1, "", "content"], [16, 4, 1, "", "id"], [16, 4, 1, "", "metadata"], [16, 4, 1, "", "name"], [16, 4, 1, "", "role"], [16, 2, 1, "", "serialize"], [16, 4, 1, "", "timestamp"], [16, 2, 1, "", "to_str"], [16, 4, 1, "", "url"]], "agentscope.message.PlaceholderMessage": [[16, 4, 1, "", "LOCAL_ATTRS"], [16, 4, 1, "", "PLACEHOLDER_ATTRS"], [16, 2, 1, "", "__init__"], [16, 2, 1, "", "serialize"], [16, 2, 1, "", "to_str"], [16, 2, 1, "", "update_value"]], "agentscope.message.Tht": [[16, 2, 1, "", "__init__"], [16, 2, 1, "", "serialize"], [16, 2, 1, "", "to_str"]], "agentscope.models": [[17, 1, 1, "", "DashScopeChatWrapper"], [17, 1, 1, "", "DashScopeImageSynthesisWrapper"], [17, 1, 1, "", "DashScopeMultiModalWrapper"], [17, 1, 1, "", "DashScopeTextEmbeddingWrapper"], [17, 1, 1, "", "GeminiChatWrapper"], [17, 1, 1, "", "GeminiEmbeddingWrapper"], [17, 1, 1, "", "LiteLLMChatWrapper"], [17, 1, 1, "", "ModelResponse"], [17, 1, 1, "", "ModelWrapperBase"], [17, 1, 1, "", "OllamaChatWrapper"], [17, 1, 1, "", "OllamaEmbeddingWrapper"], [17, 1, 1, "", "OllamaGenerationWrapper"], [17, 1, 1, "", "OpenAIChatWrapper"], [17, 1, 1, "", "OpenAIDALLEWrapper"], [17, 1, 1, "", "OpenAIEmbeddingWrapper"], [17, 1, 1, "", "OpenAIWrapperBase"], [17, 1, 1, "", "PostAPIChatWrapper"], [17, 1, 1, "", "PostAPIModelWrapperBase"], [17, 1, 1, "", "ZhipuAIChatWrapper"], [17, 1, 1, "", "ZhipuAIEmbeddingWrapper"], [17, 6, 1, "", "clear_model_configs"], [18, 0, 0, "-", "config"], [19, 0, 0, "-", "dashscope_model"], [20, 0, 0, "-", "gemini_model"], [21, 0, 0, "-", "litellm_model"], [17, 6, 1, "", "load_model_by_config_name"], [22, 0, 0, "-", "model"], [23, 0, 0, "-", "ollama_model"], [24, 0, 0, "-", "openai_model"], [25, 0, 0, "-", "post_model"], [17, 6, 1, "", "read_model_configs"], [26, 0, 0, "-", "response"], [27, 0, 0, "-", "zhipu_model"]], "agentscope.models.DashScopeChatWrapper": [[17, 4, 1, "", "deprecated_model_type"], [17, 2, 1, "", "format"], [17, 4, 1, "", "model_type"]], "agentscope.models.DashScopeImageSynthesisWrapper": [[17, 4, 1, "", "model_type"]], "agentscope.models.DashScopeMultiModalWrapper": [[17, 2, 1, "", "convert_url"], [17, 2, 1, "", "format"], [17, 4, 1, "", "model_type"]], "agentscope.models.DashScopeTextEmbeddingWrapper": [[17, 4, 1, "", "model_type"]], "agentscope.models.GeminiChatWrapper": [[17, 2, 1, "", "__init__"], [17, 2, 1, "", "format"], [17, 4, 1, "", "generation_method"], [17, 4, 1, "", "model_type"]], "agentscope.models.GeminiEmbeddingWrapper": [[17, 4, 1, "", "model_type"]], "agentscope.models.LiteLLMChatWrapper": [[17, 2, 1, "", "format"], [17, 4, 1, "", "model_type"]], "agentscope.models.ModelResponse": [[17, 2, 1, "", "__init__"], [17, 4, 1, "", "embedding"], [17, 4, 1, "", "image_urls"], [17, 4, 1, "", "parsed"], [17, 4, 1, "", "raw"], [17, 4, 1, "", "text"]], "agentscope.models.ModelWrapperBase": [[17, 2, 1, "", "__init__"], [17, 4, 1, "", "config_name"], [17, 2, 1, "", "format"], [17, 2, 1, "", "get_wrapper"], [17, 4, 1, "", "model_name"], [17, 4, 1, "", "model_type"], [17, 2, 1, "", "update_monitor"]], "agentscope.models.OllamaChatWrapper": [[17, 2, 1, "", "format"], [17, 4, 1, "", "model_type"]], "agentscope.models.OllamaEmbeddingWrapper": [[17, 2, 1, "", "format"], [17, 4, 1, "", "model_type"]], "agentscope.models.OllamaGenerationWrapper": [[17, 2, 1, "", "format"], [17, 4, 1, "", "model_type"]], "agentscope.models.OpenAIChatWrapper": [[17, 4, 1, "", "deprecated_model_type"], [17, 2, 1, "", "format"], [17, 4, 1, "", "model_type"], [17, 4, 1, "", "substrings_in_vision_models_names"]], "agentscope.models.OpenAIDALLEWrapper": [[17, 4, 1, "", "model_type"]], "agentscope.models.OpenAIEmbeddingWrapper": [[17, 4, 1, "", "model_type"]], "agentscope.models.OpenAIWrapperBase": [[17, 2, 1, "", "__init__"], [17, 2, 1, "", "format"]], "agentscope.models.PostAPIChatWrapper": [[17, 2, 1, "", "format"], [17, 4, 1, "", "model_type"]], "agentscope.models.PostAPIModelWrapperBase": [[17, 2, 1, "", "__init__"], [17, 4, 1, "", "model_type"]], "agentscope.models.ZhipuAIChatWrapper": [[17, 2, 1, "", "format"], [17, 4, 1, "", "model_type"]], "agentscope.models.ZhipuAIEmbeddingWrapper": [[17, 4, 1, "", "model_type"]], "agentscope.models.dashscope_model": [[19, 1, 1, "", "DashScopeChatWrapper"], [19, 1, 1, "", "DashScopeImageSynthesisWrapper"], [19, 1, 1, "", "DashScopeMultiModalWrapper"], [19, 1, 1, "", "DashScopeTextEmbeddingWrapper"], [19, 1, 1, "", "DashScopeWrapperBase"]], "agentscope.models.dashscope_model.DashScopeChatWrapper": [[19, 4, 1, "", "config_name"], [19, 4, 1, "", "deprecated_model_type"], [19, 2, 1, "", "format"], [19, 4, 1, "", "model_name"], [19, 4, 1, "", "model_type"]], "agentscope.models.dashscope_model.DashScopeImageSynthesisWrapper": [[19, 4, 1, "", "config_name"], [19, 4, 1, "", "model_name"], [19, 4, 1, "", "model_type"]], "agentscope.models.dashscope_model.DashScopeMultiModalWrapper": [[19, 4, 1, "", "config_name"], [19, 2, 1, "", "convert_url"], [19, 2, 1, "", "format"], [19, 4, 1, "", "model_name"], [19, 4, 1, "", "model_type"]], "agentscope.models.dashscope_model.DashScopeTextEmbeddingWrapper": [[19, 4, 1, "", "config_name"], [19, 4, 1, "", "model_name"], [19, 4, 1, "", "model_type"]], "agentscope.models.dashscope_model.DashScopeWrapperBase": [[19, 2, 1, "", "__init__"], [19, 2, 1, "", "format"]], "agentscope.models.gemini_model": [[20, 1, 1, "", "GeminiChatWrapper"], [20, 1, 1, "", "GeminiEmbeddingWrapper"], [20, 1, 1, "", "GeminiWrapperBase"]], "agentscope.models.gemini_model.GeminiChatWrapper": [[20, 2, 1, "", "__init__"], [20, 4, 1, "", "config_name"], [20, 2, 1, "", "format"], [20, 4, 1, "", "generation_method"], [20, 4, 1, "", "model_name"], [20, 4, 1, "", "model_type"]], "agentscope.models.gemini_model.GeminiEmbeddingWrapper": [[20, 4, 1, "", "config_name"], [20, 4, 1, "", "model_name"], [20, 4, 1, "", "model_type"]], "agentscope.models.gemini_model.GeminiWrapperBase": [[20, 2, 1, "", "__init__"], [20, 2, 1, "", "list_models"]], "agentscope.models.litellm_model": [[21, 1, 1, "", "LiteLLMChatWrapper"], [21, 1, 1, "", "LiteLLMWrapperBase"]], "agentscope.models.litellm_model.LiteLLMChatWrapper": [[21, 4, 1, "", "config_name"], [21, 2, 1, "", "format"], [21, 4, 1, "", "model_name"], [21, 4, 1, "", "model_type"]], "agentscope.models.litellm_model.LiteLLMWrapperBase": [[21, 2, 1, "", "__init__"], [21, 2, 1, "", "format"]], "agentscope.models.model": [[22, 1, 1, "", "ModelWrapperBase"]], "agentscope.models.model.ModelWrapperBase": [[22, 2, 1, "", "__init__"], [22, 4, 1, "", "config_name"], [22, 2, 1, "", "format"], [22, 2, 1, "", "get_wrapper"], [22, 4, 1, "", "model_name"], [22, 4, 1, "", "model_type"], [22, 2, 1, "", "update_monitor"]], "agentscope.models.ollama_model": [[23, 1, 1, "", "OllamaChatWrapper"], [23, 1, 1, "", "OllamaEmbeddingWrapper"], [23, 1, 1, "", "OllamaGenerationWrapper"], [23, 1, 1, "", "OllamaWrapperBase"]], "agentscope.models.ollama_model.OllamaChatWrapper": [[23, 4, 1, "", "config_name"], [23, 2, 1, "", "format"], [23, 4, 1, "", "keep_alive"], [23, 4, 1, "", "model_name"], [23, 4, 1, "", "model_type"], [23, 4, 1, "", "options"]], "agentscope.models.ollama_model.OllamaEmbeddingWrapper": [[23, 4, 1, "", "config_name"], [23, 2, 1, "", "format"], [23, 4, 1, "", "keep_alive"], [23, 4, 1, "", "model_name"], [23, 4, 1, "", "model_type"], [23, 4, 1, "", "options"]], "agentscope.models.ollama_model.OllamaGenerationWrapper": [[23, 4, 1, "", "config_name"], [23, 2, 1, "", "format"], [23, 4, 1, "", "keep_alive"], [23, 4, 1, "", "model_name"], [23, 4, 1, "", "model_type"], [23, 4, 1, "", "options"]], "agentscope.models.ollama_model.OllamaWrapperBase": [[23, 2, 1, "", "__init__"], [23, 4, 1, "", "keep_alive"], [23, 4, 1, "", "model_name"], [23, 4, 1, "", "model_type"], [23, 4, 1, "", "options"]], "agentscope.models.openai_model": [[24, 1, 1, "", "OpenAIChatWrapper"], [24, 1, 1, "", "OpenAIDALLEWrapper"], [24, 1, 1, "", "OpenAIEmbeddingWrapper"], [24, 1, 1, "", "OpenAIWrapperBase"]], "agentscope.models.openai_model.OpenAIChatWrapper": [[24, 4, 1, "", "config_name"], [24, 4, 1, "", "deprecated_model_type"], [24, 2, 1, "", "format"], [24, 4, 1, "", "model_name"], [24, 4, 1, "", "model_type"], [24, 4, 1, "", "substrings_in_vision_models_names"]], "agentscope.models.openai_model.OpenAIDALLEWrapper": [[24, 4, 1, "", "config_name"], [24, 4, 1, "", "model_name"], [24, 4, 1, "", "model_type"]], "agentscope.models.openai_model.OpenAIEmbeddingWrapper": [[24, 4, 1, "", "config_name"], [24, 4, 1, "", "model_name"], [24, 4, 1, "", "model_type"]], "agentscope.models.openai_model.OpenAIWrapperBase": [[24, 2, 1, "", "__init__"], [24, 2, 1, "", "format"]], "agentscope.models.post_model": [[25, 1, 1, "", "PostAPIChatWrapper"], [25, 1, 1, "", "PostAPIDALLEWrapper"], [25, 1, 1, "", "PostAPIEmbeddingWrapper"], [25, 1, 1, "", "PostAPIModelWrapperBase"]], "agentscope.models.post_model.PostAPIChatWrapper": [[25, 4, 1, "", "config_name"], [25, 2, 1, "", "format"], [25, 4, 1, "", "model_name"], [25, 4, 1, "", "model_type"]], "agentscope.models.post_model.PostAPIDALLEWrapper": [[25, 4, 1, "", "deprecated_model_type"], [25, 2, 1, "", "format"], [25, 4, 1, "", "model_type"]], "agentscope.models.post_model.PostAPIEmbeddingWrapper": [[25, 2, 1, "", "format"], [25, 4, 1, "", "model_type"]], "agentscope.models.post_model.PostAPIModelWrapperBase": [[25, 2, 1, "", "__init__"], [25, 4, 1, "", "config_name"], [25, 4, 1, "", "model_name"], [25, 4, 1, "", "model_type"]], "agentscope.models.response": [[26, 1, 1, "", "ModelResponse"]], "agentscope.models.response.ModelResponse": [[26, 2, 1, "", "__init__"], [26, 4, 1, "", "embedding"], [26, 4, 1, "", "image_urls"], [26, 4, 1, "", "parsed"], [26, 4, 1, "", "raw"], [26, 4, 1, "", "text"]], "agentscope.models.zhipu_model": [[27, 1, 1, "", "ZhipuAIChatWrapper"], [27, 1, 1, "", "ZhipuAIEmbeddingWrapper"], [27, 1, 1, "", "ZhipuAIWrapperBase"]], "agentscope.models.zhipu_model.ZhipuAIChatWrapper": [[27, 4, 1, "", "config_name"], [27, 2, 1, "", "format"], [27, 4, 1, "", "model_name"], [27, 4, 1, "", "model_type"]], "agentscope.models.zhipu_model.ZhipuAIEmbeddingWrapper": [[27, 4, 1, "", "config_name"], [27, 4, 1, "", "model_name"], [27, 4, 1, "", "model_type"]], "agentscope.models.zhipu_model.ZhipuAIWrapperBase": [[27, 2, 1, "", "__init__"], [27, 2, 1, "", "format"]], "agentscope.msghub": [[28, 1, 1, "", "MsgHubManager"], [28, 6, 1, "", "msghub"]], "agentscope.msghub.MsgHubManager": [[28, 2, 1, "", "__init__"], [28, 2, 1, "", "add"], [28, 2, 1, "", "broadcast"], [28, 2, 1, "", "delete"]], "agentscope.parsers": [[29, 1, 1, "", "MarkdownCodeBlockParser"], [29, 1, 1, "", "MarkdownJsonDictParser"], [29, 1, 1, "", "MarkdownJsonObjectParser"], [29, 1, 1, "", "MultiTaggedContentParser"], [29, 1, 1, "", "ParserBase"], [29, 1, 1, "", "TaggedContent"], [30, 0, 0, "-", "code_block_parser"], [31, 0, 0, "-", "json_object_parser"], [32, 0, 0, "-", "parser_base"], [33, 0, 0, "-", "tagged_content_parser"]], "agentscope.parsers.MarkdownCodeBlockParser": [[29, 2, 1, "", "__init__"], [29, 4, 1, "", "content_hint"], [29, 4, 1, "", "format_instruction"], [29, 4, 1, "", "name"], [29, 2, 1, "", "parse"], [29, 4, 1, "", "tag_begin"], [29, 4, 1, "", "tag_end"]], "agentscope.parsers.MarkdownJsonDictParser": [[29, 2, 1, "", "__init__"], [29, 4, 1, "", "content_hint"], [29, 3, 1, "", "format_instruction"], [29, 4, 1, "", "name"], [29, 2, 1, "", "parse"], [29, 4, 1, "", "required_keys"], [29, 4, 1, "", "tag_begin"], [29, 4, 1, "", "tag_end"]], "agentscope.parsers.MarkdownJsonObjectParser": [[29, 2, 1, "", "__init__"], [29, 4, 1, "", "content_hint"], [29, 3, 1, "", "format_instruction"], [29, 4, 1, "", "name"], [29, 2, 1, "", "parse"], [29, 4, 1, "", "tag_begin"], [29, 4, 1, "", "tag_end"]], "agentscope.parsers.MultiTaggedContentParser": [[29, 2, 1, "", "__init__"], [29, 4, 1, "", "format_instruction"], [29, 4, 1, "", "json_required_hint"], [29, 2, 1, "", "parse"]], "agentscope.parsers.ParserBase": [[29, 2, 1, "", "parse"]], "agentscope.parsers.TaggedContent": [[29, 2, 1, "", "__init__"], [29, 4, 1, "", "content_hint"], [29, 4, 1, "", "name"], [29, 4, 1, "", "parse_json"], [29, 4, 1, "", "tag_begin"], [29, 4, 1, "", "tag_end"]], "agentscope.parsers.code_block_parser": [[30, 1, 1, "", "MarkdownCodeBlockParser"]], "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser": [[30, 2, 1, "", "__init__"], [30, 4, 1, "", "content_hint"], [30, 4, 1, "", "format_instruction"], [30, 4, 1, "", "name"], [30, 2, 1, "", "parse"], [30, 4, 1, "", "tag_begin"], [30, 4, 1, "", "tag_end"]], "agentscope.parsers.json_object_parser": [[31, 1, 1, "", "MarkdownJsonDictParser"], [31, 1, 1, "", "MarkdownJsonObjectParser"]], "agentscope.parsers.json_object_parser.MarkdownJsonDictParser": [[31, 2, 1, "", "__init__"], [31, 4, 1, "", "content_hint"], [31, 3, 1, "", "format_instruction"], [31, 4, 1, "", "name"], [31, 2, 1, "", "parse"], [31, 4, 1, "", "required_keys"], [31, 4, 1, "", "tag_begin"], [31, 4, 1, "", "tag_end"]], "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser": [[31, 2, 1, "", "__init__"], [31, 4, 1, "", "content_hint"], [31, 3, 1, "", "format_instruction"], [31, 4, 1, "", "name"], [31, 2, 1, "", "parse"], [31, 4, 1, "", "tag_begin"], [31, 4, 1, "", "tag_end"]], "agentscope.parsers.parser_base": [[32, 1, 1, "", "DictFilterMixin"], [32, 1, 1, "", "ParserBase"]], "agentscope.parsers.parser_base.DictFilterMixin": [[32, 2, 1, "", "__init__"], [32, 2, 1, "", "to_content"], [32, 2, 1, "", "to_memory"], [32, 2, 1, "", "to_metadata"]], "agentscope.parsers.parser_base.ParserBase": [[32, 2, 1, "", "parse"]], "agentscope.parsers.tagged_content_parser": [[33, 1, 1, "", "MultiTaggedContentParser"], [33, 1, 1, "", "TaggedContent"]], "agentscope.parsers.tagged_content_parser.MultiTaggedContentParser": [[33, 2, 1, "", "__init__"], [33, 4, 1, "", "format_instruction"], [33, 4, 1, "", "json_required_hint"], [33, 2, 1, "", "parse"]], "agentscope.parsers.tagged_content_parser.TaggedContent": [[33, 2, 1, "", "__init__"], [33, 4, 1, "", "content_hint"], [33, 4, 1, "", "name"], [33, 4, 1, "", "parse_json"], [33, 4, 1, "", "tag_begin"], [33, 4, 1, "", "tag_end"]], "agentscope.pipelines": [[34, 1, 1, "", "ForLoopPipeline"], [34, 1, 1, "", "IfElsePipeline"], [34, 1, 1, "", "PipelineBase"], [34, 1, 1, "", "SequentialPipeline"], [34, 1, 1, "", "SwitchPipeline"], [34, 1, 1, "", "WhileLoopPipeline"], [34, 6, 1, "", "forlooppipeline"], [35, 0, 0, "-", "functional"], [34, 6, 1, "", "ifelsepipeline"], [36, 0, 0, "-", "pipeline"], [34, 6, 1, "", "sequentialpipeline"], [34, 6, 1, "", "switchpipeline"], [34, 6, 1, "", "whilelooppipeline"]], "agentscope.pipelines.ForLoopPipeline": [[34, 2, 1, "", "__init__"]], "agentscope.pipelines.IfElsePipeline": [[34, 2, 1, "", "__init__"]], "agentscope.pipelines.PipelineBase": [[34, 2, 1, "", "__init__"]], "agentscope.pipelines.SequentialPipeline": [[34, 2, 1, "", "__init__"]], "agentscope.pipelines.SwitchPipeline": [[34, 2, 1, "", "__init__"]], "agentscope.pipelines.WhileLoopPipeline": [[34, 2, 1, "", "__init__"]], "agentscope.pipelines.functional": [[35, 6, 1, "", "forlooppipeline"], [35, 6, 1, "", "ifelsepipeline"], [35, 6, 1, "", "placeholder"], [35, 6, 1, "", "sequentialpipeline"], [35, 6, 1, "", "switchpipeline"], [35, 6, 1, "", "whilelooppipeline"]], "agentscope.pipelines.pipeline": [[36, 1, 1, "", "ForLoopPipeline"], [36, 1, 1, "", "IfElsePipeline"], [36, 1, 1, "", "PipelineBase"], [36, 1, 1, "", "SequentialPipeline"], [36, 1, 1, "", "SwitchPipeline"], [36, 1, 1, "", "WhileLoopPipeline"]], "agentscope.pipelines.pipeline.ForLoopPipeline": [[36, 2, 1, "", "__init__"]], "agentscope.pipelines.pipeline.IfElsePipeline": [[36, 2, 1, "", "__init__"]], "agentscope.pipelines.pipeline.PipelineBase": [[36, 2, 1, "", "__init__"]], "agentscope.pipelines.pipeline.SequentialPipeline": [[36, 2, 1, "", "__init__"]], "agentscope.pipelines.pipeline.SwitchPipeline": [[36, 2, 1, "", "__init__"]], "agentscope.pipelines.pipeline.WhileLoopPipeline": [[36, 2, 1, "", "__init__"]], "agentscope.prompt": [[37, 1, 1, "", "PromptEngine"], [37, 1, 1, "", "PromptType"]], "agentscope.prompt.PromptEngine": [[37, 2, 1, "", "__init__"], [37, 2, 1, "", "join"], [37, 2, 1, "", "join_to_list"], [37, 2, 1, "", "join_to_str"]], "agentscope.prompt.PromptType": [[37, 4, 1, "", "LIST"], [37, 4, 1, "", "STRING"]], "agentscope.rpc": [[38, 1, 1, "", "ResponseStub"], [38, 1, 1, "", "RpcAgentClient"], [38, 1, 1, "", "RpcAgentServicer"], [38, 1, 1, "", "RpcAgentStub"], [38, 1, 1, "", "RpcMsg"], [38, 6, 1, "", "add_RpcAgentServicer_to_server"], [38, 6, 1, "", "call_in_thread"], [39, 0, 0, "-", "rpc_agent_client"], [40, 0, 0, "-", "rpc_agent_pb2"], [41, 0, 0, "-", "rpc_agent_pb2_grpc"]], "agentscope.rpc.ResponseStub": [[38, 2, 1, "", "__init__"], [38, 2, 1, "", "get_response"], [38, 2, 1, "", "set_response"]], "agentscope.rpc.RpcAgentClient": [[38, 2, 1, "", "__init__"], [38, 2, 1, "", "call_func"], [38, 2, 1, "", "create_agent"], [38, 2, 1, "", "delete_agent"]], "agentscope.rpc.RpcAgentServicer": [[38, 2, 1, "", "call_func"]], "agentscope.rpc.RpcAgentStub": [[38, 2, 1, "", "__init__"]], "agentscope.rpc.RpcMsg": [[38, 4, 1, "", "DESCRIPTOR"]], "agentscope.rpc.rpc_agent_client": [[39, 1, 1, "", "ResponseStub"], [39, 1, 1, "", "RpcAgentClient"], [39, 6, 1, "", "call_in_thread"]], "agentscope.rpc.rpc_agent_client.ResponseStub": [[39, 2, 1, "", "__init__"], [39, 2, 1, "", "get_response"], [39, 2, 1, "", "set_response"]], "agentscope.rpc.rpc_agent_client.RpcAgentClient": [[39, 2, 1, "", "__init__"], [39, 2, 1, "", "call_func"], [39, 2, 1, "", "create_agent"], [39, 2, 1, "", "delete_agent"]], "agentscope.rpc.rpc_agent_pb2_grpc": [[41, 1, 1, "", "RpcAgent"], [41, 1, 1, "", "RpcAgentServicer"], [41, 1, 1, "", "RpcAgentStub"], [41, 6, 1, "", "add_RpcAgentServicer_to_server"]], "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgent": [[41, 2, 1, "", "call_func"]], "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgentServicer": [[41, 2, 1, "", "call_func"]], "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgentStub": [[41, 2, 1, "", "__init__"]], "agentscope.server": [[42, 1, 1, "", "AgentServerServicer"], [42, 1, 1, "", "RpcAgentServerLauncher"], [42, 6, 1, "", "as_server"], [43, 0, 0, "-", "launcher"], [44, 0, 0, "-", "servicer"]], "agentscope.server.AgentServerServicer": [[42, 2, 1, "", "__init__"], [42, 2, 1, "", "agent_exists"], [42, 2, 1, "", "call_func"], [42, 2, 1, "", "check_and_delete_agent"], [42, 2, 1, "", "check_and_generate_agent"], [42, 2, 1, "", "get_task_id"], [42, 2, 1, "", "process_messages"]], "agentscope.server.RpcAgentServerLauncher": [[42, 2, 1, "", "__init__"], [42, 2, 1, "", "generate_server_id"], [42, 2, 1, "", "launch"], [42, 2, 1, "", "shutdown"], [42, 2, 1, "", "wait_until_terminate"]], "agentscope.server.launcher": [[43, 1, 1, "", "RpcAgentServerLauncher"], [43, 6, 1, "", "as_server"]], "agentscope.server.launcher.RpcAgentServerLauncher": [[43, 2, 1, "", "__init__"], [43, 2, 1, "", "generate_server_id"], [43, 2, 1, "", "launch"], [43, 2, 1, "", "shutdown"], [43, 2, 1, "", "wait_until_terminate"]], "agentscope.server.servicer": [[44, 1, 1, "", "AgentServerServicer"]], "agentscope.server.servicer.AgentServerServicer": [[44, 2, 1, "", "__init__"], [44, 2, 1, "", "agent_exists"], [44, 2, 1, "", "call_func"], [44, 2, 1, "", "check_and_delete_agent"], [44, 2, 1, "", "check_and_generate_agent"], [44, 2, 1, "", "get_task_id"], [44, 2, 1, "", "process_messages"]], "agentscope.service": [[45, 1, 1, "", "ServiceExecStatus"], [45, 1, 1, "", "ServiceFactory"], [45, 1, 1, "", "ServiceResponse"], [45, 1, 1, "", "ServiceToolkit"], [45, 6, 1, "", "arxiv_search"], [45, 6, 1, "", "bing_search"], [45, 6, 1, "", "cos_sim"], [45, 6, 1, "", "create_directory"], [45, 6, 1, "", "create_file"], [45, 6, 1, "", "dashscope_image_to_text"], [45, 6, 1, "", "dashscope_text_to_audio"], [45, 6, 1, "", "dashscope_text_to_image"], [45, 6, 1, "", "dblp_search_authors"], [45, 6, 1, "", "dblp_search_publications"], [45, 6, 1, "", "dblp_search_venues"], [45, 6, 1, "", "delete_directory"], [45, 6, 1, "", "delete_file"], [45, 6, 1, "", "digest_webpage"], [45, 6, 1, "", "download_from_url"], [46, 0, 0, "-", "execute_code"], [45, 6, 1, "", "execute_python_code"], [45, 6, 1, "", "execute_shell_command"], [49, 0, 0, "-", "file"], [45, 6, 1, "", "get_current_directory"], [45, 6, 1, "", "get_help"], [45, 6, 1, "", "google_search"], [45, 6, 1, "", "list_directory_content"], [45, 6, 1, "", "load_web"], [45, 6, 1, "", "move_directory"], [45, 6, 1, "", "move_file"], [45, 6, 1, "", "parse_html_to_text"], [45, 6, 1, "", "query_mongodb"], [45, 6, 1, "", "query_mysql"], [45, 6, 1, "", "query_sqlite"], [45, 6, 1, "", "read_json_file"], [45, 6, 1, "", "read_text_file"], [53, 0, 0, "-", "retrieval"], [45, 6, 1, "", "retrieve_from_list"], [56, 0, 0, "-", "service_response"], [57, 0, 0, "-", "service_status"], [58, 0, 0, "-", "service_toolkit"], [59, 0, 0, "-", "sql_query"], [45, 6, 1, "", "summarization"], [63, 0, 0, "-", "text_processing"], [65, 0, 0, "-", "web"], [45, 6, 1, "", "write_json_file"], [45, 6, 1, "", "write_text_file"]], "agentscope.service.ServiceExecStatus": [[45, 4, 1, "", "ERROR"], [45, 4, 1, "", "SUCCESS"]], "agentscope.service.ServiceFactory": [[45, 2, 1, "", "get"]], "agentscope.service.ServiceResponse": [[45, 2, 1, "", "__init__"]], "agentscope.service.ServiceToolkit": [[45, 2, 1, "", "__init__"], [45, 2, 1, "", "add"], [45, 2, 1, "", "get"], [45, 3, 1, "", "json_schemas"], [45, 2, 1, "", "parse_and_call_func"], [45, 4, 1, "", "service_funcs"], [45, 3, 1, "", "tools_calling_format"], [45, 3, 1, "", "tools_instruction"]], "agentscope.service.execute_code": [[47, 0, 0, "-", "exec_python"], [48, 0, 0, "-", "exec_shell"]], "agentscope.service.execute_code.exec_python": [[47, 6, 1, "", "execute_python_code"], [47, 6, 1, "", "sys_python_guard"]], "agentscope.service.execute_code.exec_shell": [[48, 6, 1, "", "execute_shell_command"]], "agentscope.service.file": [[50, 0, 0, "-", "common"], [51, 0, 0, "-", "json"], [52, 0, 0, "-", "text"]], "agentscope.service.file.common": [[50, 6, 1, "", "create_directory"], [50, 6, 1, "", "create_file"], [50, 6, 1, "", "delete_directory"], [50, 6, 1, "", "delete_file"], [50, 6, 1, "", "get_current_directory"], [50, 6, 1, "", "list_directory_content"], [50, 6, 1, "", "move_directory"], [50, 6, 1, "", "move_file"]], "agentscope.service.file.json": [[51, 6, 1, "", "read_json_file"], [51, 6, 1, "", "write_json_file"]], "agentscope.service.file.text": [[52, 6, 1, "", "read_text_file"], [52, 6, 1, "", "write_text_file"]], "agentscope.service.retrieval": [[54, 0, 0, "-", "retrieval_from_list"], [55, 0, 0, "-", "similarity"]], "agentscope.service.retrieval.retrieval_from_list": [[54, 6, 1, "", "retrieve_from_list"]], "agentscope.service.retrieval.similarity": [[55, 6, 1, "", "cos_sim"]], "agentscope.service.service_response": [[56, 1, 1, "", "ServiceResponse"]], "agentscope.service.service_response.ServiceResponse": [[56, 2, 1, "", "__init__"]], "agentscope.service.service_status": [[57, 1, 1, "", "ServiceExecStatus"]], "agentscope.service.service_status.ServiceExecStatus": [[57, 4, 1, "", "ERROR"], [57, 4, 1, "", "SUCCESS"]], "agentscope.service.service_toolkit": [[58, 1, 1, "", "ServiceFactory"], [58, 1, 1, "", "ServiceFunction"], [58, 1, 1, "", "ServiceToolkit"]], "agentscope.service.service_toolkit.ServiceFactory": [[58, 2, 1, "", "get"]], "agentscope.service.service_toolkit.ServiceFunction": [[58, 2, 1, "", "__init__"], [58, 4, 1, "", "json_schema"], [58, 4, 1, "", "name"], [58, 4, 1, "", "original_func"], [58, 4, 1, "", "processed_func"], [58, 4, 1, "", "require_args"]], "agentscope.service.service_toolkit.ServiceToolkit": [[58, 2, 1, "", "__init__"], [58, 2, 1, "", "add"], [58, 2, 1, "", "get"], [58, 3, 1, "", "json_schemas"], [58, 2, 1, "", "parse_and_call_func"], [58, 4, 1, "", "service_funcs"], [58, 3, 1, "", "tools_calling_format"], [58, 3, 1, "", "tools_instruction"]], "agentscope.service.sql_query": [[60, 0, 0, "-", "mongodb"], [61, 0, 0, "-", "mysql"], [62, 0, 0, "-", "sqlite"]], "agentscope.service.sql_query.mongodb": [[60, 6, 1, "", "query_mongodb"]], "agentscope.service.sql_query.mysql": [[61, 6, 1, "", "query_mysql"]], "agentscope.service.sql_query.sqlite": [[62, 6, 1, "", "query_sqlite"]], "agentscope.service.text_processing": [[64, 0, 0, "-", "summarization"]], "agentscope.service.text_processing.summarization": [[64, 6, 1, "", "summarization"]], "agentscope.service.web": [[66, 0, 0, "-", "arxiv"], [67, 0, 0, "-", "dblp"], [68, 0, 0, "-", "download"], [69, 0, 0, "-", "search"], [70, 0, 0, "-", "web_digest"]], "agentscope.service.web.arxiv": [[66, 6, 1, "", "arxiv_search"]], "agentscope.service.web.dblp": [[67, 6, 1, "", "dblp_search_authors"], [67, 6, 1, "", "dblp_search_publications"], [67, 6, 1, "", "dblp_search_venues"]], "agentscope.service.web.download": [[68, 6, 1, "", "download_from_url"]], "agentscope.service.web.search": [[69, 6, 1, "", "bing_search"], [69, 6, 1, "", "google_search"]], "agentscope.service.web.web_digest": [[70, 6, 1, "", "digest_webpage"], [70, 6, 1, "", "is_valid_url"], [70, 6, 1, "", "load_web"], [70, 6, 1, "", "parse_html_to_text"]], "agentscope.utils": [[71, 1, 1, "", "MonitorBase"], [71, 1, 1, "", "MonitorFactory"], [71, 5, 1, "", "QuotaExceededError"], [72, 0, 0, "-", "common"], [73, 0, 0, "-", "logging_utils"], [74, 0, 0, "-", "monitor"], [71, 6, 1, "", "setup_logger"], [75, 0, 0, "-", "token_utils"], [76, 0, 0, "-", "tools"]], "agentscope.utils.MonitorBase": [[71, 2, 1, "", "add"], [71, 2, 1, "", "clear"], [71, 2, 1, "", "exists"], [71, 2, 1, "", "get_metric"], [71, 2, 1, "", "get_metrics"], [71, 2, 1, "", "get_quota"], [71, 2, 1, "", "get_unit"], [71, 2, 1, "", "get_value"], [71, 2, 1, "", "register"], [71, 2, 1, "", "register_budget"], [71, 2, 1, "", "remove"], [71, 2, 1, "", "set_quota"], [71, 2, 1, "", "update"]], "agentscope.utils.MonitorFactory": [[71, 2, 1, "", "flush"], [71, 2, 1, "", "get_monitor"]], "agentscope.utils.QuotaExceededError": [[71, 2, 1, "", "__init__"]], "agentscope.utils.common": [[72, 6, 1, "", "chdir"], [72, 6, 1, "", "create_tempdir"], [72, 6, 1, "", "requests_get"], [72, 6, 1, "", "timer"], [72, 6, 1, "", "write_file"]], "agentscope.utils.logging_utils": [[73, 6, 1, "", "log_studio"], [73, 6, 1, "", "setup_logger"]], "agentscope.utils.monitor": [[74, 1, 1, "", "DummyMonitor"], [74, 1, 1, "", "MonitorBase"], [74, 1, 1, "", "MonitorFactory"], [74, 5, 1, "", "QuotaExceededError"], [74, 1, 1, "", "SqliteMonitor"], [74, 6, 1, "", "get_full_name"], [74, 6, 1, "", "sqlite_cursor"], [74, 6, 1, "", "sqlite_transaction"]], "agentscope.utils.monitor.DummyMonitor": [[74, 2, 1, "", "add"], [74, 2, 1, "", "clear"], [74, 2, 1, "", "exists"], [74, 2, 1, "", "get_metric"], [74, 2, 1, "", "get_metrics"], [74, 2, 1, "", "get_quota"], [74, 2, 1, "", "get_unit"], [74, 2, 1, "", "get_value"], [74, 2, 1, "", "register"], [74, 2, 1, "", "register_budget"], [74, 2, 1, "", "remove"], [74, 2, 1, "", "set_quota"], [74, 2, 1, "", "update"]], "agentscope.utils.monitor.MonitorBase": [[74, 2, 1, "", "add"], [74, 2, 1, "", "clear"], [74, 2, 1, "", "exists"], [74, 2, 1, "", "get_metric"], [74, 2, 1, "", "get_metrics"], [74, 2, 1, "", "get_quota"], [74, 2, 1, "", "get_unit"], [74, 2, 1, "", "get_value"], [74, 2, 1, "", "register"], [74, 2, 1, "", "register_budget"], [74, 2, 1, "", "remove"], [74, 2, 1, "", "set_quota"], [74, 2, 1, "", "update"]], "agentscope.utils.monitor.MonitorFactory": [[74, 2, 1, "", "flush"], [74, 2, 1, "", "get_monitor"]], "agentscope.utils.monitor.QuotaExceededError": [[74, 2, 1, "", "__init__"]], "agentscope.utils.monitor.SqliteMonitor": [[74, 2, 1, "", "__init__"], [74, 2, 1, "", "add"], [74, 2, 1, "", "clear"], [74, 2, 1, "", "exists"], [74, 2, 1, "", "get_metric"], [74, 2, 1, "", "get_metrics"], [74, 2, 1, "", "get_quota"], [74, 2, 1, "", "get_unit"], [74, 2, 1, "", "get_value"], [74, 2, 1, "", "register"], [74, 2, 1, "", "register_budget"], [74, 2, 1, "", "remove"], [74, 2, 1, "", "set_quota"], [74, 2, 1, "", "update"]], "agentscope.utils.token_utils": [[75, 6, 1, "", "count_openai_token"], [75, 6, 1, "", "get_openai_max_length"], [75, 6, 1, "", "num_tokens_from_content"]], "agentscope.utils.tools": [[76, 1, 1, "", "ImportErrorReporter"], [76, 6, 1, "", "check_port"], [76, 6, 1, "", "find_available_port"], [76, 6, 1, "", "reform_dialogue"], [76, 6, 1, "", "to_dialog_str"], [76, 6, 1, "", "to_openai_dict"]], "agentscope.utils.tools.ImportErrorReporter": [[76, 2, 1, "", "__init__"]], "agentscope.web": [[77, 6, 1, "", "init"], [78, 0, 0, "-", "studio"], [82, 0, 0, "-", "workstation"]], "agentscope.web.studio": [[79, 0, 0, "-", "constants"], [80, 0, 0, "-", "studio"], [81, 0, 0, "-", "utils"]], "agentscope.web.studio.studio": [[80, 6, 1, "", "fn_choice"], [80, 6, 1, "", "get_chat"], [80, 6, 1, "", "import_function_from_path"], [80, 6, 1, "", "init_uid_list"], [80, 6, 1, "", "reset_glb_var"], [80, 6, 1, "", "run_app"], [80, 6, 1, "", "send_audio"], [80, 6, 1, "", "send_image"], [80, 6, 1, "", "send_message"]], "agentscope.web.studio.utils": [[81, 5, 1, "", "ResetException"], [81, 6, 1, "", "audio2text"], [81, 6, 1, "", "check_uuid"], [81, 6, 1, "", "cycle_dots"], [81, 6, 1, "", "generate_image_from_name"], [81, 6, 1, "", "get_chat_msg"], [81, 6, 1, "", "get_player_input"], [81, 6, 1, "", "get_reset_msg"], [81, 6, 1, "", "init_uid_queues"], [81, 6, 1, "", "send_msg"], [81, 6, 1, "", "send_player_input"], [81, 6, 1, "", "send_reset_msg"], [81, 6, 1, "", "user_input"]], "agentscope.web.workstation": [[83, 0, 0, "-", "workflow"], [84, 0, 0, "-", "workflow_dag"], [85, 0, 0, "-", "workflow_node"], [86, 0, 0, "-", "workflow_utils"]], "agentscope.web.workstation.workflow": [[83, 6, 1, "", "compile_workflow"], [83, 6, 1, "", "load_config"], [83, 6, 1, "", "main"], [83, 6, 1, "", "start_workflow"]], "agentscope.web.workstation.workflow_dag": [[84, 1, 1, "", "ASDiGraph"], [84, 6, 1, "", "build_dag"], [84, 6, 1, "", "remove_duplicates_from_end"], [84, 6, 1, "", "sanitize_node_data"]], "agentscope.web.workstation.workflow_dag.ASDiGraph": [[84, 2, 1, "", "__init__"], [84, 2, 1, "", "add_as_node"], [84, 2, 1, "", "compile"], [84, 2, 1, "", "exec_node"], [84, 4, 1, "", "nodes_not_in_graph"], [84, 2, 1, "", "run"]], "agentscope.web.workstation.workflow_node": [[85, 1, 1, "", "BingSearchServiceNode"], [85, 1, 1, "", "CopyNode"], [85, 1, 1, "", "DialogAgentNode"], [85, 1, 1, "", "DictDialogAgentNode"], [85, 1, 1, "", "ForLoopPipelineNode"], [85, 1, 1, "", "GoogleSearchServiceNode"], [85, 1, 1, "", "IfElsePipelineNode"], [85, 1, 1, "", "ModelNode"], [85, 1, 1, "", "MsgHubNode"], [85, 1, 1, "", "MsgNode"], [85, 1, 1, "", "PlaceHolderNode"], [85, 1, 1, "", "PythonServiceNode"], [85, 1, 1, "", "ReActAgentNode"], [85, 1, 1, "", "ReadTextServiceNode"], [85, 1, 1, "", "SequentialPipelineNode"], [85, 1, 1, "", "SwitchPipelineNode"], [85, 1, 1, "", "TextToImageAgentNode"], [85, 1, 1, "", "UserAgentNode"], [85, 1, 1, "", "WhileLoopPipelineNode"], [85, 1, 1, "", "WorkflowNode"], [85, 1, 1, "", "WorkflowNodeType"], [85, 1, 1, "", "WriteTextServiceNode"], [85, 6, 1, "", "get_all_agents"]], "agentscope.web.workstation.workflow_node.BingSearchServiceNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.CopyNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.DialogAgentNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.DictDialogAgentNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.ForLoopPipelineNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.GoogleSearchServiceNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.IfElsePipelineNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.ModelNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.MsgHubNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.MsgNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.PlaceHolderNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.PythonServiceNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.ReActAgentNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.ReadTextServiceNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.SequentialPipelineNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.SwitchPipelineNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.TextToImageAgentNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.UserAgentNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.WhileLoopPipelineNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.WorkflowNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.WorkflowNodeType": [[85, 4, 1, "", "AGENT"], [85, 4, 1, "", "COPY"], [85, 4, 1, "", "MESSAGE"], [85, 4, 1, "", "MODEL"], [85, 4, 1, "", "PIPELINE"], [85, 4, 1, "", "SERVICE"]], "agentscope.web.workstation.workflow_node.WriteTextServiceNode": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "compile"], [85, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_utils": [[86, 6, 1, "", "deps_converter"], [86, 6, 1, "", "dict_converter"], [86, 6, 1, "", "is_callable_expression"], [86, 6, 1, "", "kwarg_converter"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "property", "Python property"], "4": ["py", "attribute", "Python attribute"], "5": ["py", "exception", "Python exception"], "6": ["py", "function", "Python function"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:property", "4": "py:attribute", "5": "py:exception", "6": "py:function"}, "terms": {"": [0, 1, 2, 3, 4, 7, 8, 9, 16, 17, 19, 23, 24, 27, 28, 29, 31, 32, 33, 45, 47, 67, 69, 84, 85, 86, 89, 90, 91, 92, 93, 94, 95, 96, 97, 99, 100, 101, 102, 103, 104], "0": [10, 22, 23, 34, 36, 37, 45, 66, 67, 71, 74, 77, 85, 92, 93, 96], "0001": [45, 67], "0002": [45, 67], "001": [17, 20, 96], "002": [91, 96], "03": [17, 20, 100], "03629": [1, 6], "04": 100, "05": [45, 67], "1": [1, 4, 10, 13, 15, 17, 19, 20, 23, 25, 34, 36, 37, 45, 48, 57, 58, 64, 67, 69, 77, 85, 91, 93, 96, 97, 98], "10": [1, 6, 45, 58, 67, 69, 98, 101], "100": [45, 60, 61, 96], "1000": 101, "1024": 45, "1109": [45, 67], "120": [45, 68], "12001": 102, "12002": 102, "123": [23, 96], "12345": [42, 43], "127": [77, 93], "1280": 45, "1800": [1, 2, 7, 42, 43, 44], "2": [1, 4, 17, 20, 21, 23, 37, 45, 48, 58, 67, 69, 85, 96, 97], "20": 101, "200": 37, "2021": [45, 67], "2023": [45, 67], "2024": [17, 20, 100], "203": [1, 4], "2048": [17, 25], "21": [17, 20], "211862": [45, 67], "22": 100, "2210": [1, 6], "3": [1, 4, 17, 21, 22, 25, 37, 45, 58, 67, 68, 81, 85, 90, 91, 94, 96, 97, 98, 100], "30": [17, 25, 45, 67, 74], "300": [38, 39, 45, 47], "3233": [45, 67], "3306": [45, 61], "4": [17, 24, 45, 67, 85, 91, 96, 97, 100, 101], "455": [45, 67], "466": [45, 67], "48000": 45, "4o": [17, 24, 100], "5": [17, 21, 22, 45, 70, 85, 91, 94, 96, 97, 100], "5000": [77, 93], "512x512": 96, "5m": [17, 23, 96], "6": 92, "6300": [45, 67], "720": 45, "8192": [1, 2, 7, 42, 43, 44], "8b": 96, "9": 90, "9477984": [45, 67], "A": [0, 1, 3, 4, 5, 6, 7, 8, 9, 13, 15, 16, 17, 19, 20, 23, 25, 28, 29, 31, 32, 33, 34, 35, 36, 38, 39, 41, 42, 43, 44, 45, 47, 52, 54, 55, 58, 60, 61, 62, 66, 67, 68, 69, 71, 72, 74, 83, 84, 85, 91, 92, 97, 98, 99, 102, 104], "AND": [45, 66], "AS": 79, "And": [94, 100, 101, 102], "As": [37, 92, 94, 97, 99, 102], "At": 102, "But": 102, "By": [92, 93, 97, 102], "For": [1, 4, 16, 17, 19, 21, 22, 23, 42, 43, 45, 66, 67, 69, 70, 71, 74, 90, 91, 92, 94, 95, 96, 97, 98, 99, 100, 101, 102, 106], "If": [0, 1, 2, 4, 6, 7, 11, 13, 14, 15, 17, 19, 20, 24, 27, 29, 31, 32, 33, 37, 42, 43, 45, 47, 54, 56, 64, 70, 72, 76, 83, 84, 90, 91, 92, 94, 96, 98, 99, 100, 101, 103, 104], "In": [0, 13, 15, 16, 17, 19, 20, 21, 23, 24, 25, 27, 28, 42, 43, 89, 91, 92, 94, 95, 96, 97, 99, 100, 101, 102, 104], "It": [1, 4, 9, 16, 17, 19, 32, 45, 47, 67, 69, 73, 85, 87, 89, 92, 94, 95, 96, 97, 98, 99, 100, 101, 102, 107], "Its": 97, "NOT": [45, 48], "No": [45, 67, 92], "OR": [45, 66], "On": 90, "One": [0, 28], "Or": [95, 96], "Such": 100, "That": [97, 98], "The": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 42, 43, 44, 45, 47, 48, 50, 51, 52, 54, 56, 58, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 72, 73, 74, 84, 85, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102], "Then": [94, 102], "There": 100, "These": [92, 95, 98, 99, 100], "To": [17, 21, 23, 27, 90, 91, 92, 93, 94, 95, 96, 97, 98, 100, 101, 102, 104], "Will": 105, "With": [17, 19, 37, 89, 92, 104], "_": [34, 35, 36, 92], "__": [34, 35, 36], "__call__": [1, 5, 17, 20, 22, 94, 95, 96], "__delattr__": 99, "__getattr__": [98, 99], "__getitem__": 98, "__init__": [1, 2, 3, 4, 6, 7, 8, 9, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 37, 38, 39, 41, 42, 43, 44, 45, 56, 58, 71, 74, 76, 84, 85, 94, 96, 98, 99], "__name__": [94, 98], "__setattr__": [98, 99], "__setitem__": 98, "__type": 99, "_agentmeta": [1, 2, 7, 42, 44], "_client": 16, "_code": [29, 30], "_default_monitor_table_nam": 74, "_default_system_prompt": [45, 64], "_default_token_limit_prompt": [45, 64], "_get_pric": 101, "_get_timestamp": 99, "_host": 16, "_is_placehold": 16, "_messag": 38, "_parse_respons": 96, "_port": 16, "_stub": 16, "_task_id": 16, "_upb": 38, "a_json_dictionari": 97, "aaai": [45, 67], "aaaif": [45, 67], "ab": [1, 6, 45, 66], "abc": [1, 5, 13, 14, 17, 19, 20, 21, 23, 24, 25, 27, 29, 32, 71, 74, 85, 97, 99], "abdullah": [45, 67], "abil": [92, 97], "abl": 89, "about": [1, 4, 17, 19, 20, 84, 87, 91, 94, 96, 101, 103, 105, 107, 108], "abov": [17, 19, 20, 71, 74, 91, 92, 97, 98, 100, 101, 102], "abstract": [1, 5, 13, 14, 29, 32, 71, 74, 85, 89, 94, 99], "abstractmethod": [95, 97], "accept": [16, 37, 42, 44, 99, 100], "access": [99, 102], "accident": [45, 61, 62], "accommod": [1, 2, 7, 16, 42, 43, 44, 89], "accord": [37, 96, 97, 98, 100, 102, 104], "accordingli": [91, 98, 102], "account": [45, 61], "accrodingli": 102, "accumul": [71, 74], "achiev": [1, 6, 92, 97, 100], "acronym": [45, 67], "across": 95, "act": [1, 6, 17, 26, 35, 45, 69, 85, 92, 94, 95, 100], "action": [1, 2, 7, 8, 81, 84, 89, 92, 95], "activ": [0, 90], "actor": [87, 89, 107], "actual": [0, 28, 34, 35, 36, 91], "acycl": 84, "ad": [1, 3, 4, 9, 13, 14, 15, 17, 19, 84, 94, 98, 99, 100, 104], "ada": [91, 96], "adapt": 100, "add": [13, 14, 15, 28, 45, 58, 71, 74, 84, 92, 93, 94, 95, 97, 98, 99, 100, 101, 104], "add_as_nod": 84, "add_rpcagentservicer_to_serv": [38, 41], "addit": [1, 9, 45, 47, 64, 69, 72, 89, 90, 92, 94, 97, 98, 102, 104], "addition": [91, 95, 99], "address": [16, 45, 60, 61, 94, 102, 104], "adjust": [94, 101], "admit": 16, "advanc": [17, 19, 89, 91, 92, 100], "advantech": [45, 67], "adventur": 92, "adversari": [1, 2, 7, 8], "affili": [45, 67], "after": [1, 2, 22, 23, 42, 43, 44, 45, 64, 91, 92, 96, 97, 102], "again": 104, "against": 89, "agent": [0, 13, 14, 16, 17, 26, 28, 32, 34, 35, 36, 38, 39, 41, 42, 43, 44, 45, 58, 64, 69, 81, 85, 87, 90, 93, 95, 96, 98, 99, 100, 101, 103, 105, 107, 108], "agent1": [0, 28, 92, 95], "agent2": [0, 28, 92, 95], "agent3": [0, 28, 92, 95], "agent4": [92, 95], "agent5": 95, "agent_arg": [42, 43], "agent_class": [1, 2, 7, 42, 43], "agent_class_nam": [1, 2], "agent_config": [0, 1, 7, 38, 39, 42, 44, 92], "agent_exist": [42, 44], "agent_id": [1, 2, 7, 38, 39, 42, 44], "agent_kwarg": [42, 43], "agenta": 102, "agentb": 102, "agentbas": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 28, 42, 43, 92, 95, 98, 102, 105], "agentpool": 105, "agentscop": [91, 93, 94, 95, 96, 97, 98, 99, 100, 102, 105, 106, 108], "agentserv": [42, 43], "agentserverservic": [42, 44], "agre": [92, 97], "agreement": [1, 4, 89, 92, 97], "ai": [17, 20, 21, 45, 64, 91, 94, 96], "aim": 92, "akif": [45, 67], "al": 13, "alert": [71, 74], "algorithm": [1, 6, 45, 67, 94, 97], "alic": [91, 100], "align": [17, 26, 100], "aliv": 92, "aliyun": [17, 19, 45], "all": [0, 1, 2, 9, 13, 14, 15, 17, 19, 20, 22, 23, 27, 28, 34, 36, 38, 42, 43, 45, 50, 58, 64, 66, 71, 74, 77, 85, 91, 92, 93, 94, 95, 97, 98, 99, 100, 101, 102], "alloc": 92, "allow": [17, 19, 20, 21, 23, 24, 25, 27, 29, 32, 33, 45, 47, 61, 62, 85, 89, 92, 94, 95, 96, 99, 100, 101, 102, 103], "allow_change_data": [45, 61, 62], "allow_miss": 32, "alon": 92, "along": 72, "alreadi": [1, 7, 45, 51, 52, 74, 85, 90, 98, 101, 104], "also": [1, 9, 16, 17, 19, 20, 21, 23, 24, 25, 27, 92, 93, 95, 96, 97, 99, 102, 103], "altern": [17, 19, 20, 90, 100], "among": [0, 28, 34, 36, 92, 94, 95, 96], "amount": 101, "an": [1, 2, 4, 5, 6, 7, 8, 16, 17, 19, 22, 25, 34, 36, 38, 39, 42, 43, 44, 45, 47, 48, 50, 51, 52, 64, 67, 69, 71, 72, 74, 76, 80, 81, 85, 87, 89, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 107], "analog": 89, "analys": [45, 70], "andnot": [45, 66], "ani": [1, 6, 9, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 31, 34, 35, 36, 37, 45, 48, 50, 51, 52, 54, 56, 58, 60, 61, 62, 69, 70, 72, 73, 84, 85, 94, 95, 98, 99, 100, 102, 103, 104], "annot": 98, "announc": [0, 28, 85, 92, 95], "anoth": [45, 69, 85, 92, 94, 95, 98, 102], "answer": 89, "anthrop": [17, 21], "anthropic_api_kei": [17, 21], "antidot": 97, "api": [0, 16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 45, 58, 64, 66, 67, 69, 75, 76, 89, 91, 94, 98, 99, 100, 102], "api_cal": 101, "api_kei": [17, 19, 20, 22, 24, 27, 45, 58, 69, 91, 92, 96, 98, 100], "api_token": 22, "api_url": [17, 22, 25, 96], "append": [13, 14, 15], "appli": [99, 102], "applic": [16, 32, 80, 81, 83, 87, 89, 90, 91, 93, 94, 95, 97, 100, 101, 103, 107, 108], "approach": [45, 67, 91, 95], "ar": [1, 2, 6, 7, 8, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 27, 29, 33, 34, 35, 36, 37, 42, 43, 45, 47, 48, 58, 64, 70, 72, 84, 89, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104], "arbitrari": 100, "architectur": [89, 94], "arg": [1, 2, 3, 4, 6, 7, 8, 9, 17, 19, 20, 21, 22, 23, 24, 25, 27, 37, 42, 43, 44, 45, 58, 84, 92, 94, 95, 98, 99], "argument": [0, 1, 2, 11, 16, 17, 19, 20, 21, 23, 24, 25, 27, 28, 37, 42, 43, 45, 47, 56, 58, 69, 83, 84, 98, 102], "argument1": 98, "argument2": 98, "argumentnotfounderror": 11, "argumenttypeerror": 11, "arrow": 102, "articl": [45, 67], "artifici": [45, 67], "arxiv": [1, 6, 45, 98], "arxiv_search": [45, 66, 98], "as_serv": [42, 43, 102], "asdigraph": 84, "ask": [29, 33, 97, 98, 103, 106], "aslan": [45, 67], "asp": [45, 69], "asr": 81, "assign": [92, 93, 99], "assist": [1, 6, 16, 17, 19, 23, 37, 91, 94, 97, 99, 100, 103], "associ": [38, 41, 84, 92, 101], "assum": [45, 69, 92, 96, 101], "attach": [17, 19, 91, 99], "attempt": [72, 92], "attribut": [13, 15, 16, 45, 67, 94, 97, 98, 99, 100], "attribute_nam": 99, "attributeerror": 99, "au": [45, 66], "audienc": [1, 2, 9, 95], "audio": [16, 17, 19, 45, 80, 81, 89, 91, 94, 96, 98, 99, 100], "audio2text": 81, "audio_path": [45, 81], "audio_term": 80, "authent": [45, 69, 98], "author": [22, 45, 66, 67, 96, 98], "auto": [42, 44], "automat": [1, 2, 45, 58, 76, 89, 92, 94, 96, 97, 99, 101, 102], "autonom": [89, 92], "auxiliari": 89, "avail": [20, 45, 47, 67, 72, 76, 81, 91, 94, 95, 98, 102, 103], "avatar": 81, "avoid": [45, 60, 61, 62, 85, 101, 102], "awar": 97, "azur": [17, 21], "azure_api_bas": [17, 21], "azure_api_kei": [17, 21], "azure_api_vers": [17, 21], "b": [37, 45, 55, 58, 98, 102, 104], "back": 102, "background": [102, 105], "base": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 56, 57, 58, 67, 71, 74, 76, 81, 83, 84, 85, 87, 89, 92, 94, 95, 96, 97, 98, 99, 100, 101, 102, 107], "base64": 100, "base_url": 27, "basemodel": 97, "bash": [45, 48], "basic": [17, 20, 91, 92, 99], "batch": 101, "bearer": [22, 96], "beauti": 45, "becaus": 102, "becom": [96, 103], "been": [1, 2, 85, 104], "befor": [13, 14, 15, 17, 45, 58, 64, 81, 90, 92, 99, 101, 102], "begin": [0, 11, 17, 20, 28, 29, 30, 33, 92, 100, 101], "beginn": 100, "behalf": [45, 69], "behavior": [1, 5, 92, 94, 99], "being": [38, 39, 45, 47, 76, 84, 92, 101], "below": [1, 2, 29, 33, 92, 94, 95, 97, 98, 100, 103], "besid": [92, 94, 97, 99], "best": 100, "better": [13, 15, 16, 17, 20, 91, 93, 104], "between": [13, 15, 17, 19, 25, 26, 29, 30, 31, 33, 45, 55, 84, 89, 91, 92, 93, 95, 97, 98, 99, 100, 102], "bigmodel": 27, "bin": 90, "bing": [45, 58, 69, 85, 98], "bing_api_kei": [45, 69], "bing_search": [45, 58, 69, 98], "bingsearchservicenod": 85, "blob": [47, 72], "block": [29, 30, 31, 37, 72, 92, 95, 97, 102], "bob": [17, 19, 23, 91, 100], "bodi": [34, 35, 36], "bomb": 47, "bool": [0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 13, 14, 15, 16, 17, 29, 31, 32, 33, 34, 35, 36, 42, 43, 44, 45, 47, 51, 52, 54, 58, 61, 62, 70, 71, 74, 77, 81, 85, 86, 94, 97, 98, 99], "boolean": [13, 15, 45, 50, 51, 52, 66, 72, 97, 98], "borrow": 72, "bot": 94, "both": [13, 14, 15, 37, 45, 47, 89, 97, 98, 100, 101, 102, 104], "box": 92, "branch": [35, 95], "break": [34, 35, 36, 91, 92, 95, 97], "break_condit": 95, "break_func": [34, 35, 36], "breviti": [94, 95, 98, 99], "bridg": [17, 26], "brief": 104, "broadcast": [0, 28, 85, 92], "brows": [45, 69], "budget": [17, 24, 71, 74, 96], "buffer": 40, "bug": [103, 106], "build": [17, 20, 84, 87, 89, 91, 92, 94, 97, 100, 105, 107], "build_dag": 84, "built": [45, 64, 89, 92, 93, 94, 97, 105], "bulk": 99, "busi": [45, 69], "byte": [16, 45, 47], "c": [45, 58, 98, 102], "cach": [1, 2, 42, 43, 44], "cai": [45, 67], "calcul": 101, "call": [1, 2, 7, 11, 16, 17, 19, 20, 21, 22, 24, 25, 27, 38, 39, 42, 44, 45, 58, 71, 74, 76, 84, 85, 91, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102], "call_credenti": 41, "call_func": [38, 39, 41, 42, 44], "call_in_thread": [38, 39], "callabl": [1, 5, 13, 14, 15, 34, 35, 36, 45, 54, 58, 70, 80, 84, 86, 99], "can": [0, 1, 2, 3, 4, 6, 7, 9, 13, 15, 16, 17, 19, 20, 22, 23, 29, 33, 37, 42, 43, 44, 45, 47, 58, 67, 84, 85, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104], "capabl": [87, 89, 92, 97, 98, 107], "capac": [45, 69], "captur": [45, 47, 93], "care": [45, 48], "carrier": [89, 99], "case": [34, 36, 42, 43, 85, 92, 94, 101, 105], "case1": 95, "case2": 95, "case_oper": [34, 35, 36, 95], "cat": [45, 48, 66, 100], "catch": 72, "categor": [89, 95], "categori": 96, "caus": [17, 19], "cd": [45, 48, 90, 92, 104], "central": [87, 89, 90, 102, 107], "centric": 89, "certain": [13, 14, 71, 74, 84, 101], "challeng": 105, "chanc": 92, "chang": [1, 4, 8, 45, 48, 61, 62, 72, 89, 101], "channel": [38, 41, 89], "channel_credenti": 41, "chao": [45, 67], "charact": [29, 33, 92, 97, 100], "characterist": 94, "chart": 102, "chat": [16, 17, 19, 20, 21, 23, 24, 25, 27, 73, 75, 80, 81, 91, 92, 95, 98, 99, 100, 103], "chatbot": [80, 100], "chdir": 72, "check": [13, 14, 15, 29, 31, 42, 44, 45, 47, 58, 70, 72, 76, 81, 83, 86, 92, 94, 101, 104], "check_and_delete_ag": [42, 44], "check_and_generate_ag": [42, 44], "check_port": 76, "check_uuid": 81, "check_win": 92, "checkout": 104, "chemic": [45, 69], "chengm": [45, 67], "chines": [45, 67], "choic": [92, 96], "choos": [89, 91, 92, 97, 102], "chosen": [1, 3, 92], "class": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 37, 38, 39, 41, 42, 43, 44, 45, 56, 57, 58, 71, 74, 76, 84, 85, 92, 94, 95, 96, 97, 98, 101, 102, 105], "class_nam": [42, 44], "classic": 97, "classmethod": [1, 2, 17, 22, 45, 58, 71, 74], "claud": [17, 21], "clean": [13, 14, 15, 84], "clear": [13, 14, 15, 17, 71, 74, 95, 99, 101, 104], "clear_audi": [1, 2], "clear_exist": 17, "clear_model_config": 17, "clearer": 93, "click": 93, "client": [1, 7, 16, 17, 24, 27, 38, 39, 41, 96], "client_arg": [17, 22, 24, 27, 96], "clone": [1, 7, 90], "clone_inst": [1, 7], "close": [29, 31], "cloud": [17, 20], "clspipelin": 95, "cn": 27, "co": [45, 66], "code": [0, 1, 2, 3, 4, 12, 28, 29, 30, 31, 40, 45, 47, 70, 71, 72, 74, 83, 84, 85, 90, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102, 103, 108], "codebas": 106, "coher": [94, 99], "collabor": [94, 95, 103], "collect": [45, 60, 85, 94, 98], "color": 93, "com": [16, 17, 19, 20, 23, 45, 47, 66, 69, 72, 90, 98, 99, 100, 104], "combin": [17, 20, 37, 97, 100], "come": [92, 94, 98], "command": [42, 43, 45, 48, 81, 83, 90, 102], "comment": [38, 41], "common": [5, 17, 21], "commun": [87, 91, 92, 95, 102, 104, 106, 107], "compar": [45, 54, 95, 97, 102, 104], "comparison": [45, 67], "compat": [17, 25, 89, 100], "compil": [84, 85], "compile_workflow": 83, "compiled_filenam": [83, 84], "complet": [21, 45, 67, 97, 98, 102], "completion_token": 101, "complex": [89, 91, 94, 95, 97, 102], "compli": 83, "complianc": 101, "complic": 89, "compon": [37, 87, 89, 92, 107], "compos": 94, "comprehens": 94, "compress": 41, "compris": [89, 91], "comput": [13, 15, 45, 55, 67, 84, 89, 94, 98, 102], "concept": [92, 95, 102, 108], "concern": [17, 21], "concis": 104, "concret": 99, "condit": [34, 35, 36, 85, 92, 95], "condition_func": [34, 35, 36], "condition_oper": [34, 36], "conduit": 95, "conf": [45, 67], "confer": [45, 67], "confid": [45, 47], "config": [0, 1, 2, 3, 4, 6, 8, 13, 14, 15, 17, 19, 21, 22, 24, 27, 42, 43, 83, 84, 91, 102], "config_nam": [17, 19, 20, 21, 22, 23, 24, 25, 27, 91, 92, 96, 100], "config_path": 83, "configur": [1, 2, 3, 4, 6, 8, 13, 14, 15, 17, 19, 20, 21, 22, 23, 24, 25, 27, 42, 44, 83, 84, 85, 91, 92, 94, 97, 105], "connect": [1, 2, 16, 38, 39, 74, 84, 89, 102, 103], "connect_exist": [1, 7], "consid": 92, "consider": [17, 20], "consist": [92, 93, 94, 99, 100], "consol": 16, "constraint": [17, 20, 100], "construct": [16, 84, 92, 94, 95, 97, 98, 99, 105], "constructor": [38, 41, 45, 56, 96, 98], "consum": 102, "contain": [0, 1, 4, 6, 9, 22, 23, 29, 33, 34, 35, 36, 45, 47, 48, 50, 51, 52, 60, 61, 62, 64, 67, 68, 72, 83, 84, 97, 98, 100, 102], "content": [1, 2, 6, 9, 11, 16, 17, 19, 23, 27, 29, 30, 31, 32, 33, 45, 50, 51, 52, 56, 64, 66, 67, 69, 70, 72, 73, 75, 89, 91, 92, 93, 94, 96, 98, 99, 100, 102, 105], "content_hint": [29, 30, 31, 33, 97], "context": [37, 38, 41, 42, 44, 72, 94, 95, 99, 104], "contextmanag": 72, "continu": [34, 35, 36, 89, 91, 92, 94, 95, 97, 100, 101], "contrast": 97, "contribut": [87, 103, 106, 107], "control": [16, 23, 32, 34, 35, 36, 87, 92, 95, 96, 97, 102, 107], "contruct": [17, 21], "conveni": [92, 97], "convers": [13, 15, 17, 20, 45, 58, 92, 93, 94, 96, 100, 102, 108], "convert": [1, 2, 8, 13, 14, 15, 17, 19, 29, 31, 37, 45, 58, 76, 80, 81, 86, 94, 97, 98, 100], "convert_url": [17, 19], "cookbook": [16, 99], "copi": 85, "copynod": 85, "core": [89, 92, 94, 95], "cornerston": 94, "correctli": 102, "correspond": [29, 31, 32, 33, 34, 35, 36, 41, 45, 60, 89, 91, 92, 96, 97, 102], "cos_sim": [45, 55, 98], "cosin": [45, 55, 98], "cost": [101, 102], "could": [17, 21, 45, 69, 100], "count": [75, 101], "count_openai_token": 75, "counterpart": 35, "cover": 0, "cpu": 96, "craft": [87, 94, 100, 107, 108], "creat": [0, 16, 28, 38, 39, 42, 44, 45, 50, 72, 85, 92, 94, 97, 99, 100, 102, 105, 108], "create_ag": [38, 39], "create_directori": [45, 50, 98], "create_fil": [45, 50, 98], "create_tempdir": 72, "creation": 99, "criteria": [98, 99], "critic": [0, 71, 73, 93, 99, 100], "crucial": [92, 93, 101], "cse": [45, 69], "cse_id": [45, 69], "curat": 94, "current": [1, 2, 3, 4, 13, 14, 15, 16, 34, 35, 36, 45, 47, 48, 50, 64, 71, 72, 74, 96, 98, 99, 101], "cursor": 74, "custom": [42, 43, 45, 69, 81, 87, 89, 91, 92, 93, 96, 98, 99, 100, 105, 107], "custom_ag": [42, 43], "cycle_dot": 81, "d": 102, "dag": [84, 89], "dai": 92, "dall": [17, 24, 96], "dall_": 25, "dashscop": [17, 19, 45, 98, 100], "dashscope_chat": [17, 19, 96], "dashscope_image_synthesi": [17, 19, 96], "dashscope_image_to_text": [45, 98], "dashscope_multimod": [17, 19, 96], "dashscope_text_embed": [17, 19, 96], "dashscope_text_to_audio": [45, 98], "dashscope_text_to_imag": [45, 98], "dashscopechatwrapp": [17, 19, 96], "dashscopeimagesynthesiswrapp": [17, 19, 96], "dashscopemultimodalwrapp": [17, 19, 96], "dashscopetextembeddingwrapp": [17, 19, 96], "dashscopewrapperbas": [17, 19], "data": [1, 3, 4, 9, 14, 17, 26, 38, 39, 45, 51, 54, 61, 62, 67, 72, 80, 84, 85, 89, 94, 95, 96, 97, 99, 100], "databas": [45, 60, 61, 62, 67, 98], "date": [17, 19, 23, 103], "daytim": [92, 97], "db": [45, 67, 71, 74], "db_path": [71, 74], "dblp": [45, 98], "dblp_search_author": [45, 67, 98], "dblp_search_publ": [45, 67, 98], "dblp_search_venu": [45, 67, 98], "dead_nam": 92, "dead_play": 92, "death": 92, "debug": [0, 71, 73, 77, 92, 93, 97], "decid": [13, 14, 17, 20, 92, 100], "decis": [16, 17, 20], "decod": [1, 4], "decoupl": [91, 96, 97], "deduc": 92, "deduct": 92, "deep": [45, 66], "deeper": 92, "def": [16, 45, 58, 92, 94, 95, 96, 97, 98, 99], "default": [0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 13, 14, 15, 16, 17, 19, 20, 21, 23, 24, 25, 27, 28, 29, 31, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 45, 47, 52, 54, 58, 60, 61, 62, 64, 66, 67, 68, 69, 71, 73, 74, 81, 84, 85, 89, 94, 97, 98, 99, 101], "default_ag": 95, "default_oper": [34, 35, 36], "defer": 94, "defin": [1, 2, 5, 7, 8, 41, 45, 54, 58, 84, 91, 94, 95, 98, 99, 101], "definit": [45, 69, 89, 99], "del": 99, "delet": [1, 2, 13, 14, 15, 28, 38, 39, 42, 43, 44, 45, 50, 74, 92, 98, 99], "delete_ag": [38, 39], "delete_directori": [45, 50, 98], "delete_fil": [45, 50, 98], "delv": 92, "demand": 94, "demonstr": [92, 94], "denot": 99, "dep_opt": 85, "dep_var": 86, "depart": [45, 67], "depend": [13, 14, 15, 45, 66, 69, 84, 89, 90], "deploi": [17, 25, 91, 102], "deploy": [89, 91, 96, 102], "deprec": [1, 2, 42, 43, 105], "deprecated_model_typ": [17, 19, 24, 25], "deps_convert": 86, "depth": 94, "deriv": 94, "describ": [45, 58, 92, 95, 100, 102], "descript": [45, 58, 70, 94, 95, 97, 98, 104], "descriptor": 38, "deseri": [13, 14, 15, 16], "design": [1, 5, 13, 14, 15, 28, 85, 87, 91, 92, 93, 94, 95, 100, 102, 107, 108], "desir": [37, 100], "destin": [45, 50], "destination_path": [45, 50], "destruct": 47, "detail": [1, 2, 6, 9, 17, 19, 21, 45, 67, 69, 91, 92, 93, 94, 97, 98, 99, 100, 101, 102, 104], "determin": [34, 35, 36, 45, 47, 71, 74, 92, 97, 99], "dev": 104, "develop": [1, 4, 6, 17, 19, 21, 23, 27, 37, 45, 58, 69, 87, 89, 90, 93, 94, 96, 97, 98, 99, 100, 101, 102, 103, 104, 107], "diagnosi": [45, 67], "dialog": [1, 2, 3, 4, 7, 8, 16, 28, 37, 76, 89, 91, 95, 99], "dialog_ag": 91, "dialog_agent_config": 94, "dialogag": [1, 3, 85, 91], "dialogagentnod": 85, "dialogu": [1, 3, 4, 17, 19, 23, 89, 93, 94, 95, 100], "dict": [0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 45, 51, 54, 56, 58, 60, 69, 70, 71, 72, 73, 74, 76, 81, 83, 84, 85, 86, 89, 91, 94, 95, 96, 97, 98, 99, 100], "dict_convert": 86, "dict_input": 98, "dictat": 92, "dictdialogag": [1, 4, 85, 92, 94, 97], "dictdialogagentnod": 85, "dictfiltermixin": [29, 31, 32, 33, 97], "dictionari": [1, 3, 4, 9, 17, 19, 21, 24, 27, 29, 31, 32, 33, 34, 35, 36, 45, 58, 66, 67, 69, 71, 72, 74, 81, 83, 84, 86, 91, 96, 98, 99, 100], "did": 104, "didn": 97, "differ": [1, 6, 7, 17, 20, 21, 22, 26, 37, 45, 55, 60, 85, 87, 89, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 107], "difficult": 100, "difficulti": 97, "digest": [45, 70, 98], "digest_prompt": [45, 70], "digest_webpag": [45, 70, 98], "digraph": 84, "dingtalk": 106, "dir": 0, "direcotri": [45, 50], "direct": [84, 85, 99], "directli": [29, 31, 32, 33, 45, 47, 58, 90, 96, 97, 98, 99, 100, 101], "directori": [0, 1, 9, 45, 48, 50, 51, 52, 71, 72, 73, 92, 96, 98], "directory_path": [45, 50], "disabl": [45, 47, 101], "discord": 106, "discuss": [17, 20, 92, 97, 103, 104], "disguis": 92, "disk": [13, 15], "displai": [29, 31, 45, 47, 81, 97], "distconf": [1, 2, 102], "distinct": [85, 92, 94], "distinguish": [71, 74, 96, 99, 100, 102], "distribut": [1, 2, 17, 19, 20, 21, 23, 24, 25, 27, 43, 44, 87, 89, 90, 94, 105, 107], "div": [45, 70], "dive": 92, "divers": [89, 94, 97, 104], "divid": [92, 96], "do": [17, 21, 34, 35, 36, 45, 48, 69, 90, 92, 93, 95, 102], "doc": [17, 20, 21, 89, 96], "docker": [45, 47, 98], "docstr": [45, 58, 98], "document": [38, 41, 89, 97, 98, 100, 102, 104], "doe": [13, 14, 34, 35, 36, 72, 74, 97, 99, 101], "doesn": [1, 2, 7, 8, 13, 15], "dog": 100, "doi": [45, 67], "don": [71, 74, 92, 99, 101, 102], "dong": [45, 67], "dot": 81, "doubl": 97, "download": [23, 45, 98], "download_from_url": [45, 68, 98], "drop_exist": 74, "due": [29, 33, 97], "dummymonitor": [74, 101], "dump": [98, 99], "duplic": [84, 85], "durdu": [45, 67], "dure": [1, 6, 11, 32, 92, 97, 98, 99], "dynam": [92, 94, 95], "e": [16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 45, 47, 48, 50, 56, 58, 61, 89, 90, 91, 92, 96, 98, 99, 100, 101, 102, 104], "each": [0, 17, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 33, 42, 44, 45, 67, 69, 84, 89, 91, 94, 95, 97, 98, 99, 100, 101, 102, 104], "eas": [87, 89, 95, 100, 107], "easi": [0, 28, 87, 107], "easili": [90, 92, 95, 97, 102], "echo": [16, 99], "edg": 84, "edit": [45, 48, 90], "effect": [0, 1, 2, 28, 45, 69, 71, 74], "effici": [89, 94], "effort": [89, 94], "either": [13, 14, 15, 17, 20, 45, 48, 69, 91, 92, 99, 100], "eleg": [0, 28], "element": [45, 47, 54, 70, 84, 100], "elementari": 89, "elif": 95, "elimin": 92, "els": [34, 35, 36, 85, 92, 95, 98, 99], "else_body_oper": [34, 35, 36], "emb": [13, 15, 45, 54], "embed": [13, 15, 17, 19, 20, 23, 24, 25, 26, 27, 45, 54, 55, 91, 96, 98, 99], "embedding_model": [13, 15, 45, 54], "empow": [87, 89, 97, 100, 107], "empti": [17, 23, 45, 58, 70, 72, 80, 84, 98, 100], "en": [1, 4, 45, 69, 98], "enabl": [85, 87, 89, 94, 95, 99, 100, 101, 107], "encapsul": [1, 9, 17, 26, 37, 42, 43, 94, 95, 100, 102], "encoding_format": 96, "encount": [93, 103], "encourag": [1, 6, 16, 17, 19, 21, 23, 27], "end": [11, 13, 14, 15, 17, 20, 29, 30, 31, 33, 84, 92, 97, 100], "end_discuss": 97, "endow": [92, 94], "enforc": 101, "engag": [94, 103], "engin": [1, 6, 17, 19, 21, 23, 27, 37, 45, 58, 67, 69, 84, 87, 89, 94, 96, 97, 105, 107], "enhanc": [87, 93, 98, 107], "enrich": 94, "ensembl": 94, "ensur": [89, 92, 94, 95, 97, 101], "enter": 97, "entir": 102, "entiti": 89, "entri": [0, 80], "enum": [10, 37, 45, 57, 66, 67, 69, 85], "environ": [1, 2, 7, 8, 17, 20, 21, 24, 27, 45, 47, 89, 91, 92, 95, 96, 102, 108], "environment": 95, "equal": [29, 33, 92], "equip": 94, "equival": [97, 102], "error": [0, 11, 45, 47, 48, 50, 51, 52, 56, 57, 60, 61, 62, 64, 66, 67, 68, 69, 71, 72, 73, 76, 93, 97, 98, 104], "escap": [29, 33, 97], "especi": [45, 47, 100, 101], "essenti": [91, 94, 99], "etc": [45, 47, 56, 69, 96, 97, 98], "eval": [47, 72], "evalu": [84, 85, 95], "even": [92, 97], "event": [80, 92], "eventdata": 80, "everi": [17, 21, 92], "everyon": 103, "exactli": 102, "exampl": [0, 1, 2, 4, 6, 16, 17, 19, 21, 22, 23, 28, 29, 31, 37, 45, 58, 64, 66, 67, 69, 70, 89, 91, 92, 95, 96, 97, 99, 100, 101, 102, 104, 105], "example_dict": 97, "exce": [1, 9, 45, 47, 64, 71, 74, 101], "exceed": [1, 2, 42, 43, 44, 71, 74, 101], "except": [17, 25, 71, 72, 74, 81, 87, 89, 97, 98, 99, 101], "exchang": 89, "exec_nod": 84, "execut": [1, 5, 34, 35, 36, 45, 47, 48, 56, 57, 58, 60, 61, 62, 68, 69, 72, 84, 85, 89, 91, 92, 95, 98, 102], "execute_python_cod": [45, 47, 98], "execute_shell_command": [45, 48], "exert": [45, 69], "exeuct": [34, 35], "exist": [1, 2, 17, 19, 29, 31, 42, 44, 45, 51, 52, 70, 71, 72, 74, 94, 95, 99, 101, 102], "existing_ag": 95, "exit": [1, 2, 91, 95, 102], "expand": 94, "expect": [1, 4, 45, 54, 93, 97, 100], "expedit": 94, "experi": [93, 103], "experiment": 101, "expir": [1, 2, 42, 43, 44], "explain": 104, "explan": 97, "explanatori": [45, 58, 98], "explicitli": [45, 69, 97], "explor": 92, "export": [13, 14, 15, 99], "export_config": [1, 2], "expos": 32, "express": [71, 74, 84, 86], "extend": [1, 7, 84, 95, 99], "extens": [89, 94], "extern": [99, 101], "extra": [17, 19, 21, 23, 24, 27, 76], "extract": [17, 22, 29, 30, 33, 45, 58, 70, 85, 97, 98], "extract_name_and_id": 92, "extras_requir": 76, "extrem": [45, 67], "ey": [92, 104], "f": [94, 98, 99, 101, 102], "facilit": [95, 99], "factori": [45, 58, 71, 74], "fail": [1, 4, 17, 25, 45, 67, 72, 97], "failur": 98, "fall": [45, 67], "fals": [0, 1, 2, 6, 7, 9, 13, 14, 15, 16, 17, 29, 31, 32, 33, 34, 35, 36, 41, 42, 43, 45, 47, 51, 52, 61, 62, 70, 72, 74, 77, 81, 85, 92, 95, 97, 99, 101], "faq": 67, "fastchat": [17, 25, 92, 96], "fatih": [45, 67], "fault": [45, 67, 87, 89, 97, 107], "feasibl": 97, "featur": [87, 89, 93, 97, 101, 102, 103, 106, 107], "fed": [32, 96], "feed": [45, 64, 70], "feedback": 104, "feel": [92, 104], "fenc": [29, 30, 31, 97], "fetch": [67, 101], "few": 92, "field": [1, 2, 4, 6, 9, 11, 17, 20, 23, 26, 29, 30, 31, 32, 33, 42, 44, 45, 70, 89, 91, 94, 96, 97, 98, 99, 100, 102], "fig_path": 45, "figur": [17, 19], "figure1": [17, 19], "figure2": [17, 19], "figure3": [17, 19], "file": [0, 1, 9, 12, 13, 14, 15, 16, 17, 19, 22, 38, 41, 42, 43, 45, 47, 48, 68, 70, 71, 72, 73, 74, 81, 83, 89, 91, 92, 94, 96, 98, 99, 100, 102], "file_path": [13, 14, 15, 45, 50, 51, 52, 72, 98, 99], "filenotfounderror": 83, "filepath": [45, 68], "filesystem": 47, "fill": [1, 2, 29, 31, 45, 70, 97], "filter": [1, 4, 13, 14, 15, 29, 31, 32, 33, 71, 74, 97, 99, 101], "filter_func": [13, 14, 15, 99], "filter_regex": [71, 74], "final": [29, 33, 84, 94, 100], "find": [45, 48, 60, 96, 98, 100, 104], "find_available_port": 76, "fine": 93, "finish": 97, "finish_discuss": 97, "first": [13, 14, 15, 17, 19, 23, 28, 45, 66, 67, 71, 74, 84, 87, 90, 99, 100, 102, 104, 107, 108], "firstli": 92, "fit": [1, 6, 94, 100], "five": 98, "fix": [103, 104], "flag": 92, "flask": 96, "flexibl": [89, 91, 94, 97], "flexibli": [97, 100], "float": [13, 15, 17, 24, 45, 47, 54, 55, 71, 72, 74, 96], "flow": [16, 34, 35, 36, 85, 91, 92, 93, 95, 97], "flush": [71, 74, 81], "fn_choic": 80, "focus": [101, 104], "follow": [0, 1, 6, 16, 17, 19, 20, 22, 23, 25, 28, 29, 30, 34, 36, 37, 42, 43, 45, 64, 67, 69, 71, 73, 74, 90, 91, 92, 93, 96, 97, 98, 99, 100, 101, 102], "forc": [45, 69], "fork": 47, "forlooppipelin": [34, 35, 36], "forlooppipelinenod": 85, "form": 99, "format": [1, 3, 4, 9, 10, 11, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 33, 37, 45, 47, 58, 64, 71, 74, 75, 92, 93, 94, 98, 99, 104], "format_exampl": [29, 31], "format_instruct": [29, 30, 31, 33, 97], "format_map": [37, 92, 100], "formerli": [42, 44], "formul": 16, "forward": [17, 23], "found": [6, 11, 17, 20, 45, 76, 83, 85, 92, 97, 102], "foundat": 94, "fragment": [13, 14, 15], "framework": 16, "free": [92, 104], "freedom": 97, "freeli": 97, "from": [1, 2, 3, 4, 6, 8, 11, 13, 14, 15, 16, 17, 20, 22, 23, 24, 27, 28, 37, 42, 43, 45, 47, 48, 50, 54, 58, 60, 66, 67, 68, 69, 70, 71, 72, 74, 80, 81, 84, 85, 89, 91, 92, 95, 97, 98, 99, 100, 101, 102, 104, 105], "fulfil": 89, "full": [45, 74], "func": [45, 58, 98], "func_nam": [38, 39], "funcpipelin": 95, "function": [1, 2, 3, 4, 6, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 27, 32, 34, 36, 37, 38, 39, 42, 44, 45, 47, 54, 55, 58, 60, 64, 70, 71, 72, 74, 80, 83, 84, 89, 91, 92, 93, 94, 95, 96, 99, 100, 101, 102, 105], "function_nam": [80, 98], "functioncallerror": 11, "functioncallformaterror": 11, "functionnotfounderror": 11, "fundament": [89, 94], "further": 98, "furthermor": 89, "futur": [1, 2, 45, 60, 93, 105], "fuzzi": [45, 67], "g": [16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 45, 47, 48, 56, 58, 61, 89, 91, 92, 96, 98, 100, 101], "gain": 92, "game_werewolf": [1, 4, 92], "gather": [94, 100], "gemini": [17, 20, 91, 100], "gemini_api_kei": 96, "gemini_chat": [17, 20, 96], "gemini_embed": [17, 20, 96], "geminichatwrapp": [17, 20, 96], "geminiembeddingwrapp": [17, 20, 96], "geminiwrapperbas": [17, 20], "gener": [0, 1, 2, 3, 4, 7, 9, 13, 15, 16, 17, 19, 20, 21, 23, 24, 27, 29, 30, 33, 40, 42, 43, 44, 45, 47, 58, 67, 72, 74, 80, 81, 83, 85, 89, 91, 93, 94, 96, 97, 98, 99, 100, 102], "generate_agent_id": [1, 2], "generate_arg": [17, 19, 21, 22, 24, 27, 92, 96], "generate_cont": [17, 20], "generate_image_from_nam": 81, "generate_server_id": [42, 43], "generatecont": [17, 20], "generation_method": [17, 20], "get": [1, 2, 13, 15, 16, 17, 22, 29, 31, 33, 38, 39, 42, 44, 45, 50, 58, 71, 72, 74, 75, 76, 81, 89, 98, 102, 104], "get_agent_class": [1, 2], "get_all_ag": 85, "get_chat": 80, "get_chat_msg": 81, "get_current_directori": [45, 50], "get_embed": [13, 15, 99], "get_full_nam": [74, 101], "get_help": 45, "get_memori": [13, 14, 15, 37, 94, 99], "get_metr": [71, 74, 101], "get_monitor": [71, 74, 101], "get_openai_max_length": 75, "get_player_input": 81, "get_quota": [71, 74, 101], "get_reset_msg": 81, "get_respons": [38, 39], "get_task_id": [42, 44], "get_unit": [71, 74, 101], "get_valu": [71, 74, 101], "get_wrapp": [17, 22], "git": [90, 104], "github": [1, 4, 17, 20, 47, 66, 72, 90, 104, 106], "give": [45, 92, 97], "given": [1, 2, 6, 7, 8, 17, 19, 22, 28, 37, 45, 48, 66, 68, 69, 70, 72, 80, 81, 83, 84, 85, 94, 95, 98], "glanc": 92, "glm": [96, 100], "glm4": 96, "global": 80, "go": 94, "goal": 100, "gone": 93, "good": [29, 33, 92], "googl": [17, 20, 38, 45, 58, 69, 85, 91, 98], "google_search": [45, 69, 98], "googlesearchservicenod": 85, "govern": [45, 69], "gpt": [17, 21, 22, 24, 91, 92, 94, 96, 100, 101], "graph": [84, 89], "grasp": 92, "greater": 92, "grep": [45, 48], "group": [0, 28, 45, 69, 92, 95, 103], "growth": 103, "grpc": [1, 7, 38, 41], "guid": [92, 93, 94, 97, 98], "guidanc": 100, "h": [45, 70], "ha": [0, 1, 2, 3, 4, 8, 17, 19, 28, 45, 47, 54, 69, 92, 93, 94, 96, 97, 100, 101, 102, 104], "hand": 97, "handl": [45, 58, 72, 80, 85, 92, 95, 97, 98, 99, 100], "hard": [1, 2, 3, 4, 13, 15], "hardwar": 72, "hash": 81, "hasn": 92, "have": [13, 15, 17, 19, 20, 21, 58, 73, 85, 90, 92, 94, 97, 99, 100, 101, 103, 104], "header": [17, 22, 25, 72, 96], "heal": 92, "healing_used_tonight": 92, "hello": [93, 97], "help": [1, 6, 16, 17, 19, 23, 37, 45, 64, 91, 92, 93, 94, 96, 97, 100, 104], "helper": [89, 92, 95], "her": 92, "here": [45, 56, 58, 92, 93, 94, 95, 96, 97, 98, 99, 101, 103, 104], "hex": 99, "hi": [17, 19, 23, 91, 100], "hierarch": 89, "high": [87, 89, 107], "higher": [13, 15, 90], "highest": [45, 54], "highli": 100, "highlight": 98, "hint": [29, 30, 31, 33, 92, 94, 97, 100], "hint_prompt": [37, 100], "histor": 99, "histori": [1, 2, 7, 8, 17, 19, 23, 37, 76, 92, 95, 100], "hold": 102, "home": [45, 69], "hong": [45, 67], "hook": 104, "host": [1, 2, 7, 16, 38, 39, 42, 43, 44, 45, 47, 60, 61, 77, 92, 102], "hostmsg": 92, "hostnam": [1, 2, 7, 16, 38, 39, 42, 43, 44, 45, 60], "how": [13, 14, 15, 17, 19, 23, 45, 67, 91, 92, 93, 94, 95, 96, 101, 103, 104, 105, 108], "how_to_format_inputs_to_chatgpt_model": [16, 99], "howev": [16, 97, 99, 100], "html": [1, 4, 45, 67, 70, 98], "html_selected_tag": [45, 70], "html_text": [45, 70], "html_to_text": [45, 70], "http": [1, 4, 6, 16, 17, 19, 20, 21, 23, 27, 45, 47, 66, 67, 69, 72, 90, 93, 96, 98, 99, 100, 104], "hu": [45, 67], "hub": [28, 85, 92, 95], "hub_manag": 95, "huggingfac": [22, 91, 96, 100], "human": [47, 72], "human_ev": [47, 72], "i": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 33, 34, 36, 37, 38, 39, 45, 47, 50, 51, 54, 56, 58, 60, 64, 66, 67, 69, 70, 71, 72, 73, 74, 76, 81, 83, 84, 85, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 104, 107, 108], "id": [0, 1, 2, 7, 16, 17, 22, 24, 25, 38, 39, 42, 43, 44, 45, 66, 80, 91, 99], "id_list": [45, 66], "idea": [1, 6, 17, 20, 29, 33, 104], "ident": 92, "identif": 97, "identifi": [0, 16, 17, 19, 21, 22, 23, 24, 25, 27, 45, 69, 84, 91, 92, 93, 96, 99], "idx": 92, "if_body_oper": [34, 35, 36], "ifelsepipelin": [34, 35, 36], "ifelsepipelinenod": 85, "ignor": [94, 100], "illustr": [92, 95], "imag": [1, 8, 16, 17, 19, 26, 45, 47, 56, 80, 81, 89, 91, 94, 96, 98, 99, 100], "image_term": 80, "image_to_text": 45, "image_url": [17, 26, 45, 100], "image_url1": 45, "image_url2": 45, "imaginari": 92, "immedi": [1, 2, 16, 87, 92, 93, 94, 102, 107], "impl_typ": [71, 74], "implement": [1, 2, 5, 6, 16, 17, 19, 21, 22, 23, 27, 34, 36, 45, 47, 58, 66, 72, 85, 89, 94, 95, 96, 97, 99, 100, 101], "impli": 102, "import": [0, 1, 13, 17, 34, 38, 42, 45, 47, 71, 74, 77, 80, 91, 92, 93, 94, 95, 96, 97, 98, 100, 101, 102], "import_function_from_path": 80, "importantand": [45, 70], "importerror": 76, "importerrorreport": 76, "impos": [45, 47], "improv": [98, 103, 104], "in_subprocess": [42, 43], "includ": [0, 1, 2, 4, 7, 8, 27, 34, 36, 45, 48, 50, 51, 52, 67, 69, 72, 84, 89, 91, 92, 94, 96, 97, 98, 99, 104], "including_self": [1, 7], "incom": 94, "increas": [71, 74], "increment": [42, 44, 101], "independ": 89, "index": [13, 14, 15, 45, 66, 67, 87, 98, 99], "indic": [13, 14, 15, 45, 50, 51, 52, 67, 71, 72, 74, 92, 93, 94, 97, 98, 99, 102], "individu": [45, 69, 97], "ineffici": 102, "infer": [22, 25, 91, 96], "info": [0, 71, 73, 84, 93], "inform": [1, 2, 6, 7, 8, 9, 16, 17, 20, 45, 64, 66, 67, 69, 70, 84, 85, 89, 92, 94, 95, 97, 98, 99, 101, 103], "inher": 89, "inherit": [1, 2, 16, 17, 22, 92, 95, 96, 97, 102], "init": [0, 1, 2, 27, 37, 38, 39, 42, 43, 44, 71, 74, 76, 77, 88, 91, 92, 93, 96, 98, 101, 102], "init_uid_list": 80, "init_uid_queu": 81, "initi": [0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 16, 17, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 37, 42, 43, 44, 45, 58, 71, 74, 80, 81, 83, 84, 85, 91, 94, 95, 96, 98, 99, 101, 102], "initial_announc": 95, "inject": 100, "innov": [87, 107], "input": [1, 2, 3, 4, 7, 8, 9, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 34, 35, 36, 38, 39, 42, 43, 44, 45, 64, 70, 80, 81, 84, 85, 89, 91, 92, 94, 95, 96, 97, 98, 100, 102], "input_msg": 76, "insecur": 41, "insid": [98, 101], "insight": 103, "inspect": 98, "instal": [23, 76, 87, 89, 92, 102, 104, 107, 108], "instanc": [1, 2, 7, 16, 42, 44, 71, 74, 84, 92, 93, 95, 96, 99, 100, 102], "instanti": [95, 99], "instruct": [1, 4, 29, 30, 31, 33, 45, 58, 64, 89, 94, 96, 98, 100], "instruction_format": 97, "int": [1, 2, 4, 6, 7, 9, 13, 14, 15, 16, 17, 25, 34, 35, 36, 37, 38, 39, 42, 43, 44, 45, 47, 54, 58, 60, 61, 62, 64, 66, 67, 68, 69, 70, 72, 75, 76, 77, 81, 98, 99], "integr": [89, 108], "intel": [45, 67], "intellig": [45, 67], "intenum": [10, 37, 45, 57, 85], "interact": [34, 36, 45, 47, 48, 89, 91, 92, 93, 94, 95, 99, 102], "interest": 103, "interf": 47, "interfac": [34, 36, 71, 74, 80, 85, 89, 93, 94, 95, 96, 100, 101, 102], "interlay": 89, "intern": 94, "interv": [17, 25], "introduc": [89, 91, 92, 94, 97, 98, 99, 102], "intuit": 89, "invalid": [72, 100], "investopedia": [45, 69], "invit": 103, "invoc": [0, 91, 96], "invok": [1, 3, 4, 45, 48, 70, 85, 94, 95, 100], "involv": [29, 33, 92, 97, 98, 104], "io": [1, 4], "ioerror": 72, "ip": [1, 2, 45, 60, 61, 102], "ip_a": 102, "ip_b": 102, "ipython": [45, 47], "is_callable_express": 86, "is_play": 81, "is_valid_url": 70, "isinst": 94, "isn": 93, "issu": [29, 33, 72, 93, 97, 103, 104], "item": [45, 67, 76, 98, 99], "iter": [1, 6, 13, 14, 15, 85, 95, 99], "its": [1, 2, 3, 13, 15, 22, 37, 42, 44, 45, 50, 58, 60, 67, 72, 84, 91, 92, 94, 96, 97, 98, 99, 100, 101, 104], "itself": [13, 15, 99, 102], "j": [45, 67], "jif": [45, 67], "job": [45, 70], "join": [37, 87, 92, 98, 106, 107], "join_to_list": 37, "join_to_str": 37, "journal": [45, 67], "jpg": [45, 91, 100], "jr": [45, 66], "json": [0, 1, 4, 10, 11, 16, 17, 25, 29, 31, 33, 37, 42, 43, 45, 58, 69, 70, 72, 83, 91, 92, 94, 98, 99, 100], "json_arg": [17, 25], "json_required_hint": [29, 33], "json_schema": [45, 58, 98], "jsondecodeerror": [1, 4], "jsondictvalidationerror": 11, "jsonparsingerror": 11, "jsontypeerror": 11, "judgment": 97, "just": [13, 14, 15, 34, 35, 36, 37, 95, 97, 101, 102], "k": [45, 54, 99], "k1": [34, 36], "k2": [34, 36], "keep": [17, 19, 20, 45, 64, 70, 93, 97, 103, 104], "keep_al": [17, 23, 96], "keep_raw": [45, 70], "kei": [1, 4, 9, 17, 19, 21, 24, 25, 27, 29, 31, 32, 33, 45, 58, 64, 69, 70, 73, 85, 91, 94, 96, 97, 98, 99, 101, 102, 108], "kernel": [45, 67], "keskin": [45, 67], "keskinday21": [45, 67], "keyerror": 99, "keys_allow_miss": [29, 33], "keys_to_cont": [29, 31, 32, 33, 97], "keys_to_memori": [29, 31, 32, 33, 97], "keys_to_metadata": [29, 31, 32, 33, 97], "keyword": [17, 19, 21, 23, 24, 27, 45, 69, 98], "kill": [47, 92], "kind": [34, 36, 97], "know": 92, "knowledg": [45, 54, 102], "known": 92, "kong": [45, 67], "kwarg": [1, 2, 3, 4, 6, 7, 8, 9, 16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 42, 44, 45, 58, 60, 61, 62, 69, 73, 84, 86, 94, 96, 98, 99], "kwarg_convert": 86, "l": [45, 48, 50], "lab": [45, 67], "lack": 72, "lambda": [34, 35, 36], "languag": [1, 3, 4, 29, 30, 89, 94, 95, 97, 98, 100], "language_nam": [29, 30, 97], "larg": [89, 97, 98, 100, 102], "last": [13, 15, 17, 19, 91, 92, 100], "later": 94, "latest": 103, "launch": [1, 2, 7, 42, 43, 83, 89, 102], "launch_serv": [1, 2], "launcher": 42, "layer": [45, 47, 89], "lazy_launch": [1, 2, 7], "lead": [1, 9], "learn": [45, 66, 67, 69, 92, 98, 101], "least": [1, 4, 100], "leav": [45, 60], "lecun": [45, 66], "length": [17, 25, 37, 75, 100], "less": [45, 64, 89], "let": [89, 92, 102], "level": [0, 71, 73, 87, 89, 93, 107], "li": [45, 70], "licens": [66, 89], "life": 92, "lihong": [45, 67], "like": [34, 35, 36, 91, 92, 95, 100], "limit": [1, 9, 17, 24, 45, 47, 64, 72, 97, 101], "line": [42, 43, 81, 83, 92, 93, 94], "link": [45, 69, 70, 99], "list": [0, 1, 3, 7, 9, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 31, 32, 33, 37, 42, 43, 45, 50, 54, 55, 58, 66, 67, 69, 75, 76, 80, 81, 84, 85, 86, 91, 92, 94, 95, 96, 97, 98, 99, 101], "list_directory_cont": [45, 50], "list_model": 20, "listen": [1, 2, 7, 42, 43], "lite_llm_openai_chat_gpt": 96, "litellm": [17, 21, 100], "litellm_chat": [17, 21, 96], "litellmchatmodelwrapp": 96, "litellmchatwrapp": [17, 21, 96], "litellmwrapperbas": [17, 21], "liter": [0, 16, 45, 71, 73, 84, 93], "littl": [45, 60], "liu": [45, 67], "ll": [92, 93, 101], "llama": 96, "llama2": [96, 100], "llm": [29, 31, 33, 89, 97, 98, 100], "load": [0, 1, 2, 3, 4, 6, 8, 13, 14, 15, 17, 20, 23, 29, 33, 83, 85, 91, 92, 96, 97, 98, 99], "load_config": 83, "load_from_config": [1, 2], "load_memori": [1, 2], "load_model_by_config_nam": 17, "load_web": [45, 70, 98], "local": [0, 1, 2, 7, 17, 19, 42, 43, 71, 73, 74, 89, 91, 92, 99, 100, 102, 104], "local_attr": 16, "local_mod": [1, 2, 7, 42, 43], "localhost": [1, 2, 7, 42, 43, 44, 45, 61], "locat": [16, 45, 68, 92, 100, 102], "log": [0, 12, 71, 72, 73, 87, 92, 94, 107, 108], "log_level": [0, 93], "log_studio": 73, "logger": [0, 71, 73, 99], "logger_level": [0, 92, 93], "logic": [1, 5, 34, 36, 85, 94, 95], "loguru": [71, 73, 93], "london": 100, "long": [10, 23, 37, 95, 96, 102], "longer": 101, "look": 92, "loop": [1, 6, 34, 35, 36, 85, 91, 92, 97], "loop_body_oper": [34, 35, 36], "lst": 84, "ltd": [45, 67], "lukasschwab": 66, "lynch": 92, "m": [93, 104], "mac": 90, "machin": [45, 67, 102], "machine1": 102, "machine2": 102, "machinesand": [45, 67], "made": [101, 104], "mai": [1, 4, 17, 19, 20, 45, 58, 69, 84, 92, 94, 95, 96, 97, 100, 101, 102, 104], "main": [17, 26, 83, 92, 94, 95, 97, 98, 102, 104], "maintain": [16, 94, 99], "mainthread": 72, "major": 92, "majority_vot": 92, "make": [16, 17, 20, 94, 96, 100, 101, 102], "manag": [12, 28, 72, 85, 89, 90, 91, 92, 94, 95, 101], "mani": [45, 60, 61, 100], "manipul": 99, "manner": [87, 102, 107], "manual": 95, "map": [34, 35, 36, 95, 98], "mark": 97, "markdown": [29, 30, 31, 97], "markdowncodeblockpars": [29, 30], "markdownjsondictpars": [29, 31], "markdownjsonobjectpars": [29, 31], "master": [47, 72], "match": [13, 14, 15, 92], "matplotlib": [45, 47], "max": [1, 2, 7, 37, 42, 43, 44, 75, 96, 100], "max_game_round": 92, "max_it": [1, 6], "max_iter": 95, "max_length": [17, 22, 25, 37], "max_length_of_model": 22, "max_loop": [34, 35, 36], "max_pool_s": [1, 2, 7, 42, 43, 44], "max_result": [45, 66], "max_retri": [1, 4, 17, 22, 25, 96], "max_return_token": [45, 64], "max_summary_length": 37, "max_timeout_second": [1, 2, 7, 42, 43, 44], "max_werewolf_discussion_round": 92, "maxcount_result": [45, 60, 61, 62], "maximum": [1, 2, 4, 6, 17, 25, 34, 35, 36, 42, 43, 44, 45, 47, 54, 60, 61, 62, 66, 100, 101], "maximum_memory_byt": [45, 47], "mayb": [1, 6, 16, 17, 19, 23, 27, 29, 33], "md": 96, "me": 92, "mean": [0, 1, 2, 13, 15, 17, 24, 28, 91, 97, 102], "meanwhil": [97, 102], "mechan": [87, 89, 91, 95, 107], "meet": [34, 35, 36, 94, 98, 100], "member": 104, "memori": [1, 2, 3, 4, 7, 8, 9, 16, 23, 32, 37, 45, 47, 54, 87, 89, 92, 94, 96, 97, 100, 102, 105, 107], "memory_config": [1, 2, 3, 4, 8, 94], "memorybas": [13, 14, 15], "merg": [17, 19], "messag": [0, 1, 2, 3, 4, 7, 9, 11, 13, 14, 15, 17, 19, 20, 21, 23, 24, 25, 27, 28, 32, 38, 39, 42, 43, 44, 45, 48, 50, 51, 52, 54, 56, 60, 61, 62, 64, 67, 68, 72, 73, 80, 81, 85, 87, 91, 92, 94, 96, 98, 100, 101, 102, 104, 105], "message_from_alic": 91, "message_from_bob": 91, "messagebas": [13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 27], "messages_kei": [17, 25, 96], "met": 95, "meta": [45, 67, 96], "metadata": [16, 41, 97, 99], "method": [1, 2, 5, 7, 9, 13, 14, 15, 16, 17, 20, 29, 31, 32, 33, 45, 67, 84, 85, 91, 94, 97, 98, 99, 100, 101, 102], "metric": [13, 15, 71, 74, 99], "metric_nam": [71, 74], "metric_name_a": [71, 74], "metric_name_b": [71, 74], "metric_unit": [71, 74, 101], "metric_valu": [71, 74], "microsoft": [45, 69, 98], "might": [17, 21, 92, 100, 104], "migrat": 102, "mind": 94, "mine": [17, 19], "minim": 94, "miss": [11, 29, 31, 33, 38, 41, 76, 94], "missing_begin_tag": 11, "missing_end_tag": 11, "misunderstand": [17, 19], "mit": 66, "mix": 95, "mixin": 32, "mixtur": [100, 102], "mkt": [45, 69], "modal": [89, 98, 99], "mode": [42, 43, 72, 90], "model": [0, 1, 2, 3, 4, 6, 8, 10, 11, 13, 15, 16, 29, 30, 31, 32, 33, 37, 42, 43, 45, 54, 58, 64, 70, 71, 74, 75, 84, 85, 87, 89, 94, 98, 99, 101, 105, 107, 108], "model_a": 101, "model_a_metr": 101, "model_b": 101, "model_b_metr": 101, "model_config": [0, 91, 92, 96, 102], "model_config_nam": [1, 2, 3, 4, 6, 8, 91, 92, 94], "model_config_or_path": 96, "model_config_path_a": 102, "model_config_path_b": 102, "model_configs_templ": 102, "model_dump": 101, "model_nam": [17, 19, 20, 21, 22, 23, 24, 25, 27, 71, 74, 75, 91, 92, 96, 100, 101], "model_name_for_openai": 22, "model_respons": 98, "model_typ": [17, 19, 20, 21, 22, 23, 24, 25, 27, 91, 92, 96], "modelnod": 85, "modelrespons": [17, 26, 29, 30, 31, 32, 33, 96, 97], "modelscop": [1, 4, 90, 91, 96], "modelscope_cfg_dict": 91, "modelwrapp": 96, "modelwrapperbas": [17, 19, 20, 21, 22, 23, 24, 25, 27, 37, 45, 54, 64, 70, 96, 100], "moder": 92, "modifi": [1, 6, 47, 94, 97, 102], "modul": [0, 1, 13, 15, 17, 29, 34, 37, 38, 42, 45, 56, 71, 77, 80, 84, 87, 89, 93, 98, 99, 105], "module_nam": 80, "module_path": 80, "mongodb": [45, 98], "monitor": [0, 17, 22, 71, 87, 105, 107], "monitor_metr": 74, "monitorbas": [71, 74, 101], "monitorfactori": [71, 74, 101], "more": [0, 1, 6, 17, 19, 20, 21, 28, 45, 69, 91, 92, 93, 94, 97, 98, 99, 100, 102], "most": [13, 14, 16, 42, 43, 92, 99, 100], "mount": 97, "mountain": 45, "move": [45, 50, 98], "move_directori": [45, 50, 98], "move_fil": [45, 50, 98], "mp3": 100, "msg": [16, 17, 19, 20, 21, 23, 24, 25, 27, 28, 37, 76, 80, 81, 91, 92, 93, 94, 95, 97, 100, 102], "msg_hub": 95, "msg_id": 81, "msghub": [0, 87, 88, 91, 105, 107], "msghubmanag": [0, 28, 95], "msghubnod": 85, "msgnode": 85, "msgtype": 37, "much": [0, 28, 95, 104], "muhammet": [45, 67], "multi": [17, 20, 87, 89, 90, 91, 92, 93, 94, 95, 98, 99, 100, 101, 102, 103, 107], "multimod": [17, 19, 45, 96, 100], "multipl": [14, 16, 17, 19, 29, 33, 34, 35, 36, 45, 71, 74, 85, 91, 92, 94, 95, 97, 100, 101, 102, 104], "multitaggedcontentpars": [29, 33], "must": [13, 14, 15, 17, 19, 20, 21, 29, 33, 71, 74, 92, 94, 97, 98, 100, 102], "mutlipl": 102, "my_arg1": 96, "my_arg2": 96, "my_dashscope_chat_config": 96, "my_dashscope_image_synthesis_config": 96, "my_dashscope_multimodal_config": 96, "my_dashscope_text_embedding_config": 96, "my_gemini_chat_config": 96, "my_gemini_embedding_config": 96, "my_model": 96, "my_model_config": 96, "my_ollama_chat_config": 96, "my_ollama_embedding_config": 96, "my_ollama_generate_config": 96, "my_postapichatwrapper_config": 96, "my_postapiwrapper_config": 96, "my_zhipuai_chat_config": 96, "my_zhipuai_embedding_config": 96, "myagent": 92, "mymodelwrapp": 96, "mysql": [45, 60, 98], "mythought": 16, "n": [13, 14, 17, 19, 23, 29, 30, 33, 34, 36, 37, 45, 64, 70, 90, 92, 94, 96, 97, 98, 100], "n1": 92, "n2": 92, "nalic": 100, "name": [0, 1, 2, 3, 4, 6, 7, 8, 9, 13, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 29, 30, 31, 33, 38, 39, 42, 44, 45, 47, 58, 60, 61, 62, 64, 67, 71, 73, 74, 81, 83, 84, 89, 90, 91, 92, 93, 94, 96, 97, 98, 99, 100, 101, 102, 104], "nanyang": [45, 67], "nation": [45, 67], "nativ": [45, 47], "natur": [45, 47, 92, 99], "navig": 94, "nbob": 100, "nconstraint": 92, "necessari": [58, 72, 84, 89, 95, 98, 99], "need": [1, 4, 6, 13, 15, 17, 21, 22, 42, 43, 45, 64, 85, 90, 92, 94, 96, 97, 98, 99, 100, 101, 102], "negative_prompt": 96, "neither": 92, "networkx": 84, "new": [13, 14, 15, 28, 38, 39, 42, 44, 45, 50, 71, 74, 90, 95, 96, 97, 99, 101, 103, 106], "new_ag": 95, "new_particip": [28, 95], "newlin": 100, "next": [81, 85, 95, 97, 102, 108], "nfor": 92, "ngame": 92, "nice": 100, "night": 92, "nin": 92, "node": [84, 85, 86], "node_id": [84, 85], "node_info": 84, "node_typ": 85, "nodes_not_in_graph": 84, "non": [45, 47, 84, 89, 102], "none": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 47, 54, 58, 60, 61, 62, 66, 70, 71, 72, 73, 74, 76, 77, 80, 81, 83, 84, 85, 91, 94, 95, 97, 98, 99, 100, 102], "nor": 92, "normal": 98, "note": [1, 2, 6, 17, 19, 21, 23, 27, 42, 43, 44, 45, 48, 90, 91, 92, 94, 95, 96, 97, 100, 101, 102], "noth": [34, 35, 36, 74, 101], "notic": [13, 14, 15, 45, 64, 92], "notif": 104, "notifi": [1, 2], "notimplementederror": [94, 99], "noun": [45, 69], "now": [45, 60, 92, 95, 104], "nplayer": 92, "nseer": 92, "nsummar": [45, 64], "nthe": 92, "nthere": 92, "num_complet": [45, 67], "num_dot": 81, "num_inst": [1, 7], "num_result": [45, 58, 67, 69, 98], "num_tokens_from_cont": 75, "number": [1, 2, 4, 6, 7, 13, 14, 15, 17, 25, 34, 35, 36, 37, 42, 43, 44, 45, 54, 55, 58, 60, 61, 62, 64, 66, 67, 68, 69, 72, 76, 92, 93, 95, 97, 98, 99, 100, 101, 102], "nuser": 100, "nvictori": 92, "nvillag": 92, "nwerewolv": 92, "nwitch": 92, "nyou": [45, 64, 92], "o": [17, 21, 45, 47, 72], "obei": 100, "object": [0, 1, 6, 9, 11, 13, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 37, 38, 39, 41, 42, 43, 45, 56, 58, 60, 61, 62, 68, 70, 71, 74, 76, 84, 85, 92, 94, 95, 98, 99, 100, 102], "object_nam": 99, "observ": [0, 1, 2, 7, 28, 92, 93, 94, 95], "obtain": [42, 43, 45, 70, 101], "occupi": 76, "occur": [72, 94, 98], "offer": [89, 91], "offici": [89, 100, 104], "often": [16, 99, 100], "okai": 92, "old": [13, 14, 15], "oldest": [1, 2, 42, 43, 44], "ollama": [17, 23, 100], "ollama_chat": [17, 23, 96], "ollama_embed": [17, 23, 96], "ollama_gener": [17, 23, 96], "ollamachatwrapp": [17, 23, 96], "ollamaembeddingwrapp": [17, 23, 96], "ollamagenerationwrapp": [17, 23, 96], "ollamawrapperbas": [17, 23], "omit": [94, 95, 98, 99], "onc": [71, 74, 91, 98, 101, 102, 104], "one": [13, 14, 15, 16, 17, 19, 20, 22, 45, 54, 71, 73, 81, 85, 92, 94, 95, 98, 100], "ones": [13, 14, 15], "ongo": 94, "onli": [1, 2, 4, 6, 7, 16, 17, 19, 42, 43, 45, 47, 60, 71, 72, 74, 92, 96, 97, 98, 99, 100, 101, 102], "open": [16, 27, 29, 31, 45, 58, 64, 72, 91, 92, 104], "openai": [16, 17, 21, 22, 24, 25, 45, 47, 58, 72, 75, 76, 91, 92, 98, 99, 100, 101], "openai_api_kei": [17, 21, 24, 91, 96], "openai_cfg_dict": 91, "openai_chat": [17, 22, 24, 91, 92, 96], "openai_dall_": [17, 24, 91, 96], "openai_embed": [17, 24, 91, 96], "openai_model_config": 91, "openai_organ": [17, 24, 91], "openai_respons": 101, "openaichatwrapp": [17, 24, 96], "openaidallewrapp": [17, 24, 96], "openaiembeddingwrapp": [17, 24, 96], "openaiwrapperbas": [17, 24, 96], "oper": [1, 2, 34, 35, 36, 37, 45, 47, 50, 51, 52, 60, 66, 71, 72, 74, 84, 85, 89, 92, 94, 95, 98, 99], "opportun": 92, "opposit": [45, 67], "opt": 85, "opt_kwarg": 85, "optim": [17, 21, 89, 102], "option": [0, 1, 2, 3, 4, 8, 9, 13, 14, 15, 16, 17, 23, 26, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 41, 42, 43, 45, 47, 54, 58, 66, 70, 71, 72, 74, 85, 89, 90, 91, 92, 94, 95, 96, 98, 99, 100, 101], "orchestr": [92, 95], "order": [13, 15, 17, 19, 45, 54, 84, 89, 92, 95, 102], "ordinari": 92, "org": [1, 6, 45, 67], "organ": [1, 3, 14, 17, 22, 24, 45, 69, 91, 92, 93, 96, 100, 104], "orient": 95, "origin": [13, 15, 45, 54, 58, 74, 76, 99, 101, 102], "original_func": 58, "other": [0, 1, 2, 4, 7, 8, 16, 27, 28, 29, 32, 33, 45, 47, 60, 67, 92, 94, 95, 97, 99, 100, 102, 103, 104], "otherwis": [0, 1, 2, 13, 14, 15, 42, 43, 45, 56, 58, 64, 70, 98], "our": [1, 4, 16, 17, 20, 92, 100, 102, 103, 104], "out": [1, 2, 6, 34, 35, 36, 92, 93, 104], "outlast": 92, "outlin": [29, 33, 92, 95, 97, 98], "output": [0, 1, 4, 28, 34, 35, 36, 45, 47, 48, 58, 70, 84, 85, 92, 93, 94, 95, 97, 102], "outsid": 95, "over": [85, 93, 97], "overridden": [1, 5], "overutil": 101, "overview": [89, 98], "overwrit": [13, 14, 15, 45, 51, 52, 96, 99], "overwritten": 72, "own": [1, 6, 16, 17, 19, 21, 23, 27, 87, 91, 92, 97, 100, 105, 107], "p": [45, 70], "paa": 27, "packag": [0, 1, 17, 34, 38, 42, 45, 71, 76, 77, 90, 102], "page": [45, 67, 70, 87, 98, 99], "pair": [97, 100], "paper": [1, 6, 45, 66, 67, 102], "paradigm": 102, "parallel": [89, 102], "param": [13, 14, 15, 21, 29, 31, 33, 70, 72, 98], "paramet": [0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 47, 48, 50, 51, 52, 54, 55, 56, 58, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 72, 73, 74, 76, 83, 84, 85, 92, 97, 98, 99, 100, 102], "params_prompt": 98, "parent": 85, "pars": [1, 4, 11, 17, 26, 29, 30, 31, 32, 33, 45, 51, 58, 67, 70, 72, 83, 98, 100], "parse_and_call_func": [45, 58, 98], "parse_func": [17, 25, 97], "parse_html_to_text": [45, 70], "parse_json": [29, 33, 97], "parsed_respons": 32, "parser": [1, 4, 26, 87, 105], "parserbas": [1, 4, 29, 30, 31, 32, 33, 97], "part": [85, 100, 103, 104], "parti": [17, 20, 91, 100], "partial": 37, "particip": [0, 28, 34, 35, 85, 92, 97], "particular": 101, "particularli": 101, "pass": [0, 1, 2, 3, 4, 13, 14, 15, 16, 17, 20, 28, 45, 58, 76, 85, 91, 92, 95, 96, 98, 99, 100, 102], "password": [45, 61, 98], "past": [92, 94], "path": [0, 13, 14, 15, 17, 42, 43, 45, 50, 51, 52, 68, 71, 72, 74, 80, 81, 83, 91, 96, 98, 102], "path_log": [71, 73], "path_sav": [77, 93], "pattern": 95, "paus": 101, "peac": 92, "perform": [1, 3, 8, 17, 21, 45, 67, 84, 85, 87, 89, 92, 94, 95, 98, 100, 104, 107], "period": 101, "permiss": [45, 69, 72], "permissionerror": 72, "person": [45, 69, 92], "pertain": 89, "phase": 92, "phenomenon": [45, 69], "pictur": [17, 19, 91, 100], "pid": [45, 67], "piec": [13, 14, 45, 47, 98, 99], "pip": 104, "pipe": [92, 95], "pipe1": 95, "pipe2": 95, "pipe3": 95, "pipelin": [85, 87, 89, 91, 105, 107], "pipelinebas": [5, 34, 36, 95], "pivot": 94, "place": 97, "placehold": [16, 17, 19, 20, 21, 23, 24, 25, 27, 34, 35, 36, 76, 85, 95], "placeholder_attr": 16, "placeholdermessag": 16, "placeholdernod": 85, "plai": [16, 92, 99, 100], "plain": [1, 4], "platform": [87, 89, 90, 102, 103, 107], "player": [80, 81, 92], "player1": 92, "player2": 92, "player3": 92, "player4": 92, "player5": 92, "player6": 92, "player_nam": 92, "pleas": [1, 4, 6, 21, 23, 42, 43, 45, 48, 67, 69, 91, 92, 94, 95, 97, 98, 99, 100, 101, 102, 104], "plot": [45, 47], "plt": [45, 47], "plu": [45, 96, 100], "png": 100, "point": [80, 98, 100], "poison": [92, 97], "polici": [37, 100], "pool": [1, 2, 42, 43, 44, 92, 94], "pop": 92, "port": [1, 2, 7, 16, 38, 39, 42, 43, 44, 45, 60, 61, 76, 77, 102], "pose": [45, 47], "possibl": 104, "post": [17, 22, 25, 92, 97], "post_api": [17, 22, 25, 96], "post_api_chat": [17, 25, 96], "post_api_dal": 25, "post_api_dall_": [25, 96], "post_api_embed": [25, 96], "post_arg": [17, 25], "postapichatwrapp": [17, 25, 96], "postapidallewrapp": [25, 96], "postapiembeddingwrapp": [25, 96], "postapimodelwrapp": [17, 25], "postapimodelwrapperbas": [17, 25, 96], "potenti": [1, 9, 45, 47, 92, 93], "potion": 92, "power": [45, 67, 69, 92, 97], "practic": 95, "pre": [89, 94, 98, 104], "prebuilt": [87, 107], "precis": 97, "predat": 92, "predecessor": 84, "predefin": [92, 94], "prefer": [90, 95, 100], "prefix": [17, 19, 37, 45, 66, 71, 74, 81, 100], "prepar": [37, 94, 98, 108], "preprocess": [45, 70], "present": [45, 47, 89, 92, 96], "preserv": [13, 15, 45, 54], "preserve_ord": [13, 15, 45, 54], "pretend": 97, "prevent": [13, 14, 15, 17, 20, 47, 85, 95, 101], "primari": [91, 94], "print": [1, 6, 16, 45, 67, 69, 91, 94, 97, 98, 100, 101], "pro": [17, 20, 96, 100], "problem": [6, 103, 104], "problemat": 93, "proce": [83, 92], "process": [1, 2, 3, 4, 9, 37, 42, 43, 44, 45, 47, 58, 64, 70, 84, 92, 93, 94, 95, 97, 98, 99, 100, 104], "process_messag": [42, 44], "processed_func": [45, 58], "produc": [1, 3, 4, 94, 97], "program": [45, 69, 87, 89, 92, 95, 99, 102, 107], "programm": [45, 69], "progress": [97, 103], "project": [0, 10, 90, 93, 94], "prompt": [1, 2, 3, 4, 6, 9, 10, 16, 17, 19, 20, 21, 23, 27, 45, 58, 64, 70, 76, 87, 89, 92, 94, 97, 98, 99, 105, 107], "prompt_token": 101, "prompt_typ": [1, 3, 37], "promptengin": [37, 105], "prompttyp": [1, 3, 37, 99], "properli": [45, 58, 92, 98], "properti": [1, 2, 29, 31, 45, 58, 96, 97, 98, 99], "propos": 104, "proto": [38, 41], "protobuf": 41, "protocol": [1, 5, 40], "provid": [1, 2, 3, 4, 9, 13, 15, 17, 20, 29, 31, 45, 47, 58, 64, 69, 70, 71, 72, 74, 81, 83, 84, 85, 89, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 104], "pte": [45, 67], "public": [45, 67, 98], "pull": [17, 20, 23, 90, 103], "pure": [87, 107], "purg": 99, "purpos": [16, 17, 26, 92, 94], "put": [97, 102], "py": [47, 66, 72, 83, 89, 92], "pydant": [29, 31, 97], "pypi": 90, "python": [45, 47, 48, 69, 83, 84, 85, 87, 89, 90, 91, 92, 93, 98, 99, 107], "python3": 90, "pythonservicenod": 85, "qianwen": [17, 19], "qr": 103, "queri": [13, 15, 45, 54, 58, 60, 61, 62, 66, 67, 69, 72, 98, 99], "query_mongodb": [45, 60, 98], "query_mysql": [45, 61, 98], "query_sqlit": [45, 62, 98], "question": [45, 67, 69, 89, 98, 103], "queue": 81, "quick": [17, 19, 87, 107, 108], "quickli": [91, 96, 100], "quot": 97, "quota": [71, 74], "quotaexceedederror": [71, 74, 101], "quotaexceederror": [71, 74], "qwen": [45, 96, 100], "rais": [1, 2, 4, 9, 11, 17, 25, 29, 31, 71, 74, 76, 83, 84, 94, 99, 104], "random": [0, 42, 43], "randomli": [1, 7], "rang": [13, 14, 34, 36, 85, 92, 95], "rate": 101, "rather": [97, 99, 100, 102], "raw": [11, 17, 26, 45, 70, 84, 96], "raw_info": 84, "raw_respons": 11, "re": [1, 6, 17, 19, 23, 37, 45, 70, 90, 92, 97, 100, 104], "reach": [92, 97], "react": [1, 6, 94], "reactag": [1, 6, 85, 94, 97, 98], "reactagentnod": 85, "read": [17, 24, 27, 45, 51, 52, 85, 91, 92, 96, 98], "read_json_fil": [45, 51, 98], "read_model_config": 17, "read_text_fil": [45, 52, 98], "readabl": 93, "readi": [89, 92, 94, 102, 104], "readm": 96, "readtextservicenod": 85, "real": [16, 102, 103], "realiz": 97, "reason": [1, 6, 11, 97], "rec": [45, 67], "recal": 94, "receiv": [91, 95, 97, 102], "recent": [13, 14, 99], "recent_n": [13, 14, 15, 99], "recommend": [90, 93, 96, 98, 100], "record": [1, 2, 7, 11, 16, 76, 93, 94, 99], "recurs": 85, "redirect": [71, 73, 93], "reduc": 97, "refer": [1, 4, 6, 16, 17, 19, 20, 21, 45, 66, 67, 69, 89, 91, 92, 94, 96, 97, 98, 99, 100, 102], "reform_dialogu": 76, "regist": [1, 2, 45, 58, 71, 74, 91, 96, 98, 102], "register_agent_class": [1, 2], "register_budget": [71, 74, 101], "registr": [71, 74, 101], "registri": [1, 2], "regul": 101, "regular": [71, 74], "relat": [1, 13, 34, 38, 42, 45, 72, 85, 100, 101, 103], "relationship": 102, "releas": [1, 2], "relev": [13, 15, 99, 103, 104], "reli": 101, "reliabl": [87, 107], "remain": [92, 95], "rememb": [90, 92, 104], "remind": [29, 31, 33, 97], "remov": [1, 2, 47, 71, 74, 84, 95, 99], "remove_duplicates_from_end": 84, "renam": 98, "reorgan": 100, "repeat": [85, 92], "repeatedli": 95, "replac": [95, 97], "repli": [1, 2, 3, 4, 6, 7, 8, 9, 32, 42, 43, 44, 81, 92, 94, 97, 98, 99, 102], "replic": 85, "repons": 94, "report": 106, "repositori": [17, 20, 66, 90, 91, 103], "repres": [1, 3, 4, 9, 34, 36, 45, 69, 84, 85, 89, 93, 95, 98, 99, 100, 102], "represent": [16, 99], "reproduc": 104, "reqeust": [38, 39], "request": [1, 2, 7, 17, 20, 23, 25, 27, 38, 41, 42, 43, 44, 45, 58, 68, 70, 72, 93, 98, 102, 103], "requests_get": 72, "requir": [0, 1, 4, 9, 11, 17, 19, 21, 22, 23, 24, 25, 27, 28, 29, 31, 33, 35, 71, 74, 76, 84, 87, 90, 94, 95, 96, 97, 98, 99, 100, 101, 107], "require_arg": 58, "require_url": [1, 9, 94], "required_kei": [1, 9, 29, 31, 33, 94], "requiredfieldnotfounderror": [11, 29, 31], "res_dict": 97, "res_of_dict_input": 98, "res_of_string_input": 98, "reserv": 94, "reset": [13, 14, 80, 81, 99], "reset_audi": [1, 2], "reset_glb_var": 80, "resetexcept": 81, "resili": 89, "resolv": 104, "resourc": [89, 99, 102], "respect": [45, 47], "respond": [29, 33, 92, 97, 100], "respons": [0, 1, 2, 3, 4, 7, 8, 10, 11, 16, 17, 28, 29, 30, 31, 32, 33, 37, 38, 39, 45, 56, 70, 72, 85, 89, 91, 92, 94, 95, 96, 98, 99, 104, 105], "responseformat": 10, "responseparsingerror": 11, "responsestub": [38, 39], "rest": [45, 69, 100], "result": [1, 2, 7, 45, 50, 56, 58, 60, 61, 62, 66, 67, 68, 69, 70, 84, 85, 92, 94, 97, 98, 100], "results_per_pag": [45, 67], "resurrect": 92, "retain": 94, "retri": [1, 4, 17, 25, 45, 68, 87, 107], "retriev": [13, 15, 45, 80, 81, 85, 98, 99], "retrieve_by_embed": [13, 15, 99], "retrieve_from_list": [45, 54, 98], "retry_interv": [17, 25], "return": [1, 2, 3, 4, 7, 8, 9, 13, 14, 15, 16, 17, 19, 20, 21, 23, 24, 25, 26, 27, 29, 31, 32, 33, 34, 35, 36, 38, 39, 42, 44, 45, 47, 48, 50, 51, 52, 54, 55, 58, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 72, 74, 76, 81, 83, 84, 85, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104], "return_typ": 99, "return_var": 85, "reus": 102, "reusabl": 98, "reveal": 92, "revers": [13, 15], "rewrit": 16, "risk": [45, 47], "rm": [45, 48], "rm_audienc": [1, 2], "rn": [45, 66], "robust": [87, 89, 107], "role": [1, 3, 16, 17, 19, 20, 23, 45, 64, 73, 81, 91, 94, 97, 99, 100], "round": 92, "rout": 85, "rpc": [1, 2, 7, 16, 42, 44, 87, 89], "rpcagent": [1, 7, 16, 41], "rpcagentcli": [16, 38, 39], "rpcagentserverlaunch": [42, 43, 102], "rpcagentservic": [38, 41, 42, 44], "rpcagentstub": [38, 41], "rpcmsg": [38, 42, 44], "rpcserversidewrapp": [42, 44], "rule": [92, 97, 100], "run": [0, 1, 2, 7, 45, 47, 80, 84, 89, 90, 96, 98, 102], "run_app": 80, "runnabl": 84, "runtim": [0, 89, 99, 102], "runtime_id": 0, "safeti": [45, 47], "sai": 92, "sambert": 45, "same": [0, 28, 71, 74, 85, 97, 98, 100, 101, 102], "sample_r": 45, "sampler": 45, "sanit": 84, "sanitize_node_data": 84, "satisfi": [45, 64], "save": [0, 12, 13, 14, 15, 16, 37, 38, 39, 45, 68, 92, 97], "save_api_invok": 0, "save_cod": 0, "save_dir": [0, 45], "save_log": 0, "scale": 102, "scan": 103, "scenario": [16, 17, 19, 23, 27, 95, 99, 100], "scene": 98, "schema": [29, 31, 45, 58, 97, 98], "scienc": [45, 67], "score": [45, 54], "score_func": [45, 54], "scratch": 105, "script": [89, 90, 91, 96], "search": [0, 45, 58, 66, 67, 85, 87, 98], "search_queri": [45, 66], "search_result": [45, 67], "second": [17, 19, 42, 43, 45, 47, 72, 100], "secondari": 94, "secretli": 92, "section": [91, 92, 95, 97, 100], "secur": [45, 47], "sed": [45, 48], "see": [1, 2, 92, 93, 100, 104], "seed": [17, 19, 21, 23, 24, 27, 96], "seek": 103, "seem": [92, 102], "seen": [16, 85, 102], "seen_ag": 85, "seer": [92, 97], "segment": [13, 14, 15], "select": [45, 70, 80, 95, 99], "selected_tags_text": [45, 70], "self": [16, 45, 58, 92, 94, 95, 96, 97, 98, 99], "self_define_func": [45, 70], "self_parse_func": [45, 70], "selim": [45, 67], "sell": [45, 69], "send": [16, 72, 73, 80, 81, 99, 102], "send_audio": 80, "send_imag": 80, "send_messag": 80, "send_msg": 81, "send_player_input": 81, "send_reset_msg": 81, "sender": [16, 91, 99], "sent": [72, 92, 102], "separ": [97, 101, 102, 104], "sequenc": [0, 1, 2, 7, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 45, 54, 70, 85, 89, 94, 95, 99], "sequenti": [34, 36, 84, 85, 91], "sequentialpipelin": [34, 35, 36, 91, 92], "sequentialpipelinenod": 85, "seral": [38, 39], "seri": [1, 7, 45, 67, 85, 89, 97, 101], "serial": [13, 15, 16, 38, 39, 45, 51, 98, 99], "serv": [85, 92, 94, 95, 101], "server": [1, 2, 7, 16, 23, 38, 39, 41, 45, 60, 61, 87], "server_id": [42, 43], "servic": [1, 8, 38, 41, 42, 85, 87, 91, 92, 94, 102, 105, 107], "service_bot": 94, "service_func": [45, 58], "service_toolkit": [1, 6, 98], "servicebot": 94, "serviceexecstatu": [45, 56, 57, 64, 66, 67, 69, 98], "serviceexestatu": [45, 56, 98], "servicefactori": [45, 58], "servicefunct": [45, 58], "servicercontext": [42, 44], "servicerespons": [45, 47, 48, 50, 51, 52, 54, 55, 56, 58, 60, 61, 62, 64, 66, 67, 68, 69, 70, 72], "servicetoolkit": [1, 6, 45, 58, 98], "session": [45, 48], "set": [0, 1, 2, 3, 4, 7, 9, 13, 15, 16, 17, 21, 24, 27, 32, 37, 38, 39, 42, 43, 45, 47, 67, 71, 74, 83, 84, 85, 90, 95, 96, 97, 98, 99, 101, 102], "set_pars": [1, 4, 97], "set_quota": [71, 74, 101], "set_respons": [38, 39], "setitim": [45, 47, 72], "setup": [71, 73, 89, 93, 95, 102], "setup_logg": [71, 73], "sever": [89, 92, 94], "share": [0, 28, 95, 102, 103], "she": 92, "shell": [45, 48], "should": [0, 1, 2, 13, 14, 16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 29, 30, 31, 37, 45, 58, 73, 89, 91, 92, 96, 97, 98, 99, 100], "shouldn": [16, 17, 23], "show": [45, 47, 50, 89, 102, 103], "shown": [90, 97, 100], "shrink": [10, 37, 100], "shrink_polici": 37, "shrinkpolici": [10, 37], "shutdown": [42, 43], "side": 92, "sig": 98, "signal": [45, 47, 72, 81], "signatur": 98, "signific": 85, "similar": [45, 92, 95, 97, 98, 99, 100, 102], "similarli": 102, "simpl": [1, 3, 17, 20, 91, 93, 97, 100, 102], "simplic": 100, "simplifi": [89, 92, 95, 98, 100], "simultan": 102, "sinc": [45, 47, 72, 100], "singapor": [45, 67], "singl": [17, 19, 20, 23, 27, 45, 89, 97, 99, 100], "singleton": [71, 74], "siu": [45, 67], "siu53274": [45, 67], "size": [1, 2, 13, 14, 15, 42, 43, 44, 45, 96, 99, 100], "slower": 93, "small": 96, "smoothli": 100, "snippet": [45, 69, 92, 104], "so": [1, 4, 17, 21, 29, 33, 45, 48, 58, 69, 90, 97, 98, 100, 102], "social": 92, "socket": [42, 43, 76], "solut": [17, 19, 100, 102], "solv": [6, 89, 94], "some": [1, 2, 7, 8, 10, 45, 47, 58, 69, 79, 94, 95, 96, 97, 100, 101, 102, 104], "some_messag": 95, "someon": [45, 69], "someth": [92, 93], "sometim": [92, 100], "song": [45, 67], "soon": [97, 98], "sophist": 92, "sort": 84, "sourc": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 47, 48, 50, 51, 52, 54, 55, 56, 57, 58, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 80, 81, 83, 84, 85, 86, 91, 94, 96, 97, 99, 102], "source_kwarg": 85, "source_path": [45, 50], "space": 37, "sparrow": [45, 67], "speak": [1, 2, 4, 6, 9, 17, 20, 32, 92, 94, 97, 100], "speaker": [93, 99, 100], "special": [34, 36, 54, 92, 93, 94, 102], "specif": [0, 1, 2, 9, 13, 15, 17, 22, 29, 32, 33, 38, 39, 42, 44, 45, 47, 71, 74, 81, 84, 85, 89, 90, 91, 93, 94, 96, 97, 98, 99, 100, 101, 102], "specifi": [1, 4, 5, 13, 14, 17, 22, 24, 27, 42, 43, 45, 47, 50, 58, 68, 72, 76, 85, 91, 92, 94, 95, 96, 97, 98, 99, 100, 101, 102], "speech": 91, "sql": [45, 61, 98], "sqlite": [45, 60, 71, 74, 98], "sqlite3": 101, "sqlite_cursor": 74, "sqlite_transact": 74, "sqlitemonitor": [74, 101], "src": 89, "stabil": [87, 107], "stage": [97, 101], "stai": [23, 96, 103], "stand": [91, 93], "standalon": [91, 95], "standard": [45, 47, 92, 93, 99], "star": 103, "start": [1, 2, 7, 17, 19, 23, 42, 43, 45, 66, 67, 77, 83, 89, 93, 94, 96, 97, 100, 101, 102, 104], "start_workflow": 83, "startup": 102, "state": [45, 48, 89, 93, 94, 102], "static": 41, "statu": [45, 56, 57, 58, 66, 67, 69, 98], "stderr": [71, 73, 93], "stem": [45, 47], "step": [1, 6, 84, 90, 91, 94, 95, 97, 98, 104, 108], "step1": 108, "step2": 108, "step3": 108, "still": [37, 92, 93, 101], "stop": [1, 7], "storag": 89, "store": [1, 2, 4, 7, 9, 13, 14, 15, 29, 30, 31, 32, 33, 45, 70, 80, 94, 97, 99], "stori": 97, "str": [0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 37, 38, 39, 42, 43, 44, 45, 47, 48, 50, 51, 52, 56, 58, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 80, 81, 83, 84, 85, 86, 94, 96, 97, 98, 99], "straightforward": [17, 20, 91], "strateg": 92, "strategi": [10, 17, 19, 20, 21, 23, 27, 89, 92, 95, 97, 105], "streamlin": [87, 95, 107], "strengthen": 89, "string": [1, 3, 9, 13, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 29, 31, 37, 45, 47, 48, 58, 66, 67, 69, 70, 72, 76, 83, 84, 86, 93, 98, 99], "string_input": 98, "strong": [17, 21], "structur": [14, 45, 67, 85, 91, 95, 97, 99, 100, 108], "stub": [38, 39], "studio": 73, "style": [37, 45, 58, 76, 98, 100], "sub": [1, 2, 38, 39, 102], "subclass": [1, 5, 7, 42, 43, 85, 89, 94, 95, 99, 100], "submit": 103, "subprocess": [42, 43], "subsequ": [85, 102], "subset": [45, 70], "substanc": [45, 69, 99], "substr": [17, 24], "substrings_in_vision_models_nam": [17, 24], "success": [0, 45, 50, 51, 52, 56, 57, 64, 67, 69, 70, 71, 72, 73, 74, 93, 98], "successfulli": [45, 64, 93, 97], "sucess": [45, 48], "sugar": 89, "suggest": [45, 58, 103, 104], "suit": 84, "suitabl": [17, 19, 23, 27, 87, 94, 97, 99, 100, 107], "summar": [10, 37, 45, 94, 98, 100], "summari": [37, 45, 64, 92], "summarize_model": 37, "sunni": 100, "sunset": 45, "super": [96, 99], "superclass": 94, "suppli": 95, "support": [17, 19, 45, 47, 48, 56, 60, 66, 71, 74, 84, 87, 89, 92, 94, 95, 97, 98, 100, 101, 102, 103, 105, 107], "suppos": [101, 102], "sure": [96, 101, 102], "surviv": 92, "survivor": 92, "suspect": 92, "suspici": 92, "switch": [34, 35, 36, 85, 95, 97], "switch_result": 95, "switchpipelin": [34, 35, 36], "switchpipelinenod": 85, "symposium": [45, 67], "syntact": 89, "synthesi": [17, 19, 96], "sys_prompt": [1, 2, 3, 4, 6, 91, 92, 94], "sys_python_guard": 47, "syst": [45, 67], "system": [1, 2, 3, 4, 6, 12, 16, 17, 19, 23, 27, 37, 45, 47, 64, 70, 89, 92, 94, 99, 100, 101, 102], "system_prompt": [37, 45, 64, 100], "sythesi": 96, "t": [1, 2, 7, 8, 13, 15, 16, 17, 23, 71, 74, 92, 93, 97, 99, 101, 102], "tabl": [74, 94, 95, 98, 105], "table_nam": 74, "tag": [11, 29, 30, 31, 33, 45, 70, 97], "tag_begin": [29, 30, 31, 33, 97], "tag_end": [29, 30, 31, 33, 97], "tag_lines_format": [29, 33], "tagged_cont": [29, 33], "taggedcont": [29, 33, 97], "tagnotfounderror": 11, "tailor": [92, 94], "take": [1, 2, 13, 14, 15, 45, 54, 71, 74, 89, 91, 92, 94, 97, 98, 100], "taken": [1, 2, 7, 8, 92, 95], "tan": [45, 67], "tang": [45, 67], "target": [37, 41, 92, 97, 100, 102], "task": [1, 2, 7, 8, 16, 42, 44, 89, 94, 96], "task_id": [16, 42, 44], "task_msg": [42, 44], "teammat": 92, "teardown": 95, "technic": 102, "technolog": [45, 67], "tell": [16, 99], "temperatur": [17, 19, 21, 22, 23, 24, 27, 92, 96], "templat": [34, 36, 94], "temporari": [13, 15, 72], "temporarymemori": [13, 15], "tensorflow": 89, "term": [45, 69, 91, 95, 101], "termin": [23, 42, 43, 45, 47, 91, 92, 102], "test": [47, 89, 100], "text": [1, 4, 8, 17, 19, 26, 29, 30, 31, 32, 33, 45, 58, 64, 70, 80, 81, 85, 91, 94, 96, 97, 98, 99, 100], "text_cmd": [45, 58], "text_to_audio": 45, "texttoimageag": [1, 8, 85, 94], "texttoimageagentnod": 85, "textual": [1, 4], "than": [17, 19, 45, 64, 92, 93, 97, 99, 100, 102], "thank": [93, 100], "thei": [37, 91, 92, 95, 97, 102], "them": [1, 7, 16, 34, 36, 45, 48, 92, 93, 94, 96, 97, 98, 100, 101, 104], "themselv": [92, 95], "therefor": [100, 102], "thi": [0, 1, 2, 3, 4, 6, 7, 8, 9, 13, 14, 15, 16, 17, 19, 20, 22, 23, 24, 26, 27, 28, 29, 33, 38, 39, 42, 43, 45, 47, 54, 66, 69, 71, 72, 74, 83, 84, 85, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 104], "thing": [45, 69, 102], "think": [81, 92], "third": [91, 98, 100], "those": 101, "thought": [1, 2, 7, 8, 16, 92, 97], "thread": [38, 39, 73], "three": [0, 28, 42, 44, 87, 89, 97, 107], "thrive": 104, "through": [85, 91, 92, 94, 95, 96, 99, 102], "throw": 101, "thrown": [97, 101], "tht": 16, "thu": [95, 97], "ti": [45, 66], "time": [1, 2, 9, 16, 42, 43, 44, 45, 47, 71, 72, 74, 85, 92, 99, 100, 102, 103, 104], "timeout": [1, 2, 7, 9, 17, 22, 25, 27, 38, 39, 41, 42, 43, 45, 47, 68, 70, 74, 81], "timeouterror": [1, 9], "timer": 72, "timestamp": [16, 93, 99], "titl": [45, 66, 67, 69, 97, 104], "to_all_continu": 92, "to_all_r": 92, "to_all_vot": 92, "to_cont": [29, 31, 32, 33, 97], "to_dialog_str": 76, "to_dist": [1, 2, 94], "to_mem": [13, 14, 15, 99], "to_memori": [29, 31, 32, 33, 97], "to_metadata": [29, 31, 32, 33, 97], "to_openai_dict": 76, "to_seer": 92, "to_seer_result": 92, "to_str": [16, 99], "to_witch_resurrect": 92, "to_wolv": 92, "to_wolves_r": 92, "to_wolves_vot": 92, "todai": [17, 19, 23, 45, 100], "todo": [1, 8, 14, 37], "togeth": 92, "toke": 22, "token": [45, 64, 75, 97, 101], "token_limit_prompt": [45, 64], "token_num": 101, "token_num_us": 101, "toler": [87, 89, 97, 107], "tongyi": [17, 19], "tongyi_chat": [17, 19], "tonight": 92, "too": [10, 37, 45, 60, 61, 97], "took": 91, "tool": [1, 6, 45, 58, 89, 90, 98], "toolkit": [45, 58], "tools_calling_format": [45, 58, 98], "tools_instruct": [45, 58, 98], "top": [45, 54, 89, 90, 91, 92, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103, 104], "top_k": [13, 15, 45, 54], "topic": 92, "topolog": 84, "total": [17, 24, 92, 101], "touch": 93, "townsfolk": 92, "trace": [0, 71, 73, 93], "track": [85, 93, 101], "tracker": 104, "transact": 74, "transform": [45, 67, 96], "transmiss": 89, "transpar": 97, "travers": 85, "treat": [1, 4, 100], "trigger": [34, 35, 36, 71, 74], "true": [0, 1, 2, 3, 4, 6, 7, 8, 11, 13, 14, 15, 29, 31, 32, 33, 34, 35, 36, 42, 43, 45, 54, 70, 91, 92, 94, 95, 97, 99, 102], "truncat": [10, 37], "try": [92, 94, 98, 99, 101], "tupl": [1, 2, 3, 4, 6, 7, 8, 9, 29, 33, 42, 43, 44, 45, 52, 58], "turbo": [17, 21, 22, 24, 91, 92, 96, 100, 101], "turn": [45, 58, 92], "tutori": [1, 2, 4, 89, 91, 92, 93, 94, 98, 99, 101, 102], "twice": 102, "two": [45, 47, 54, 55, 66, 69, 91, 92, 95, 96, 97, 98, 99, 100, 102], "txt": 52, "type": [1, 2, 3, 7, 9, 11, 13, 14, 15, 17, 19, 20, 21, 22, 23, 24, 25, 27, 34, 35, 36, 37, 38, 39, 42, 43, 44, 45, 47, 48, 50, 51, 52, 54, 55, 58, 60, 61, 62, 64, 66, 67, 68, 69, 70, 71, 72, 74, 76, 84, 85, 91, 94, 95, 96, 98, 99, 102], "typic": [45, 51, 94, 99, 105], "u": [17, 20, 45, 69, 92, 98, 103, 104], "ui": [77, 80, 81], "uid": [73, 80, 81], "uncertain": 11, "under": [37, 90, 93, 96, 101, 102], "underli": 100, "underpin": 94, "understand": [45, 58, 93, 95, 98, 105], "undetect": 92, "unexpect": 93, "unfold": 92, "unifi": [0, 17, 21, 94, 100], "unintend": 95, "union": [0, 1, 2, 7, 9, 13, 14, 15, 16, 17, 19, 20, 21, 23, 24, 25, 27, 28, 29, 31, 32, 33, 45, 47, 94, 95, 99], "uniqu": [1, 2, 42, 44, 45, 69, 71, 74, 85, 91, 94, 99, 101], "unit": [13, 15, 16, 71, 74, 101], "unittest": [71, 74, 89], "univers": [45, 67], "unix": [45, 47, 72], "unless": 92, "unlik": 99, "unlock": 92, "unoccupi": 76, "unset": 91, "until": [91, 92, 95], "untrust": [45, 47], "up": [83, 90, 101, 103], "updat": [17, 20, 22, 71, 74, 92, 94, 99, 100, 103], "update_alive_play": 92, "update_config": [13, 14], "update_monitor": [17, 22], "update_valu": 16, "upon": [95, 99], "url": [1, 9, 16, 17, 19, 25, 26, 45, 67, 68, 70, 72, 89, 91, 94, 96, 98, 99, 100], "url_to_png1": 100, "url_to_png2": 100, "url_to_png3": 100, "urlpars": 70, "us": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 13, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 45, 47, 48, 54, 56, 58, 60, 61, 62, 64, 69, 70, 71, 74, 76, 79, 81, 84, 85, 87, 89, 91, 92, 93, 94, 95, 96, 99, 100, 102, 104, 105, 107], "usabl": 89, "usag": [1, 4, 16, 45, 58, 67, 69, 71, 74, 89, 91, 92, 94, 98, 99, 100, 105], "use_dock": [45, 47], "use_memori": [1, 2, 3, 4, 8, 92, 94], "use_monitor": [0, 101], "user": [1, 3, 4, 9, 16, 17, 19, 20, 23, 32, 37, 45, 54, 61, 64, 76, 80, 81, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 103, 107], "user_ag": 91, "user_agent_config": 94, "user_input": [81, 100], "user_messag": 100, "user_proxy_ag": 94, "userag": [1, 9, 42, 43, 85, 91], "useragentnod": 85, "usernam": [45, 61, 98, 104], "usual": 98, "util": [86, 87, 89, 91, 92, 93, 97, 98, 101], "uuid": 81, "uuid4": 99, "v1": [45, 69, 96], "v2": 96, "v4": 27, "valid": [1, 4, 11, 70, 84], "valu": [0, 10, 13, 15, 16, 17, 19, 22, 29, 31, 32, 33, 37, 38, 39, 42, 43, 45, 57, 58, 71, 73, 74, 85, 97, 98, 99, 100, 101, 102], "valueerror": [1, 2, 84], "variabl": [17, 20, 21, 24, 27, 45, 66, 69, 80, 91, 92, 96, 100, 102], "varieti": [45, 69, 89, 92], "variou": [45, 47, 56, 84, 87, 94, 96, 98, 100, 101, 102, 107], "ve": [92, 104], "vector": [13, 15], "venu": [45, 67, 98], "verbos": [1, 6], "veri": [0, 28, 45, 48, 97], "version": [1, 2, 34, 35, 45, 64, 94, 104], "versu": 95, "vertex": [17, 20], "via": [1, 4, 91, 92, 93, 97], "video": [16, 45, 56, 89, 91, 94, 98, 99], "villag": [92, 97], "vim": [45, 48], "virtual": [94, 108], "visibl": 97, "vision": [17, 24], "visual": 93, "vl": [17, 19, 45, 96, 100], "vllm": [17, 25, 92, 96], "voic": 94, "vote": [92, 97], "vote_r": 92, "wa": [97, 99], "wai": [16, 17, 21, 93, 99, 101, 102], "wait": [42, 43, 102, 104], "wait_for_readi": 41, "wait_until_termin": [42, 43, 102], "want": [45, 48, 96, 101], "wanx": [45, 96], "warn": [0, 45, 47, 71, 73, 93], "watch": 103, "wbcd": [45, 67], "we": [0, 1, 6, 16, 17, 19, 20, 28, 29, 33, 37, 45, 54, 56, 60, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 100, 102, 103, 104], "weak": 97, "weather": [45, 100], "web": [0, 45, 87, 89, 93, 98, 99, 100], "web_text_or_url": [45, 70], "webpag": [45, 70], "websit": [1, 9, 16, 91, 94, 99], "webui": [87, 89, 107, 108], "weimin": [45, 67], "welcom": [17, 20, 92, 93, 103, 104], "well": [45, 58, 64, 92, 98, 100], "werewolf": [1, 4], "werewolv": 92, "what": [0, 17, 19, 23, 28, 29, 31, 45, 69, 91, 97, 100, 108], "when": [0, 1, 2, 4, 7, 10, 11, 13, 14, 15, 16, 17, 19, 25, 34, 35, 36, 37, 45, 47, 48, 58, 71, 74, 76, 84, 85, 89, 92, 93, 96, 97, 98, 99, 100, 101, 102, 104], "where": [1, 4, 16, 17, 19, 20, 21, 23, 24, 25, 27, 45, 50, 51, 52, 70, 72, 84, 85, 91, 92, 94, 95, 97, 98, 99, 100], "whether": [0, 1, 2, 3, 4, 6, 7, 8, 9, 13, 15, 16, 17, 29, 33, 34, 35, 36, 42, 43, 44, 45, 47, 51, 52, 54, 58, 61, 62, 64, 70, 71, 74, 81, 86, 92, 97, 99, 101, 104], "which": [0, 1, 2, 3, 4, 6, 8, 9, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 29, 30, 32, 33, 34, 35, 36, 38, 39, 45, 58, 66, 69, 71, 72, 73, 74, 85, 89, 91, 92, 93, 94, 95, 96, 97, 99, 100, 101, 102], "while": [34, 36, 45, 58, 85, 91, 92, 93, 95, 97, 98, 100, 102], "whilelooppipelin": [34, 35, 36], "whilelooppipelinenod": 85, "who": [16, 45, 69, 90, 92, 96, 99], "whole": [29, 31, 32, 33, 97], "whose": [84, 97, 100, 102], "why": 108, "wide": 102, "win": 92, "window": [45, 47, 90], "witch": [92, 97], "witch_nam": 92, "within": [1, 6, 45, 47, 60, 61, 62, 85, 89, 91, 92, 94, 95, 97, 99], "without": [0, 1, 2, 7, 28, 85, 92, 94, 95, 97, 100, 102], "wolf": 92, "wolv": 92, "won": 92, "wonder": [17, 19], "work": [1, 4, 45, 50, 54, 72, 92, 99, 100, 104], "workflow": [32, 34, 36, 84, 85, 86, 102], "workflownod": 85, "workflownodetyp": 85, "workshop": [45, 67], "world": [93, 97], "worri": 102, "worth": 95, "would": 92, "wrap": [1, 2, 17, 20, 45, 56, 98], "wrapper": [1, 7, 17, 19, 20, 21, 22, 23, 24, 25, 27, 42, 43, 89, 98, 100, 105], "write": [13, 15, 45, 50, 52, 72, 85, 98, 102, 104], "write_fil": 72, "write_json_fil": [45, 51, 98], "write_text_fil": [45, 52, 98], "writetextservicenod": 85, "written": [13, 15, 45, 51, 52, 72, 98, 102], "wrong": 93, "www": [45, 69], "x": [1, 2, 3, 4, 6, 7, 8, 9, 16, 34, 35, 36, 38, 39, 91, 92, 94, 95, 97, 98, 102], "x1": [0, 28], "x2": [0, 28], "x_in": 84, "xxx": [91, 92, 96, 98, 100], "xxx1": 100, "xxx2": 100, "xxxagent": [1, 2], "xxxxx": [45, 70], "ye": 97, "year": [45, 67], "yet": [45, 48, 102], "yield": 74, "you": [1, 6, 13, 15, 16, 17, 19, 20, 21, 22, 23, 29, 30, 37, 42, 43, 45, 47, 48, 64, 70, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104], "your": [1, 2, 3, 6, 16, 17, 21, 22, 45, 58, 69, 71, 74, 87, 90, 91, 97, 98, 100, 101, 103, 105, 107, 108], "your_": [29, 30], "your_api_kei": [22, 96], "your_config_nam": 96, "your_cse_id": [45, 69], "your_google_api_kei": [45, 69], "your_json_dictionari": [29, 31], "your_json_object": [29, 31], "your_organ": [22, 96], "your_python_cod": 97, "your_save_path": 93, "yourag": 98, "yu": [45, 67], "yusefi": [45, 67], "yutztch23": [45, 67], "ywjjzgvm": 100, "yyi": 96, "zero": [101, 102], "zh": [17, 19, 45], "zhang": [45, 67], "zhichu": 45, "zhipuai": [17, 27, 100], "zhipuai_chat": [17, 27, 96], "zhipuai_embed": [17, 27, 96], "zhipuaichatwrapp": [17, 27, 96], "zhipuaiembeddingwrapp": [17, 27, 96], "zhipuaiwrapperbas": [17, 27], "ziwei": [45, 67], "\u00f6mer": [45, 67], "\u7701\u7565\u4ee3\u7801\u4ee5\u7b80\u5316": 99, "\u9489\u9489": 106}, "titles": ["agentscope", "agentscope.agents", "agentscope.agents.agent", "agentscope.agents.dialog_agent", "agentscope.agents.dict_dialog_agent", "agentscope.agents.operator", "agentscope.agents.react_agent", "agentscope.agents.rpc_agent", "agentscope.agents.text_to_image_agent", "agentscope.agents.user_agent", "agentscope.constants", "agentscope.exception", "agentscope.file_manager", "agentscope.memory", "agentscope.memory.memory", "agentscope.memory.temporary_memory", "agentscope.message", "agentscope.models", "agentscope.models.config", "agentscope.models.dashscope_model", "agentscope.models.gemini_model", "agentscope.models.litellm_model", "agentscope.models.model", "agentscope.models.ollama_model", "agentscope.models.openai_model", "agentscope.models.post_model", "agentscope.models.response", "agentscope.models.zhipu_model", "agentscope.msghub", "agentscope.parsers", "agentscope.parsers.code_block_parser", "agentscope.parsers.json_object_parser", "agentscope.parsers.parser_base", "agentscope.parsers.tagged_content_parser", "agentscope.pipelines", "agentscope.pipelines.functional", "agentscope.pipelines.pipeline", "agentscope.prompt", "agentscope.rpc", "agentscope.rpc.rpc_agent_client", "agentscope.rpc.rpc_agent_pb2", "agentscope.rpc.rpc_agent_pb2_grpc", "agentscope.server", "agentscope.server.launcher", "agentscope.server.servicer", "agentscope.service", "agentscope.service.execute_code", "agentscope.service.execute_code.exec_python", "agentscope.service.execute_code.exec_shell", "agentscope.service.file", "agentscope.service.file.common", "agentscope.service.file.json", "agentscope.service.file.text", "agentscope.service.retrieval", "agentscope.service.retrieval.retrieval_from_list", "agentscope.service.retrieval.similarity", "agentscope.service.service_response", "agentscope.service.service_status", "agentscope.service.service_toolkit", "agentscope.service.sql_query", "agentscope.service.sql_query.mongodb", "agentscope.service.sql_query.mysql", "agentscope.service.sql_query.sqlite", "agentscope.service.text_processing", "agentscope.service.text_processing.summarization", "agentscope.service.web", "agentscope.service.web.arxiv", "agentscope.service.web.dblp", "agentscope.service.web.download", "agentscope.service.web.search", "agentscope.service.web.web_digest", "agentscope.utils", "agentscope.utils.common", "agentscope.utils.logging_utils", "agentscope.utils.monitor", "agentscope.utils.token_utils", "agentscope.utils.tools", "agentscope.web", "agentscope.web.studio", "agentscope.web.studio.constants", "agentscope.web.studio.studio", "agentscope.web.studio.utils", "agentscope.web.workstation", "agentscope.web.workstation.workflow", "agentscope.web.workstation.workflow_dag", "agentscope.web.workstation.workflow_node", "agentscope.web.workstation.workflow_utils", "AgentScope Documentation", "agentscope", "About AgentScope", "Installation", "Quick Start", "Crafting Your First Application", "Logging and WebUI", "Customizing Your Own Agent", "Pipeline and MsgHub", "Model", "Model Response Parser", "Service", "Memory", "Prompt Engineering", "Monitor", "Distribution", "Joining AgentScope Community", "Contribute to AgentScope", "Advanced Exploration", "Get Involved", "Welcome to AgentScope Tutorial Hub", "Getting Started"], "titleterms": {"1": [92, 102], "2": [92, 102], "3": 92, "4": 92, "5": 92, "For": 104, "Will": 100, "about": [89, 98, 99, 100, 102], "actor": 102, "ad": 95, "advanc": [87, 101, 102, 105, 107], "agent": [1, 2, 3, 4, 5, 6, 7, 8, 9, 89, 91, 92, 94, 97, 102], "agentbas": 94, "agentpool": 94, "agentscop": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 101, 103, 104, 107], "an": 101, "api": [87, 92, 96, 101], "applic": [92, 102], "arxiv": 66, "ask": 104, "background": 97, "basic": [96, 101], "branch": 104, "broadcast": 95, "budget": 101, "bug": 104, "build": 96, "built": [98, 100], "case": 97, "categori": 95, "challeng": 100, "chang": 104, "chat": [93, 96], "child": 102, "class": [99, 100], "clone": 104, "code": [89, 104], "code_block_pars": 30, "codebas": 104, "combin": 95, "commit": 104, "common": [50, 72], "commun": 103, "compon": 100, "concept": 89, "conda": 90, "config": [18, 92], "configur": 96, "constant": [10, 79], "construct": 100, "content": 97, "contribut": 104, "convers": 91, "convert": 102, "craft": 92, "creat": [90, 91, 95, 96, 98, 104], "custom": [94, 97], "dashscop": 96, "dashscope_model": 19, "dashscopechatwrapp": 100, "dashscopemultimodalwrapp": 100, "dblp": 67, "defin": 92, "delet": 95, "deprec": 100, "design": 89, "detail": 96, "dialog_ag": 3, "dialogag": 94, "dict_dialog_ag": 4, "dictionari": 97, "dingtalk": 103, "discord": 103, "distinguish": 101, "distribut": 102, "document": 87, "download": 68, "dynam": 100, "each": 92, "engin": 100, "environ": 90, "exampl": 98, "except": 11, "exec_python": 47, "exec_shel": 48, "execute_cod": [46, 47, 48], "explor": [87, 94, 105, 107], "featur": [100, 104], "file": [49, 50, 51, 52], "file_manag": 12, "first": 92, "flow": 102, "fork": 104, "forlooppipelin": 95, "format": [96, 97, 100], "from": [90, 94, 96], "function": [35, 97, 98], "futur": 100, "game": [92, 97], "gemini": 96, "gemini_model": 20, "geminichatwrapp": 100, "get": [87, 92, 101, 106, 107, 108], "github": 103, "handl": 101, "how": [89, 98], "hub": [87, 107], "i": 89, "ifelsepipelin": 95, "implement": [92, 102], "independ": 102, "indic": 87, "inform": 93, "initi": [92, 97, 100], "instal": 90, "instanc": 101, "instruct": 97, "integr": 93, "involv": [87, 106, 107], "its": 102, "join": [100, 103], "json": [51, 97], "json_object_pars": 31, "kei": [89, 100], "launcher": 43, "leverag": 92, "list": 100, "litellm": 96, "litellm_model": 21, "litellmchatwrapp": 100, "log": 93, "logger": 93, "logging_util": 73, "logic": 92, "make": 104, "markdowncodeblockpars": 97, "markdownjsondictpars": 97, "markdownjsonobjectpars": 97, "memori": [13, 14, 15, 99], "memorybas": 99, "messag": [16, 89, 93, 95, 99], "messagebas": 99, "metric": 101, "mode": 102, "model": [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 91, 92, 96, 97, 100, 102], "modul": 97, "mongodb": 60, "monitor": [74, 101], "msg": 99, "msghub": [28, 92, 95], "multitaggedcontentpars": 97, "mysql": 61, "navig": [87, 107], "new": [98, 104], "next": 92, "non": 100, "note": 93, "object": 97, "ollama": 96, "ollama_model": 23, "ollamachatwrapp": 100, "ollamagenerationwrapp": 100, "openai": 96, "openai_model": 24, "openaichatwrapp": 100, "oper": 5, "orchestr": 102, "output": 100, "overview": 97, "own": [94, 96], "paramet": 96, "pars": 97, "parser": [29, 30, 31, 32, 33, 97], "parser_bas": 32, "particip": 95, "pip": 90, "pipelin": [34, 35, 36, 92, 95], "placehold": 102, "post": 96, "post_model": 25, "prefix": 101, "prepar": [91, 92], "process": 102, "prompt": [37, 100], "promptengin": 100, "pull": 104, "python": 97, "quick": [91, 93], "quota": 101, "react": 97, "react_ag": 6, "refer": 87, "regist": 101, "remov": 101, "report": 104, "repositori": 104, "request": [96, 104], "reset": 101, "respons": [26, 97], "retriev": [53, 54, 55, 101], "retrieval_from_list": 54, "review": 104, "role": 92, "rpc": [38, 39, 40, 41], "rpc_agent": 7, "rpc_agent_cli": 39, "rpc_agent_pb2": 40, "rpc_agent_pb2_grpc": 41, "run": [92, 93], "scratch": 96, "search": 69, "sequentialpipelin": 95, "server": [42, 43, 44, 102], "servic": [44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 89, 96, 98], "service_respons": 56, "service_statu": 57, "service_toolkit": 58, "servicerespons": 98, "set": [92, 93], "similar": 55, "sourc": 90, "sql_queri": [59, 60, 61, 62], "sqlite": 62, "start": [87, 91, 92, 107, 108], "step": [92, 102], "step1": 91, "step2": 91, "step3": 91, "strategi": 100, "string": [97, 100], "structur": 89, "studio": [78, 79, 80, 81], "submit": 104, "summar": 64, "support": 96, "switchpipelin": 95, "system": 93, "tabl": [87, 97], "tagged_content_pars": 33, "templat": 97, "temporary_memori": 15, "temporarymemori": 99, "text": 52, "text_process": [63, 64], "text_to_image_ag": 8, "to_dist": 102, "token_util": 75, "tool": [76, 97], "toolkit": 98, "tutori": [87, 107], "type": [97, 100], "typic": 97, "understand": [94, 101], "up": [92, 93], "updat": 101, "us": [90, 97, 98, 101], "usag": [95, 97, 101, 102], "user_ag": 9, "userag": 94, "util": [71, 72, 73, 74, 75, 76, 81], "valid": 97, "version": 102, "virtual": 90, "virtualenv": 90, "vision": 100, "wai": 100, "web": [65, 66, 67, 68, 69, 70, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86], "web_digest": 70, "webui": 93, "welcom": [87, 107], "werewolf": [92, 97], "what": 89, "whilelooppipelin": 95, "why": 89, "workflow": [83, 89], "workflow_dag": 84, "workflow_nod": 85, "workflow_util": 86, "workstat": [82, 83, 84, 85, 86], "wrapper": 96, "your": [92, 94, 96, 102, 104], "zhipu_model": 27, "zhipuai": 96, "zhipuaichatwrapp": 100, "\u9489\u9489": 103}})
\ No newline at end of file
+Search.setIndex({"alltitles": {"About AgentScope": [[90, "about-agentscope"]], "About Implementation": [[103, "about-implementation"]], "About Memory": [[100, "about-memory"]], "About Message": [[100, "about-message"]], "About PromptEngine Class": [[101, "about-promptengine-class"]], "About Service Toolkit": [[99, "about-service-toolkit"]], "About ServiceResponse": [[99, "about-serviceresponse"]], "Actor Model": [[103, "actor-model"]], "Adding and Deleting Participants": [[96, "adding-and-deleting-participants"]], "Advanced Exploration": [[88, "advanced-exploration"], [106, "advanced-exploration"], [108, "advanced-exploration"]], "Advanced Usage": [[102, "advanced-usage"]], "Advanced Usage of to_dist": [[103, "advanced-usage-of-to-dist"]], "Agent": [[90, "agent"]], "Agent Server": [[103, "agent-server"]], "AgentScope API Reference": [[88, null]], "AgentScope Code Structure": [[90, "agentscope-code-structure"]], "AgentScope Documentation": [[88, "agentscope-documentation"]], "Background": [[98, "background"]], "Basic Parameters": [[97, "basic-parameters"]], "Basic Usage": [[102, "basic-usage"]], "Broadcast message in MsgHub": [[96, "broadcast-message-in-msghub"]], "Build Model Service from Scratch": [[97, "build-model-service-from-scratch"]], "Built-in Prompt Strategies": [[101, "built-in-prompt-strategies"]], "Built-in Service Functions": [[99, "built-in-service-functions"]], "Category": [[96, "category"]], "Challenges in Prompt Construction": [[101, "challenges-in-prompt-construction"]], "Child Process Mode": [[103, "child-process-mode"]], "Code Review": [[105, "code-review"]], "Commit Your Changes": [[105, "commit-your-changes"]], "Configuration": [[97, "configuration"]], "Configuration Format": [[97, "configuration-format"]], "Contribute to AgentScope": [[105, "contribute-to-agentscope"]], "Contribute to Codebase": [[105, "contribute-to-codebase"]], "Crafting Your First Application": [[93, "crafting-your-first-application"]], "Creat Your Own Model Wrapper": [[97, "creat-your-own-model-wrapper"]], "Create a New Branch": [[105, "create-a-new-branch"]], "Create a Virtual Environment": [[91, "create-a-virtual-environment"]], "Create new Service Function": [[99, "create-new-service-function"]], "Creating a MsgHub": [[96, "creating-a-msghub"]], "Customized Parser": [[98, "customized-parser"]], "Customizing Agents from the AgentPool": [[95, "customizing-agents-from-the-agentpool"]], "Customizing Your Own Agent": [[95, "customizing-your-own-agent"]], "DashScope API": [[97, "dashscope-api"]], "DashScopeChatWrapper": [[101, "dashscopechatwrapper"]], "DashScopeMultiModalWrapper": [[101, "dashscopemultimodalwrapper"]], "Detailed Parameters": [[97, "detailed-parameters"]], "DialogAgent": [[95, "dialogagent"]], "Dictionary Type": [[98, "dictionary-type"]], "DingTalk (\u9489\u9489)": [[104, "dingtalk"]], "Discord": [[104, "discord"]], "Distribution": [[103, "distribution"]], "Example": [[99, "example"]], "Exploring the AgentPool": [[95, "exploring-the-agentpool"]], "ForLoopPipeline": [[96, "forlooppipeline"]], "Fork and Clone the Repository": [[105, "fork-and-clone-the-repository"]], "Format Instruction Template": [[98, "format-instruction-template"]], "Formatting Prompts in Dynamic Way": [[101, "formatting-prompts-in-dynamic-way"]], "Gemini API": [[97, "gemini-api"]], "GeminiChatWrapper": [[101, "geminichatwrapper"]], "Get Involved": [[107, "get-involved"]], "Get a Monitor Instance": [[102, "get-a-monitor-instance"]], "Getting Involved": [[88, "getting-involved"], [108, "getting-involved"]], "Getting Started": [[88, "getting-started"], [93, "getting-started"], [108, "getting-started"], [109, "getting-started"]], "GitHub": [[104, "github"]], "Handling Quotas": [[102, "handling-quotas"]], "How is AgentScope designed?": [[90, "how-is-agentscope-designed"]], "How to use": [[99, "how-to-use"]], "How to use Service Functions": [[99, "how-to-use-service-functions"]], "IfElsePipeline": [[96, "ifelsepipeline"]], "Implement Werewolf Pipeline": [[93, "implement-werewolf-pipeline"]], "Independent Process Mode": [[103, "independent-process-mode"]], "Indices and tables": [[88, "indices-and-tables"]], "Initialization": [[98, "initialization"], [101, "initialization"]], "Initialization & Format Instruction Template": [[98, "initialization-format-instruction-template"], [98, "id1"], [98, "id3"]], "Install from Source": [[91, "install-from-source"]], "Install with Pip": [[91, "install-with-pip"]], "Installation": [[91, "installation"]], "Installing AgentScope": [[91, "installing-agentscope"]], "Integrating logging with WebUI": [[94, "integrating-logging-with-webui"]], "JSON / Python Object Type": [[98, "json-python-object-type"]], "Joining AgentScope Community": [[104, "joining-agentscope-community"]], "Joining Prompt Components": [[101, "joining-prompt-components"]], "Key Concepts": [[90, "key-concepts"]], "Key Features of PromptEngine": [[101, "key-features-of-promptengine"]], "Leverage Pipeline and MsgHub": [[93, "leverage-pipeline-and-msghub"]], "LiteLLM Chat API": [[97, "litellm-chat-api"]], "LiteLLMChatWrapper": [[101, "litellmchatwrapper"]], "Logging": [[94, "logging"]], "Logging a Chat Message": [[94, "logging-a-chat-message"]], "Logging a System information": [[94, "logging-a-system-information"]], "Logging and WebUI": [[94, "logging-and-webui"]], "Making Changes": [[105, "making-changes"]], "MarkdownCodeBlockParser": [[98, "markdowncodeblockparser"]], "MarkdownJsonDictParser": [[98, "markdownjsondictparser"]], "MarkdownJsonObjectParser": [[98, "markdownjsonobjectparser"]], "Memory": [[100, "memory"]], "MemoryBase Class": [[100, "memorybase-class"]], "Message": [[90, "message"]], "MessageBase Class": [[100, "messagebase-class"]], "Model": [[97, "model"]], "Model Response Parser": [[98, "model-response-parser"]], "Monitor": [[102, "monitor"]], "Msg Class": [[100, "msg-class"]], "MsgHub": [[96, "msghub"]], "MultiTaggedContentParser": [[98, "multitaggedcontentparser"]], "Next step": [[93, "next-step"]], "Non-Vision Models": [[101, "non-vision-models"]], "Note": [[94, "note"]], "Ollama API": [[97, "ollama-api"]], "OllamaChatWrapper": [[101, "ollamachatwrapper"]], "OllamaGenerationWrapper": [[101, "ollamagenerationwrapper"]], "OpenAI API": [[97, "openai-api"]], "OpenAIChatWrapper": [[101, "openaichatwrapper"]], "Output List Type Prompt": [[101, "output-list-type-prompt"]], "Output String Type Prompt": [[101, "output-string-type-prompt"]], "Overview": [[98, "overview"]], "Parse Function": [[98, "parse-function"], [98, "id2"], [98, "id4"]], "Parser Module": [[98, "parser-module"]], "Pipeline Combination": [[96, "pipeline-combination"]], "Pipeline and MsgHub": [[96, "pipeline-and-msghub"]], "Pipelines": [[96, "pipelines"]], "PlaceHolder": [[103, "placeholder"]], "Post Request API": [[97, "post-request-api"]], "Prompt Engine (Will be deprecated in the future)": [[101, "prompt-engine-will-be-deprecated-in-the-future"]], "Prompt Engineering": [[101, "prompt-engineering"]], "Prompt Strategy": [[101, "prompt-strategy"], [101, "id1"], [101, "id2"], [101, "id3"], [101, "id4"], [101, "id5"], [101, "id6"], [101, "id7"]], "Quick Running": [[94, "quick-running"]], "Quick Start": [[92, "quick-start"]], "ReAct Agent and Tool Usage": [[98, "react-agent-and-tool-usage"]], "Register a budget for an API": [[102, "register-a-budget-for-an-api"]], "Registering API Usage Metrics": [[102, "registering-api-usage-metrics"]], "Report Bugs and Ask For New Features?": [[105, "report-bugs-and-ask-for-new-features"]], "Resetting and Removing Metrics": [[102, "resetting-and-removing-metrics"]], "Retrieving Metrics": [[102, "retrieving-metrics"]], "SequentialPipeline": [[96, "sequentialpipeline"]], "Service": [[90, "service"], [99, "service"]], "Setting Up the Logger": [[94, "setting-up-the-logger"]], "Step 1: Convert your agent to its distributed version": [[103, "step-1-convert-your-agent-to-its-distributed-version"]], "Step 1: Prepare Model API and Set Model Configs": [[93, "step-1-prepare-model-api-and-set-model-configs"]], "Step 2: Define the Roles of Each Agent": [[93, "step-2-define-the-roles-of-each-agent"]], "Step 2: Orchestrate Distributed Application Flow": [[103, "step-2-orchestrate-distributed-application-flow"]], "Step 3: Initialize AgentScope and the Agents": [[93, "step-3-initialize-agentscope-and-the-agents"]], "Step 4: Set Up the Game Logic": [[93, "step-4-set-up-the-game-logic"]], "Step 5: Run the Application": [[93, "step-5-run-the-application"]], "Step1: Prepare Model": [[92, "step1-prepare-model"]], "Step2: Create Agents": [[92, "step2-create-agents"]], "Step3: Agent Conversation": [[92, "step3-agent-conversation"]], "String Type": [[98, "string-type"]], "Submit a Pull Request": [[105, "submit-a-pull-request"]], "Supported Models": [[97, "supported-models"]], "SwitchPipeline": [[96, "switchpipeline"]], "Table of Contents": [[98, "table-of-contents"]], "TemporaryMemory": [[100, "temporarymemory"]], "Tutorial Navigator": [[88, "tutorial-navigator"], [108, "tutorial-navigator"]], "Typical Use Cases": [[98, "typical-use-cases"]], "Understanding AgentBase": [[95, "understanding-agentbase"]], "Understanding the Monitor in AgentScope": [[102, "understanding-the-monitor-in-agentscope"]], "Updating Metrics": [[102, "updating-metrics"]], "Usage": [[96, "usage"], [96, "id1"], [103, "usage"]], "UserAgent": [[95, "useragent"]], "Using Conda": [[91, "using-conda"]], "Using Virtualenv": [[91, "using-virtualenv"]], "Using prefix to Distinguish Metrics": [[102, "using-prefix-to-distinguish-metrics"]], "Using the Monitor": [[102, "using-the-monitor"]], "Validation": [[98, "validation"]], "Vision Models": [[101, "vision-models"]], "Welcome to AgentScope Tutorial Hub": [[88, "welcome-to-agentscope-tutorial-hub"], [108, "welcome-to-agentscope-tutorial-hub"]], "WereWolf Game": [[98, "werewolf-game"]], "What is AgentScope?": [[90, "what-is-agentscope"]], "WhileLoopPipeline": [[96, "whilelooppipeline"]], "Why AgentScope?": [[90, "why-agentscope"]], "Workflow": [[90, "workflow"]], "ZhipuAI API": [[97, "zhipuai-api"]], "ZhipuAIChatWrapper": [[101, "zhipuaichatwrapper"]], "agentscope": [[0, "module-agentscope"], [89, "agentscope"]], "agentscope.agents": [[1, "module-agentscope.agents"]], "agentscope.agents.agent": [[2, "module-agentscope.agents.agent"]], "agentscope.agents.dialog_agent": [[3, "module-agentscope.agents.dialog_agent"]], "agentscope.agents.dict_dialog_agent": [[4, "module-agentscope.agents.dict_dialog_agent"]], "agentscope.agents.operator": [[5, "module-agentscope.agents.operator"]], "agentscope.agents.react_agent": [[6, "module-agentscope.agents.react_agent"]], "agentscope.agents.rpc_agent": [[7, "module-agentscope.agents.rpc_agent"]], "agentscope.agents.text_to_image_agent": [[8, "module-agentscope.agents.text_to_image_agent"]], "agentscope.agents.user_agent": [[9, "module-agentscope.agents.user_agent"]], "agentscope.constants": [[10, "module-agentscope.constants"]], "agentscope.exception": [[11, "module-agentscope.exception"]], "agentscope.file_manager": [[12, "module-agentscope.file_manager"]], "agentscope.logging": [[13, "module-agentscope.logging"]], "agentscope.memory": [[14, "module-agentscope.memory"]], "agentscope.memory.memory": [[15, "module-agentscope.memory.memory"]], "agentscope.memory.temporary_memory": [[16, "module-agentscope.memory.temporary_memory"]], "agentscope.message": [[17, "module-agentscope.message"]], "agentscope.models": [[18, "module-agentscope.models"]], "agentscope.models.config": [[19, "module-agentscope.models.config"]], "agentscope.models.dashscope_model": [[20, "module-agentscope.models.dashscope_model"]], "agentscope.models.gemini_model": [[21, "module-agentscope.models.gemini_model"]], "agentscope.models.litellm_model": [[22, "module-agentscope.models.litellm_model"]], "agentscope.models.model": [[23, "module-agentscope.models.model"]], "agentscope.models.ollama_model": [[24, "module-agentscope.models.ollama_model"]], "agentscope.models.openai_model": [[25, "module-agentscope.models.openai_model"]], "agentscope.models.post_model": [[26, "module-agentscope.models.post_model"]], "agentscope.models.response": [[27, "module-agentscope.models.response"]], "agentscope.models.zhipu_model": [[28, "module-agentscope.models.zhipu_model"]], "agentscope.msghub": [[29, "module-agentscope.msghub"]], "agentscope.parsers": [[30, "module-agentscope.parsers"]], "agentscope.parsers.code_block_parser": [[31, "module-agentscope.parsers.code_block_parser"]], "agentscope.parsers.json_object_parser": [[32, "module-agentscope.parsers.json_object_parser"]], "agentscope.parsers.parser_base": [[33, "module-agentscope.parsers.parser_base"]], "agentscope.parsers.tagged_content_parser": [[34, "module-agentscope.parsers.tagged_content_parser"]], "agentscope.pipelines": [[35, "module-agentscope.pipelines"]], "agentscope.pipelines.functional": [[36, "module-agentscope.pipelines.functional"]], "agentscope.pipelines.pipeline": [[37, "module-agentscope.pipelines.pipeline"]], "agentscope.prompt": [[38, "module-agentscope.prompt"]], "agentscope.rpc": [[39, "module-agentscope.rpc"]], "agentscope.rpc.rpc_agent_client": [[40, "module-agentscope.rpc.rpc_agent_client"]], "agentscope.rpc.rpc_agent_pb2": [[41, "module-agentscope.rpc.rpc_agent_pb2"]], "agentscope.rpc.rpc_agent_pb2_grpc": [[42, "module-agentscope.rpc.rpc_agent_pb2_grpc"]], "agentscope.server": [[43, "module-agentscope.server"]], "agentscope.server.launcher": [[44, "module-agentscope.server.launcher"]], "agentscope.server.servicer": [[45, "module-agentscope.server.servicer"]], "agentscope.service": [[46, "module-agentscope.service"]], "agentscope.service.execute_code": [[47, "module-agentscope.service.execute_code"]], "agentscope.service.execute_code.exec_python": [[48, "module-agentscope.service.execute_code.exec_python"]], "agentscope.service.execute_code.exec_shell": [[49, "module-agentscope.service.execute_code.exec_shell"]], "agentscope.service.file": [[50, "module-agentscope.service.file"]], "agentscope.service.file.common": [[51, "module-agentscope.service.file.common"]], "agentscope.service.file.json": [[52, "module-agentscope.service.file.json"]], "agentscope.service.file.text": [[53, "module-agentscope.service.file.text"]], "agentscope.service.retrieval": [[54, "module-agentscope.service.retrieval"]], "agentscope.service.retrieval.retrieval_from_list": [[55, "module-agentscope.service.retrieval.retrieval_from_list"]], "agentscope.service.retrieval.similarity": [[56, "module-agentscope.service.retrieval.similarity"]], "agentscope.service.service_response": [[57, "module-agentscope.service.service_response"]], "agentscope.service.service_status": [[58, "module-agentscope.service.service_status"]], "agentscope.service.service_toolkit": [[59, "module-agentscope.service.service_toolkit"]], "agentscope.service.sql_query": [[60, "module-agentscope.service.sql_query"]], "agentscope.service.sql_query.mongodb": [[61, "module-agentscope.service.sql_query.mongodb"]], "agentscope.service.sql_query.mysql": [[62, "module-agentscope.service.sql_query.mysql"]], "agentscope.service.sql_query.sqlite": [[63, "module-agentscope.service.sql_query.sqlite"]], "agentscope.service.text_processing": [[64, "module-agentscope.service.text_processing"]], "agentscope.service.text_processing.summarization": [[65, "module-agentscope.service.text_processing.summarization"]], "agentscope.service.web": [[66, "module-agentscope.service.web"]], "agentscope.service.web.arxiv": [[67, "module-agentscope.service.web.arxiv"]], "agentscope.service.web.dblp": [[68, "module-agentscope.service.web.dblp"]], "agentscope.service.web.download": [[69, "module-agentscope.service.web.download"]], "agentscope.service.web.search": [[70, "module-agentscope.service.web.search"]], "agentscope.service.web.web_digest": [[71, "module-agentscope.service.web.web_digest"]], "agentscope.studio": [[72, "module-agentscope.studio"]], "agentscope.utils": [[73, "module-agentscope.utils"]], "agentscope.utils.common": [[74, "module-agentscope.utils.common"]], "agentscope.utils.monitor": [[75, "module-agentscope.utils.monitor"]], "agentscope.utils.token_utils": [[76, "module-agentscope.utils.token_utils"]], "agentscope.utils.tools": [[77, "module-agentscope.utils.tools"]], "agentscope.web": [[78, "module-agentscope.web"]], "agentscope.web.gradio": [[79, "module-agentscope.web.gradio"]], "agentscope.web.gradio.constants": [[80, "module-agentscope.web.gradio.constants"]], "agentscope.web.gradio.studio": [[81, "module-agentscope.web.gradio.studio"]], "agentscope.web.gradio.utils": [[82, "module-agentscope.web.gradio.utils"]], "agentscope.web.workstation": [[83, "module-agentscope.web.workstation"]], "agentscope.web.workstation.workflow": [[84, "module-agentscope.web.workstation.workflow"]], "agentscope.web.workstation.workflow_dag": [[85, "module-agentscope.web.workstation.workflow_dag"]], "agentscope.web.workstation.workflow_node": [[86, "module-agentscope.web.workstation.workflow_node"]], "agentscope.web.workstation.workflow_utils": [[87, "module-agentscope.web.workstation.workflow_utils"]]}, "docnames": ["agentscope", "agentscope.agents", "agentscope.agents.agent", "agentscope.agents.dialog_agent", "agentscope.agents.dict_dialog_agent", "agentscope.agents.operator", "agentscope.agents.react_agent", "agentscope.agents.rpc_agent", "agentscope.agents.text_to_image_agent", "agentscope.agents.user_agent", "agentscope.constants", "agentscope.exception", "agentscope.file_manager", "agentscope.logging", "agentscope.memory", "agentscope.memory.memory", "agentscope.memory.temporary_memory", "agentscope.message", "agentscope.models", "agentscope.models.config", "agentscope.models.dashscope_model", "agentscope.models.gemini_model", "agentscope.models.litellm_model", "agentscope.models.model", "agentscope.models.ollama_model", "agentscope.models.openai_model", "agentscope.models.post_model", "agentscope.models.response", "agentscope.models.zhipu_model", "agentscope.msghub", "agentscope.parsers", "agentscope.parsers.code_block_parser", "agentscope.parsers.json_object_parser", "agentscope.parsers.parser_base", "agentscope.parsers.tagged_content_parser", "agentscope.pipelines", "agentscope.pipelines.functional", "agentscope.pipelines.pipeline", "agentscope.prompt", "agentscope.rpc", "agentscope.rpc.rpc_agent_client", "agentscope.rpc.rpc_agent_pb2", "agentscope.rpc.rpc_agent_pb2_grpc", "agentscope.server", "agentscope.server.launcher", "agentscope.server.servicer", "agentscope.service", "agentscope.service.execute_code", "agentscope.service.execute_code.exec_python", "agentscope.service.execute_code.exec_shell", "agentscope.service.file", "agentscope.service.file.common", "agentscope.service.file.json", "agentscope.service.file.text", "agentscope.service.retrieval", "agentscope.service.retrieval.retrieval_from_list", "agentscope.service.retrieval.similarity", "agentscope.service.service_response", "agentscope.service.service_status", "agentscope.service.service_toolkit", "agentscope.service.sql_query", "agentscope.service.sql_query.mongodb", "agentscope.service.sql_query.mysql", "agentscope.service.sql_query.sqlite", "agentscope.service.text_processing", "agentscope.service.text_processing.summarization", "agentscope.service.web", "agentscope.service.web.arxiv", "agentscope.service.web.dblp", "agentscope.service.web.download", "agentscope.service.web.search", "agentscope.service.web.web_digest", "agentscope.studio", "agentscope.utils", "agentscope.utils.common", "agentscope.utils.monitor", "agentscope.utils.token_utils", "agentscope.utils.tools", "agentscope.web", "agentscope.web.gradio", "agentscope.web.gradio.constants", "agentscope.web.gradio.studio", "agentscope.web.gradio.utils", "agentscope.web.workstation", "agentscope.web.workstation.workflow", "agentscope.web.workstation.workflow_dag", "agentscope.web.workstation.workflow_node", "agentscope.web.workstation.workflow_utils", "index", "modules", "tutorial/101-agentscope", "tutorial/102-installation", "tutorial/103-example", "tutorial/104-usecase", "tutorial/105-logging", "tutorial/201-agent", "tutorial/202-pipeline", "tutorial/203-model", "tutorial/203-parser", "tutorial/204-service", "tutorial/205-memory", "tutorial/206-prompt", "tutorial/207-monitor", "tutorial/208-distribute", "tutorial/301-community", "tutorial/302-contribute", "tutorial/advance", "tutorial/contribute", "tutorial/main", "tutorial/quick_start"], "envversion": {"sphinx": 61, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1}, "filenames": ["agentscope.rst", "agentscope.agents.rst", "agentscope.agents.agent.rst", "agentscope.agents.dialog_agent.rst", "agentscope.agents.dict_dialog_agent.rst", "agentscope.agents.operator.rst", "agentscope.agents.react_agent.rst", "agentscope.agents.rpc_agent.rst", "agentscope.agents.text_to_image_agent.rst", "agentscope.agents.user_agent.rst", "agentscope.constants.rst", "agentscope.exception.rst", "agentscope.file_manager.rst", "agentscope.logging.rst", "agentscope.memory.rst", "agentscope.memory.memory.rst", "agentscope.memory.temporary_memory.rst", "agentscope.message.rst", "agentscope.models.rst", "agentscope.models.config.rst", "agentscope.models.dashscope_model.rst", "agentscope.models.gemini_model.rst", "agentscope.models.litellm_model.rst", "agentscope.models.model.rst", "agentscope.models.ollama_model.rst", "agentscope.models.openai_model.rst", "agentscope.models.post_model.rst", "agentscope.models.response.rst", "agentscope.models.zhipu_model.rst", "agentscope.msghub.rst", "agentscope.parsers.rst", "agentscope.parsers.code_block_parser.rst", "agentscope.parsers.json_object_parser.rst", "agentscope.parsers.parser_base.rst", "agentscope.parsers.tagged_content_parser.rst", "agentscope.pipelines.rst", "agentscope.pipelines.functional.rst", "agentscope.pipelines.pipeline.rst", "agentscope.prompt.rst", "agentscope.rpc.rst", "agentscope.rpc.rpc_agent_client.rst", "agentscope.rpc.rpc_agent_pb2.rst", "agentscope.rpc.rpc_agent_pb2_grpc.rst", "agentscope.server.rst", "agentscope.server.launcher.rst", "agentscope.server.servicer.rst", "agentscope.service.rst", "agentscope.service.execute_code.rst", "agentscope.service.execute_code.exec_python.rst", "agentscope.service.execute_code.exec_shell.rst", "agentscope.service.file.rst", "agentscope.service.file.common.rst", "agentscope.service.file.json.rst", "agentscope.service.file.text.rst", "agentscope.service.retrieval.rst", "agentscope.service.retrieval.retrieval_from_list.rst", "agentscope.service.retrieval.similarity.rst", "agentscope.service.service_response.rst", "agentscope.service.service_status.rst", "agentscope.service.service_toolkit.rst", "agentscope.service.sql_query.rst", "agentscope.service.sql_query.mongodb.rst", "agentscope.service.sql_query.mysql.rst", "agentscope.service.sql_query.sqlite.rst", "agentscope.service.text_processing.rst", "agentscope.service.text_processing.summarization.rst", "agentscope.service.web.rst", "agentscope.service.web.arxiv.rst", "agentscope.service.web.dblp.rst", "agentscope.service.web.download.rst", "agentscope.service.web.search.rst", "agentscope.service.web.web_digest.rst", "agentscope.studio.rst", "agentscope.utils.rst", "agentscope.utils.common.rst", "agentscope.utils.monitor.rst", "agentscope.utils.token_utils.rst", "agentscope.utils.tools.rst", "agentscope.web.rst", "agentscope.web.gradio.rst", "agentscope.web.gradio.constants.rst", "agentscope.web.gradio.studio.rst", "agentscope.web.gradio.utils.rst", "agentscope.web.workstation.rst", "agentscope.web.workstation.workflow.rst", "agentscope.web.workstation.workflow_dag.rst", "agentscope.web.workstation.workflow_node.rst", "agentscope.web.workstation.workflow_utils.rst", "index.rst", "modules.rst", "tutorial/101-agentscope.md", "tutorial/102-installation.md", "tutorial/103-example.md", "tutorial/104-usecase.md", "tutorial/105-logging.md", "tutorial/201-agent.md", "tutorial/202-pipeline.md", "tutorial/203-model.md", "tutorial/203-parser.md", "tutorial/204-service.md", "tutorial/205-memory.md", "tutorial/206-prompt.md", "tutorial/207-monitor.md", "tutorial/208-distribute.md", "tutorial/301-community.md", "tutorial/302-contribute.md", "tutorial/advance.rst", "tutorial/contribute.rst", "tutorial/main.md", "tutorial/quick_start.rst"], "indexentries": {"__init__() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.__init__", false]], "__init__() (agentscope.agents.agent.distconf method)": [[2, "agentscope.agents.agent.DistConf.__init__", false]], "__init__() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.__init__", false]], "__init__() (agentscope.agents.dialog_agent.dialogagent method)": [[3, "agentscope.agents.dialog_agent.DialogAgent.__init__", false]], "__init__() (agentscope.agents.dialogagent method)": [[1, "agentscope.agents.DialogAgent.__init__", false]], "__init__() (agentscope.agents.dict_dialog_agent.dictdialogagent method)": [[4, "agentscope.agents.dict_dialog_agent.DictDialogAgent.__init__", false]], "__init__() (agentscope.agents.dictdialogagent method)": [[1, "agentscope.agents.DictDialogAgent.__init__", false]], "__init__() (agentscope.agents.distconf method)": [[1, "agentscope.agents.DistConf.__init__", false]], "__init__() (agentscope.agents.react_agent.reactagent method)": [[6, "agentscope.agents.react_agent.ReActAgent.__init__", false]], "__init__() (agentscope.agents.reactagent method)": [[1, "agentscope.agents.ReActAgent.__init__", false]], "__init__() (agentscope.agents.rpc_agent.rpcagent method)": [[7, "agentscope.agents.rpc_agent.RpcAgent.__init__", false]], "__init__() (agentscope.agents.rpcagent method)": [[1, "agentscope.agents.RpcAgent.__init__", false]], "__init__() (agentscope.agents.text_to_image_agent.texttoimageagent method)": [[8, "agentscope.agents.text_to_image_agent.TextToImageAgent.__init__", false]], "__init__() (agentscope.agents.texttoimageagent method)": [[1, "agentscope.agents.TextToImageAgent.__init__", false]], "__init__() (agentscope.agents.user_agent.useragent method)": [[9, "agentscope.agents.user_agent.UserAgent.__init__", false]], "__init__() (agentscope.agents.useragent method)": [[1, "agentscope.agents.UserAgent.__init__", false]], "__init__() (agentscope.exception.functioncallerror method)": [[11, "agentscope.exception.FunctionCallError.__init__", false]], "__init__() (agentscope.exception.responseparsingerror method)": [[11, "agentscope.exception.ResponseParsingError.__init__", false]], "__init__() (agentscope.exception.studioerror method)": [[11, "agentscope.exception.StudioError.__init__", false]], "__init__() (agentscope.exception.tagnotfounderror method)": [[11, "agentscope.exception.TagNotFoundError.__init__", false]], "__init__() (agentscope.memory.memory.memorybase method)": [[15, "agentscope.memory.memory.MemoryBase.__init__", false]], "__init__() (agentscope.memory.memorybase method)": [[14, "agentscope.memory.MemoryBase.__init__", false]], "__init__() (agentscope.memory.temporary_memory.temporarymemory method)": [[16, "agentscope.memory.temporary_memory.TemporaryMemory.__init__", false]], "__init__() (agentscope.memory.temporarymemory method)": [[14, "agentscope.memory.TemporaryMemory.__init__", false]], "__init__() (agentscope.message.messagebase method)": [[17, "agentscope.message.MessageBase.__init__", false]], "__init__() (agentscope.message.msg method)": [[17, "agentscope.message.Msg.__init__", false]], "__init__() (agentscope.message.placeholdermessage method)": [[17, "agentscope.message.PlaceholderMessage.__init__", false]], "__init__() (agentscope.message.tht method)": [[17, "agentscope.message.Tht.__init__", false]], "__init__() (agentscope.models.dashscope_model.dashscopewrapperbase method)": [[20, "agentscope.models.dashscope_model.DashScopeWrapperBase.__init__", false]], "__init__() (agentscope.models.gemini_model.geminichatwrapper method)": [[21, "agentscope.models.gemini_model.GeminiChatWrapper.__init__", false]], "__init__() (agentscope.models.gemini_model.geminiwrapperbase method)": [[21, "agentscope.models.gemini_model.GeminiWrapperBase.__init__", false]], "__init__() (agentscope.models.geminichatwrapper method)": [[18, "agentscope.models.GeminiChatWrapper.__init__", false]], "__init__() (agentscope.models.litellm_model.litellmwrapperbase method)": [[22, "agentscope.models.litellm_model.LiteLLMWrapperBase.__init__", false]], "__init__() (agentscope.models.model.modelwrapperbase method)": [[23, "agentscope.models.model.ModelWrapperBase.__init__", false]], "__init__() (agentscope.models.modelresponse method)": [[18, "agentscope.models.ModelResponse.__init__", false]], "__init__() (agentscope.models.modelwrapperbase method)": [[18, "agentscope.models.ModelWrapperBase.__init__", false]], "__init__() (agentscope.models.ollama_model.ollamawrapperbase method)": [[24, "agentscope.models.ollama_model.OllamaWrapperBase.__init__", false]], "__init__() (agentscope.models.openai_model.openaiwrapperbase method)": [[25, "agentscope.models.openai_model.OpenAIWrapperBase.__init__", false]], "__init__() (agentscope.models.openaiwrapperbase method)": [[18, "agentscope.models.OpenAIWrapperBase.__init__", false]], "__init__() (agentscope.models.post_model.postapimodelwrapperbase method)": [[26, "agentscope.models.post_model.PostAPIModelWrapperBase.__init__", false]], "__init__() (agentscope.models.postapimodelwrapperbase method)": [[18, "agentscope.models.PostAPIModelWrapperBase.__init__", false]], "__init__() (agentscope.models.response.modelresponse method)": [[27, "agentscope.models.response.ModelResponse.__init__", false]], "__init__() (agentscope.models.zhipu_model.zhipuaiwrapperbase method)": [[28, "agentscope.models.zhipu_model.ZhipuAIWrapperBase.__init__", false]], "__init__() (agentscope.msghub.msghubmanager method)": [[29, "agentscope.msghub.MsgHubManager.__init__", false]], "__init__() (agentscope.parsers.code_block_parser.markdowncodeblockparser method)": [[31, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.__init__", false]], "__init__() (agentscope.parsers.json_object_parser.markdownjsondictparser method)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.__init__", false]], "__init__() (agentscope.parsers.json_object_parser.markdownjsonobjectparser method)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.__init__", false]], "__init__() (agentscope.parsers.markdowncodeblockparser method)": [[30, "agentscope.parsers.MarkdownCodeBlockParser.__init__", false]], "__init__() (agentscope.parsers.markdownjsondictparser method)": [[30, "agentscope.parsers.MarkdownJsonDictParser.__init__", false]], "__init__() (agentscope.parsers.markdownjsonobjectparser method)": [[30, "agentscope.parsers.MarkdownJsonObjectParser.__init__", false]], "__init__() (agentscope.parsers.multitaggedcontentparser method)": [[30, "agentscope.parsers.MultiTaggedContentParser.__init__", false]], "__init__() (agentscope.parsers.parser_base.dictfiltermixin method)": [[33, "agentscope.parsers.parser_base.DictFilterMixin.__init__", false]], "__init__() (agentscope.parsers.tagged_content_parser.multitaggedcontentparser method)": [[34, "agentscope.parsers.tagged_content_parser.MultiTaggedContentParser.__init__", false]], "__init__() (agentscope.parsers.tagged_content_parser.taggedcontent method)": [[34, "agentscope.parsers.tagged_content_parser.TaggedContent.__init__", false]], "__init__() (agentscope.parsers.taggedcontent method)": [[30, "agentscope.parsers.TaggedContent.__init__", false]], "__init__() (agentscope.pipelines.forlooppipeline method)": [[35, "agentscope.pipelines.ForLoopPipeline.__init__", false]], "__init__() (agentscope.pipelines.ifelsepipeline method)": [[35, "agentscope.pipelines.IfElsePipeline.__init__", false]], "__init__() (agentscope.pipelines.pipeline.forlooppipeline method)": [[37, "agentscope.pipelines.pipeline.ForLoopPipeline.__init__", false]], "__init__() (agentscope.pipelines.pipeline.ifelsepipeline method)": [[37, "agentscope.pipelines.pipeline.IfElsePipeline.__init__", false]], "__init__() (agentscope.pipelines.pipeline.pipelinebase method)": [[37, "agentscope.pipelines.pipeline.PipelineBase.__init__", false]], "__init__() (agentscope.pipelines.pipeline.sequentialpipeline method)": [[37, "agentscope.pipelines.pipeline.SequentialPipeline.__init__", false]], "__init__() (agentscope.pipelines.pipeline.switchpipeline method)": [[37, "agentscope.pipelines.pipeline.SwitchPipeline.__init__", false]], "__init__() (agentscope.pipelines.pipeline.whilelooppipeline method)": [[37, "agentscope.pipelines.pipeline.WhileLoopPipeline.__init__", false]], "__init__() (agentscope.pipelines.pipelinebase method)": [[35, "agentscope.pipelines.PipelineBase.__init__", false]], "__init__() (agentscope.pipelines.sequentialpipeline method)": [[35, "agentscope.pipelines.SequentialPipeline.__init__", false]], "__init__() (agentscope.pipelines.switchpipeline method)": [[35, "agentscope.pipelines.SwitchPipeline.__init__", false]], "__init__() (agentscope.pipelines.whilelooppipeline method)": [[35, "agentscope.pipelines.WhileLoopPipeline.__init__", false]], "__init__() (agentscope.prompt.promptengine method)": [[38, "agentscope.prompt.PromptEngine.__init__", false]], "__init__() (agentscope.rpc.responsestub method)": [[39, "agentscope.rpc.ResponseStub.__init__", false]], "__init__() (agentscope.rpc.rpc_agent_client.responsestub method)": [[40, "agentscope.rpc.rpc_agent_client.ResponseStub.__init__", false]], "__init__() (agentscope.rpc.rpc_agent_client.rpcagentclient method)": [[40, "agentscope.rpc.rpc_agent_client.RpcAgentClient.__init__", false]], "__init__() (agentscope.rpc.rpc_agent_pb2_grpc.rpcagentstub method)": [[42, "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgentStub.__init__", false]], "__init__() (agentscope.rpc.rpcagentclient method)": [[39, "agentscope.rpc.RpcAgentClient.__init__", false]], "__init__() (agentscope.rpc.rpcagentstub method)": [[39, "agentscope.rpc.RpcAgentStub.__init__", false]], "__init__() (agentscope.server.agentserverservicer method)": [[43, "agentscope.server.AgentServerServicer.__init__", false]], "__init__() (agentscope.server.launcher.rpcagentserverlauncher method)": [[44, "agentscope.server.launcher.RpcAgentServerLauncher.__init__", false]], "__init__() (agentscope.server.rpcagentserverlauncher method)": [[43, "agentscope.server.RpcAgentServerLauncher.__init__", false]], "__init__() (agentscope.server.servicer.agentserverservicer method)": [[45, "agentscope.server.servicer.AgentServerServicer.__init__", false]], "__init__() (agentscope.service.service_response.serviceresponse method)": [[57, "agentscope.service.service_response.ServiceResponse.__init__", false]], "__init__() (agentscope.service.service_toolkit.servicefunction method)": [[59, "agentscope.service.service_toolkit.ServiceFunction.__init__", false]], "__init__() (agentscope.service.service_toolkit.servicetoolkit method)": [[59, "agentscope.service.service_toolkit.ServiceToolkit.__init__", false]], "__init__() (agentscope.service.serviceresponse method)": [[46, "agentscope.service.ServiceResponse.__init__", false]], "__init__() (agentscope.service.servicetoolkit method)": [[46, "agentscope.service.ServiceToolkit.__init__", false]], "__init__() (agentscope.utils.monitor.quotaexceedederror method)": [[75, "agentscope.utils.monitor.QuotaExceededError.__init__", false]], "__init__() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.__init__", false]], "__init__() (agentscope.utils.quotaexceedederror method)": [[73, "agentscope.utils.QuotaExceededError.__init__", false]], "__init__() (agentscope.utils.tools.importerrorreporter method)": [[77, "agentscope.utils.tools.ImportErrorReporter.__init__", false]], "__init__() (agentscope.web.workstation.workflow_dag.asdigraph method)": [[85, "agentscope.web.workstation.workflow_dag.ASDiGraph.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.bingsearchservicenode method)": [[86, "agentscope.web.workstation.workflow_node.BingSearchServiceNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.copynode method)": [[86, "agentscope.web.workstation.workflow_node.CopyNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.dialogagentnode method)": [[86, "agentscope.web.workstation.workflow_node.DialogAgentNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.dictdialogagentnode method)": [[86, "agentscope.web.workstation.workflow_node.DictDialogAgentNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.forlooppipelinenode method)": [[86, "agentscope.web.workstation.workflow_node.ForLoopPipelineNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.googlesearchservicenode method)": [[86, "agentscope.web.workstation.workflow_node.GoogleSearchServiceNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.ifelsepipelinenode method)": [[86, "agentscope.web.workstation.workflow_node.IfElsePipelineNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.modelnode method)": [[86, "agentscope.web.workstation.workflow_node.ModelNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.msghubnode method)": [[86, "agentscope.web.workstation.workflow_node.MsgHubNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.msgnode method)": [[86, "agentscope.web.workstation.workflow_node.MsgNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.placeholdernode method)": [[86, "agentscope.web.workstation.workflow_node.PlaceHolderNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.pythonservicenode method)": [[86, "agentscope.web.workstation.workflow_node.PythonServiceNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.reactagentnode method)": [[86, "agentscope.web.workstation.workflow_node.ReActAgentNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.readtextservicenode method)": [[86, "agentscope.web.workstation.workflow_node.ReadTextServiceNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.sequentialpipelinenode method)": [[86, "agentscope.web.workstation.workflow_node.SequentialPipelineNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.switchpipelinenode method)": [[86, "agentscope.web.workstation.workflow_node.SwitchPipelineNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.texttoimageagentnode method)": [[86, "agentscope.web.workstation.workflow_node.TextToImageAgentNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.useragentnode method)": [[86, "agentscope.web.workstation.workflow_node.UserAgentNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.whilelooppipelinenode method)": [[86, "agentscope.web.workstation.workflow_node.WhileLoopPipelineNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.workflownode method)": [[86, "agentscope.web.workstation.workflow_node.WorkflowNode.__init__", false]], "__init__() (agentscope.web.workstation.workflow_node.writetextservicenode method)": [[86, "agentscope.web.workstation.workflow_node.WriteTextServiceNode.__init__", false]], "add() (agentscope.memory.memory.memorybase method)": [[15, "agentscope.memory.memory.MemoryBase.add", false]], "add() (agentscope.memory.memorybase method)": [[14, "agentscope.memory.MemoryBase.add", false]], "add() (agentscope.memory.temporary_memory.temporarymemory method)": [[16, "agentscope.memory.temporary_memory.TemporaryMemory.add", false]], "add() (agentscope.memory.temporarymemory method)": [[14, "agentscope.memory.TemporaryMemory.add", false]], "add() (agentscope.msghub.msghubmanager method)": [[29, "agentscope.msghub.MsgHubManager.add", false]], "add() (agentscope.service.service_toolkit.servicetoolkit method)": [[59, "agentscope.service.service_toolkit.ServiceToolkit.add", false]], "add() (agentscope.service.servicetoolkit method)": [[46, "agentscope.service.ServiceToolkit.add", false]], "add() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.add", false]], "add() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.add", false]], "add() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.add", false]], "add() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.add", false]], "add_as_node() (agentscope.web.workstation.workflow_dag.asdigraph method)": [[85, "agentscope.web.workstation.workflow_dag.ASDiGraph.add_as_node", false]], "add_rpcagentservicer_to_server() (in module agentscope.rpc)": [[39, "agentscope.rpc.add_RpcAgentServicer_to_server", false]], "add_rpcagentservicer_to_server() (in module agentscope.rpc.rpc_agent_pb2_grpc)": [[42, "agentscope.rpc.rpc_agent_pb2_grpc.add_RpcAgentServicer_to_server", false]], "agent (agentscope.web.workstation.workflow_node.workflownodetype attribute)": [[86, "agentscope.web.workstation.workflow_node.WorkflowNodeType.AGENT", false]], "agent_exists() (agentscope.server.agentserverservicer method)": [[43, "agentscope.server.AgentServerServicer.agent_exists", false]], "agent_exists() (agentscope.server.servicer.agentserverservicer method)": [[45, "agentscope.server.servicer.AgentServerServicer.agent_exists", false]], "agent_id (agentscope.agents.agent.agentbase property)": [[2, "agentscope.agents.agent.AgentBase.agent_id", false]], "agent_id (agentscope.agents.agentbase property)": [[1, "agentscope.agents.AgentBase.agent_id", false]], "agentbase (class in agentscope.agents)": [[1, "agentscope.agents.AgentBase", false]], "agentbase (class in agentscope.agents.agent)": [[2, "agentscope.agents.agent.AgentBase", false]], "agentscope": [[0, "module-agentscope", false]], "agentscope.agents": [[1, "module-agentscope.agents", false]], "agentscope.agents.agent": [[2, "module-agentscope.agents.agent", false]], "agentscope.agents.dialog_agent": [[3, "module-agentscope.agents.dialog_agent", false]], "agentscope.agents.dict_dialog_agent": [[4, "module-agentscope.agents.dict_dialog_agent", false]], "agentscope.agents.operator": [[5, "module-agentscope.agents.operator", false]], "agentscope.agents.react_agent": [[6, "module-agentscope.agents.react_agent", false]], "agentscope.agents.rpc_agent": [[7, "module-agentscope.agents.rpc_agent", false]], "agentscope.agents.text_to_image_agent": [[8, "module-agentscope.agents.text_to_image_agent", false]], "agentscope.agents.user_agent": [[9, "module-agentscope.agents.user_agent", false]], "agentscope.constants": [[10, "module-agentscope.constants", false]], "agentscope.exception": [[11, "module-agentscope.exception", false]], "agentscope.file_manager": [[12, "module-agentscope.file_manager", false]], "agentscope.logging": [[13, "module-agentscope.logging", false]], "agentscope.memory": [[14, "module-agentscope.memory", false]], "agentscope.memory.memory": [[15, "module-agentscope.memory.memory", false]], "agentscope.memory.temporary_memory": [[16, "module-agentscope.memory.temporary_memory", false]], "agentscope.message": [[17, "module-agentscope.message", false]], "agentscope.models": [[18, "module-agentscope.models", false]], "agentscope.models.config": [[19, "module-agentscope.models.config", false]], "agentscope.models.dashscope_model": [[20, "module-agentscope.models.dashscope_model", false]], "agentscope.models.gemini_model": [[21, "module-agentscope.models.gemini_model", false]], "agentscope.models.litellm_model": [[22, "module-agentscope.models.litellm_model", false]], "agentscope.models.model": [[23, "module-agentscope.models.model", false]], "agentscope.models.ollama_model": [[24, "module-agentscope.models.ollama_model", false]], "agentscope.models.openai_model": [[25, "module-agentscope.models.openai_model", false]], "agentscope.models.post_model": [[26, "module-agentscope.models.post_model", false]], "agentscope.models.response": [[27, "module-agentscope.models.response", false]], "agentscope.models.zhipu_model": [[28, "module-agentscope.models.zhipu_model", false]], "agentscope.msghub": [[29, "module-agentscope.msghub", false]], "agentscope.parsers": [[30, "module-agentscope.parsers", false]], "agentscope.parsers.code_block_parser": [[31, "module-agentscope.parsers.code_block_parser", false]], "agentscope.parsers.json_object_parser": [[32, "module-agentscope.parsers.json_object_parser", false]], "agentscope.parsers.parser_base": [[33, "module-agentscope.parsers.parser_base", false]], "agentscope.parsers.tagged_content_parser": [[34, "module-agentscope.parsers.tagged_content_parser", false]], "agentscope.pipelines": [[35, "module-agentscope.pipelines", false]], "agentscope.pipelines.functional": [[36, "module-agentscope.pipelines.functional", false]], "agentscope.pipelines.pipeline": [[37, "module-agentscope.pipelines.pipeline", false]], "agentscope.prompt": [[38, "module-agentscope.prompt", false]], "agentscope.rpc": [[39, "module-agentscope.rpc", false]], "agentscope.rpc.rpc_agent_client": [[40, "module-agentscope.rpc.rpc_agent_client", false]], "agentscope.rpc.rpc_agent_pb2": [[41, "module-agentscope.rpc.rpc_agent_pb2", false]], "agentscope.rpc.rpc_agent_pb2_grpc": [[42, "module-agentscope.rpc.rpc_agent_pb2_grpc", false]], "agentscope.server": [[43, "module-agentscope.server", false]], "agentscope.server.launcher": [[44, "module-agentscope.server.launcher", false]], "agentscope.server.servicer": [[45, "module-agentscope.server.servicer", false]], "agentscope.service": [[46, "module-agentscope.service", false]], "agentscope.service.execute_code": [[47, "module-agentscope.service.execute_code", false]], "agentscope.service.execute_code.exec_python": [[48, "module-agentscope.service.execute_code.exec_python", false]], "agentscope.service.execute_code.exec_shell": [[49, "module-agentscope.service.execute_code.exec_shell", false]], "agentscope.service.file": [[50, "module-agentscope.service.file", false]], "agentscope.service.file.common": [[51, "module-agentscope.service.file.common", false]], "agentscope.service.file.json": [[52, "module-agentscope.service.file.json", false]], "agentscope.service.file.text": [[53, "module-agentscope.service.file.text", false]], "agentscope.service.retrieval": [[54, "module-agentscope.service.retrieval", false]], "agentscope.service.retrieval.retrieval_from_list": [[55, "module-agentscope.service.retrieval.retrieval_from_list", false]], "agentscope.service.retrieval.similarity": [[56, "module-agentscope.service.retrieval.similarity", false]], "agentscope.service.service_response": [[57, "module-agentscope.service.service_response", false]], "agentscope.service.service_status": [[58, "module-agentscope.service.service_status", false]], "agentscope.service.service_toolkit": [[59, "module-agentscope.service.service_toolkit", false]], "agentscope.service.sql_query": [[60, "module-agentscope.service.sql_query", false]], "agentscope.service.sql_query.mongodb": [[61, "module-agentscope.service.sql_query.mongodb", false]], "agentscope.service.sql_query.mysql": [[62, "module-agentscope.service.sql_query.mysql", false]], "agentscope.service.sql_query.sqlite": [[63, "module-agentscope.service.sql_query.sqlite", false]], "agentscope.service.text_processing": [[64, "module-agentscope.service.text_processing", false]], "agentscope.service.text_processing.summarization": [[65, "module-agentscope.service.text_processing.summarization", false]], "agentscope.service.web": [[66, "module-agentscope.service.web", false]], "agentscope.service.web.arxiv": [[67, "module-agentscope.service.web.arxiv", false]], "agentscope.service.web.dblp": [[68, "module-agentscope.service.web.dblp", false]], "agentscope.service.web.download": [[69, "module-agentscope.service.web.download", false]], "agentscope.service.web.search": [[70, "module-agentscope.service.web.search", false]], "agentscope.service.web.web_digest": [[71, "module-agentscope.service.web.web_digest", false]], "agentscope.studio": [[72, "module-agentscope.studio", false]], "agentscope.utils": [[73, "module-agentscope.utils", false]], "agentscope.utils.common": [[74, "module-agentscope.utils.common", false]], "agentscope.utils.monitor": [[75, "module-agentscope.utils.monitor", false]], "agentscope.utils.token_utils": [[76, "module-agentscope.utils.token_utils", false]], "agentscope.utils.tools": [[77, "module-agentscope.utils.tools", false]], "agentscope.web": [[78, "module-agentscope.web", false]], "agentscope.web.gradio": [[79, "module-agentscope.web.gradio", false]], "agentscope.web.gradio.constants": [[80, "module-agentscope.web.gradio.constants", false]], "agentscope.web.gradio.studio": [[81, "module-agentscope.web.gradio.studio", false]], "agentscope.web.gradio.utils": [[82, "module-agentscope.web.gradio.utils", false]], "agentscope.web.workstation": [[83, "module-agentscope.web.workstation", false]], "agentscope.web.workstation.workflow": [[84, "module-agentscope.web.workstation.workflow", false]], "agentscope.web.workstation.workflow_dag": [[85, "module-agentscope.web.workstation.workflow_dag", false]], "agentscope.web.workstation.workflow_node": [[86, "module-agentscope.web.workstation.workflow_node", false]], "agentscope.web.workstation.workflow_utils": [[87, "module-agentscope.web.workstation.workflow_utils", false]], "agentserverservicer (class in agentscope.server)": [[43, "agentscope.server.AgentServerServicer", false]], "agentserverservicer (class in agentscope.server.servicer)": [[45, "agentscope.server.servicer.AgentServerServicer", false]], "argumentnotfounderror": [[11, "agentscope.exception.ArgumentNotFoundError", false]], "argumenttypeerror": [[11, "agentscope.exception.ArgumentTypeError", false]], "arxiv_search() (in module agentscope.service)": [[46, "agentscope.service.arxiv_search", false]], "arxiv_search() (in module agentscope.service.web.arxiv)": [[67, "agentscope.service.web.arxiv.arxiv_search", false]], "as_server() (in module agentscope.server)": [[43, "agentscope.server.as_server", false]], "as_server() (in module agentscope.server.launcher)": [[44, "agentscope.server.launcher.as_server", false]], "asdigraph (class in agentscope.web.workstation.workflow_dag)": [[85, "agentscope.web.workstation.workflow_dag.ASDiGraph", false]], "audio2text() (in module agentscope.web.gradio.utils)": [[82, "agentscope.web.gradio.utils.audio2text", false]], "bing_search() (in module agentscope.service)": [[46, "agentscope.service.bing_search", false]], "bing_search() (in module agentscope.service.web.search)": [[70, "agentscope.service.web.search.bing_search", false]], "bingsearchservicenode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.BingSearchServiceNode", false]], "broadcast() (agentscope.msghub.msghubmanager method)": [[29, "agentscope.msghub.MsgHubManager.broadcast", false]], "build_dag() (in module agentscope.web.workstation.workflow_dag)": [[85, "agentscope.web.workstation.workflow_dag.build_dag", false]], "call_func() (agentscope.rpc.rpc_agent_client.rpcagentclient method)": [[40, "agentscope.rpc.rpc_agent_client.RpcAgentClient.call_func", false]], "call_func() (agentscope.rpc.rpc_agent_pb2_grpc.rpcagent static method)": [[42, "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgent.call_func", false]], "call_func() (agentscope.rpc.rpc_agent_pb2_grpc.rpcagentservicer method)": [[42, "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgentServicer.call_func", false]], "call_func() (agentscope.rpc.rpcagentclient method)": [[39, "agentscope.rpc.RpcAgentClient.call_func", false]], "call_func() (agentscope.rpc.rpcagentservicer method)": [[39, "agentscope.rpc.RpcAgentServicer.call_func", false]], "call_func() (agentscope.server.agentserverservicer method)": [[43, "agentscope.server.AgentServerServicer.call_func", false]], "call_func() (agentscope.server.servicer.agentserverservicer method)": [[45, "agentscope.server.servicer.AgentServerServicer.call_func", false]], "call_in_thread() (in module agentscope.rpc)": [[39, "agentscope.rpc.call_in_thread", false]], "call_in_thread() (in module agentscope.rpc.rpc_agent_client)": [[40, "agentscope.rpc.rpc_agent_client.call_in_thread", false]], "chdir() (in module agentscope.utils.common)": [[74, "agentscope.utils.common.chdir", false]], "check_and_delete_agent() (agentscope.server.agentserverservicer method)": [[43, "agentscope.server.AgentServerServicer.check_and_delete_agent", false]], "check_and_delete_agent() (agentscope.server.servicer.agentserverservicer method)": [[45, "agentscope.server.servicer.AgentServerServicer.check_and_delete_agent", false]], "check_and_generate_agent() (agentscope.server.agentserverservicer method)": [[43, "agentscope.server.AgentServerServicer.check_and_generate_agent", false]], "check_and_generate_agent() (agentscope.server.servicer.agentserverservicer method)": [[45, "agentscope.server.servicer.AgentServerServicer.check_and_generate_agent", false]], "check_port() (in module agentscope.utils.tools)": [[77, "agentscope.utils.tools.check_port", false]], "check_uuid() (in module agentscope.web.gradio.utils)": [[82, "agentscope.web.gradio.utils.check_uuid", false]], "clear() (agentscope.memory.memory.memorybase method)": [[15, "agentscope.memory.memory.MemoryBase.clear", false]], "clear() (agentscope.memory.memorybase method)": [[14, "agentscope.memory.MemoryBase.clear", false]], "clear() (agentscope.memory.temporary_memory.temporarymemory method)": [[16, "agentscope.memory.temporary_memory.TemporaryMemory.clear", false]], "clear() (agentscope.memory.temporarymemory method)": [[14, "agentscope.memory.TemporaryMemory.clear", false]], "clear() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.clear", false]], "clear() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.clear", false]], "clear() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.clear", false]], "clear() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.clear", false]], "clear_audience() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.clear_audience", false]], "clear_audience() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.clear_audience", false]], "clear_model_configs() (in module agentscope.models)": [[18, "agentscope.models.clear_model_configs", false]], "clone_instances() (agentscope.agents.rpc_agent.rpcagent method)": [[7, "agentscope.agents.rpc_agent.RpcAgent.clone_instances", false]], "clone_instances() (agentscope.agents.rpcagent method)": [[1, "agentscope.agents.RpcAgent.clone_instances", false]], "compile() (agentscope.web.workstation.workflow_dag.asdigraph method)": [[85, "agentscope.web.workstation.workflow_dag.ASDiGraph.compile", false]], "compile() (agentscope.web.workstation.workflow_node.bingsearchservicenode method)": [[86, "agentscope.web.workstation.workflow_node.BingSearchServiceNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.copynode method)": [[86, "agentscope.web.workstation.workflow_node.CopyNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.dialogagentnode method)": [[86, "agentscope.web.workstation.workflow_node.DialogAgentNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.dictdialogagentnode method)": [[86, "agentscope.web.workstation.workflow_node.DictDialogAgentNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.forlooppipelinenode method)": [[86, "agentscope.web.workstation.workflow_node.ForLoopPipelineNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.googlesearchservicenode method)": [[86, "agentscope.web.workstation.workflow_node.GoogleSearchServiceNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.ifelsepipelinenode method)": [[86, "agentscope.web.workstation.workflow_node.IfElsePipelineNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.modelnode method)": [[86, "agentscope.web.workstation.workflow_node.ModelNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.msghubnode method)": [[86, "agentscope.web.workstation.workflow_node.MsgHubNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.msgnode method)": [[86, "agentscope.web.workstation.workflow_node.MsgNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.placeholdernode method)": [[86, "agentscope.web.workstation.workflow_node.PlaceHolderNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.pythonservicenode method)": [[86, "agentscope.web.workstation.workflow_node.PythonServiceNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.reactagentnode method)": [[86, "agentscope.web.workstation.workflow_node.ReActAgentNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.readtextservicenode method)": [[86, "agentscope.web.workstation.workflow_node.ReadTextServiceNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.sequentialpipelinenode method)": [[86, "agentscope.web.workstation.workflow_node.SequentialPipelineNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.switchpipelinenode method)": [[86, "agentscope.web.workstation.workflow_node.SwitchPipelineNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.texttoimageagentnode method)": [[86, "agentscope.web.workstation.workflow_node.TextToImageAgentNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.useragentnode method)": [[86, "agentscope.web.workstation.workflow_node.UserAgentNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.whilelooppipelinenode method)": [[86, "agentscope.web.workstation.workflow_node.WhileLoopPipelineNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.workflownode method)": [[86, "agentscope.web.workstation.workflow_node.WorkflowNode.compile", false]], "compile() (agentscope.web.workstation.workflow_node.writetextservicenode method)": [[86, "agentscope.web.workstation.workflow_node.WriteTextServiceNode.compile", false]], "compile_workflow() (in module agentscope.web.workstation.workflow)": [[84, "agentscope.web.workstation.workflow.compile_workflow", false]], "config_name (agentscope.models.dashscope_model.dashscopechatwrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeChatWrapper.config_name", false]], "config_name (agentscope.models.dashscope_model.dashscopeimagesynthesiswrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeImageSynthesisWrapper.config_name", false]], "config_name (agentscope.models.dashscope_model.dashscopemultimodalwrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeMultiModalWrapper.config_name", false]], "config_name (agentscope.models.dashscope_model.dashscopetextembeddingwrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeTextEmbeddingWrapper.config_name", false]], "config_name (agentscope.models.gemini_model.geminichatwrapper attribute)": [[21, "agentscope.models.gemini_model.GeminiChatWrapper.config_name", false]], "config_name (agentscope.models.gemini_model.geminiembeddingwrapper attribute)": [[21, "agentscope.models.gemini_model.GeminiEmbeddingWrapper.config_name", false]], "config_name (agentscope.models.litellm_model.litellmchatwrapper attribute)": [[22, "agentscope.models.litellm_model.LiteLLMChatWrapper.config_name", false]], "config_name (agentscope.models.model.modelwrapperbase attribute)": [[23, "agentscope.models.model.ModelWrapperBase.config_name", false]], "config_name (agentscope.models.modelwrapperbase attribute)": [[18, "agentscope.models.ModelWrapperBase.config_name", false]], "config_name (agentscope.models.ollama_model.ollamachatwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaChatWrapper.config_name", false]], "config_name (agentscope.models.ollama_model.ollamaembeddingwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaEmbeddingWrapper.config_name", false]], "config_name (agentscope.models.ollama_model.ollamagenerationwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaGenerationWrapper.config_name", false]], "config_name (agentscope.models.openai_model.openaichatwrapper attribute)": [[25, "agentscope.models.openai_model.OpenAIChatWrapper.config_name", false]], "config_name (agentscope.models.openai_model.openaidallewrapper attribute)": [[25, "agentscope.models.openai_model.OpenAIDALLEWrapper.config_name", false]], "config_name (agentscope.models.openai_model.openaiembeddingwrapper attribute)": [[25, "agentscope.models.openai_model.OpenAIEmbeddingWrapper.config_name", false]], "config_name (agentscope.models.post_model.postapichatwrapper attribute)": [[26, "agentscope.models.post_model.PostAPIChatWrapper.config_name", false]], "config_name (agentscope.models.post_model.postapimodelwrapperbase attribute)": [[26, "agentscope.models.post_model.PostAPIModelWrapperBase.config_name", false]], "config_name (agentscope.models.zhipu_model.zhipuaichatwrapper attribute)": [[28, "agentscope.models.zhipu_model.ZhipuAIChatWrapper.config_name", false]], "config_name (agentscope.models.zhipu_model.zhipuaiembeddingwrapper attribute)": [[28, "agentscope.models.zhipu_model.ZhipuAIEmbeddingWrapper.config_name", false]], "content (agentscope.message.msg attribute)": [[17, "agentscope.message.Msg.content", false]], "content_hint (agentscope.parsers.code_block_parser.markdowncodeblockparser attribute)": [[31, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.content_hint", false]], "content_hint (agentscope.parsers.json_object_parser.markdownjsondictparser attribute)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.content_hint", false]], "content_hint (agentscope.parsers.json_object_parser.markdownjsonobjectparser attribute)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.content_hint", false]], "content_hint (agentscope.parsers.markdowncodeblockparser attribute)": [[30, "agentscope.parsers.MarkdownCodeBlockParser.content_hint", false]], "content_hint (agentscope.parsers.markdownjsondictparser attribute)": [[30, "agentscope.parsers.MarkdownJsonDictParser.content_hint", false]], "content_hint (agentscope.parsers.markdownjsonobjectparser attribute)": [[30, "agentscope.parsers.MarkdownJsonObjectParser.content_hint", false]], "content_hint (agentscope.parsers.tagged_content_parser.taggedcontent attribute)": [[34, "agentscope.parsers.tagged_content_parser.TaggedContent.content_hint", false]], "content_hint (agentscope.parsers.taggedcontent attribute)": [[30, "agentscope.parsers.TaggedContent.content_hint", false]], "convert_url() (agentscope.models.dashscope_model.dashscopemultimodalwrapper method)": [[20, "agentscope.models.dashscope_model.DashScopeMultiModalWrapper.convert_url", false]], "convert_url() (agentscope.models.dashscopemultimodalwrapper method)": [[18, "agentscope.models.DashScopeMultiModalWrapper.convert_url", false]], "copy (agentscope.web.workstation.workflow_node.workflownodetype attribute)": [[86, "agentscope.web.workstation.workflow_node.WorkflowNodeType.COPY", false]], "copynode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.CopyNode", false]], "cos_sim() (in module agentscope.service)": [[46, "agentscope.service.cos_sim", false]], "cos_sim() (in module agentscope.service.retrieval.similarity)": [[56, "agentscope.service.retrieval.similarity.cos_sim", false]], "count_openai_token() (in module agentscope.utils.token_utils)": [[76, "agentscope.utils.token_utils.count_openai_token", false]], "create_agent() (agentscope.rpc.rpc_agent_client.rpcagentclient method)": [[40, "agentscope.rpc.rpc_agent_client.RpcAgentClient.create_agent", false]], "create_agent() (agentscope.rpc.rpcagentclient method)": [[39, "agentscope.rpc.RpcAgentClient.create_agent", false]], "create_directory() (in module agentscope.service)": [[46, "agentscope.service.create_directory", false]], "create_directory() (in module agentscope.service.file.common)": [[51, "agentscope.service.file.common.create_directory", false]], "create_file() (in module agentscope.service)": [[46, "agentscope.service.create_file", false]], "create_file() (in module agentscope.service.file.common)": [[51, "agentscope.service.file.common.create_file", false]], "create_tempdir() (in module agentscope.utils.common)": [[74, "agentscope.utils.common.create_tempdir", false]], "cycle_dots() (in module agentscope.web.gradio.utils)": [[82, "agentscope.web.gradio.utils.cycle_dots", false]], "dashscope_image_to_text() (in module agentscope.service)": [[46, "agentscope.service.dashscope_image_to_text", false]], "dashscope_text_to_audio() (in module agentscope.service)": [[46, "agentscope.service.dashscope_text_to_audio", false]], "dashscope_text_to_image() (in module agentscope.service)": [[46, "agentscope.service.dashscope_text_to_image", false]], "dashscopechatwrapper (class in agentscope.models)": [[18, "agentscope.models.DashScopeChatWrapper", false]], "dashscopechatwrapper (class in agentscope.models.dashscope_model)": [[20, "agentscope.models.dashscope_model.DashScopeChatWrapper", false]], "dashscopeimagesynthesiswrapper (class in agentscope.models)": [[18, "agentscope.models.DashScopeImageSynthesisWrapper", false]], "dashscopeimagesynthesiswrapper (class in agentscope.models.dashscope_model)": [[20, "agentscope.models.dashscope_model.DashScopeImageSynthesisWrapper", false]], "dashscopemultimodalwrapper (class in agentscope.models)": [[18, "agentscope.models.DashScopeMultiModalWrapper", false]], "dashscopemultimodalwrapper (class in agentscope.models.dashscope_model)": [[20, "agentscope.models.dashscope_model.DashScopeMultiModalWrapper", false]], "dashscopetextembeddingwrapper (class in agentscope.models)": [[18, "agentscope.models.DashScopeTextEmbeddingWrapper", false]], "dashscopetextembeddingwrapper (class in agentscope.models.dashscope_model)": [[20, "agentscope.models.dashscope_model.DashScopeTextEmbeddingWrapper", false]], "dashscopewrapperbase (class in agentscope.models.dashscope_model)": [[20, "agentscope.models.dashscope_model.DashScopeWrapperBase", false]], "dblp_search_authors() (in module agentscope.service)": [[46, "agentscope.service.dblp_search_authors", false]], "dblp_search_authors() (in module agentscope.service.web.dblp)": [[68, "agentscope.service.web.dblp.dblp_search_authors", false]], "dblp_search_publications() (in module agentscope.service)": [[46, "agentscope.service.dblp_search_publications", false]], "dblp_search_publications() (in module agentscope.service.web.dblp)": [[68, "agentscope.service.web.dblp.dblp_search_publications", false]], "dblp_search_venues() (in module agentscope.service)": [[46, "agentscope.service.dblp_search_venues", false]], "dblp_search_venues() (in module agentscope.service.web.dblp)": [[68, "agentscope.service.web.dblp.dblp_search_venues", false]], "delete() (agentscope.memory.memory.memorybase method)": [[15, "agentscope.memory.memory.MemoryBase.delete", false]], "delete() (agentscope.memory.memorybase method)": [[14, "agentscope.memory.MemoryBase.delete", false]], "delete() (agentscope.memory.temporary_memory.temporarymemory method)": [[16, "agentscope.memory.temporary_memory.TemporaryMemory.delete", false]], "delete() (agentscope.memory.temporarymemory method)": [[14, "agentscope.memory.TemporaryMemory.delete", false]], "delete() (agentscope.msghub.msghubmanager method)": [[29, "agentscope.msghub.MsgHubManager.delete", false]], "delete_agent() (agentscope.rpc.rpc_agent_client.rpcagentclient method)": [[40, "agentscope.rpc.rpc_agent_client.RpcAgentClient.delete_agent", false]], "delete_agent() (agentscope.rpc.rpcagentclient method)": [[39, "agentscope.rpc.RpcAgentClient.delete_agent", false]], "delete_directory() (in module agentscope.service)": [[46, "agentscope.service.delete_directory", false]], "delete_directory() (in module agentscope.service.file.common)": [[51, "agentscope.service.file.common.delete_directory", false]], "delete_file() (in module agentscope.service)": [[46, "agentscope.service.delete_file", false]], "delete_file() (in module agentscope.service.file.common)": [[51, "agentscope.service.file.common.delete_file", false]], "deprecated_model_type (agentscope.models.dashscope_model.dashscopechatwrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeChatWrapper.deprecated_model_type", false]], "deprecated_model_type (agentscope.models.dashscopechatwrapper attribute)": [[18, "agentscope.models.DashScopeChatWrapper.deprecated_model_type", false]], "deprecated_model_type (agentscope.models.openai_model.openaichatwrapper attribute)": [[25, "agentscope.models.openai_model.OpenAIChatWrapper.deprecated_model_type", false]], "deprecated_model_type (agentscope.models.openaichatwrapper attribute)": [[18, "agentscope.models.OpenAIChatWrapper.deprecated_model_type", false]], "deprecated_model_type (agentscope.models.post_model.postapidallewrapper attribute)": [[26, "agentscope.models.post_model.PostAPIDALLEWrapper.deprecated_model_type", false]], "deps_converter() (in module agentscope.web.workstation.workflow_utils)": [[87, "agentscope.web.workstation.workflow_utils.deps_converter", false]], "descriptor (agentscope.rpc.rpcmsg attribute)": [[39, "agentscope.rpc.RpcMsg.DESCRIPTOR", false]], "deserialize() (in module agentscope.message)": [[17, "agentscope.message.deserialize", false]], "dialogagent (class in agentscope.agents)": [[1, "agentscope.agents.DialogAgent", false]], "dialogagent (class in agentscope.agents.dialog_agent)": [[3, "agentscope.agents.dialog_agent.DialogAgent", false]], "dialogagentnode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.DialogAgentNode", false]], "dict_converter() (in module agentscope.web.workstation.workflow_utils)": [[87, "agentscope.web.workstation.workflow_utils.dict_converter", false]], "dictdialogagent (class in agentscope.agents)": [[1, "agentscope.agents.DictDialogAgent", false]], "dictdialogagent (class in agentscope.agents.dict_dialog_agent)": [[4, "agentscope.agents.dict_dialog_agent.DictDialogAgent", false]], "dictdialogagentnode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.DictDialogAgentNode", false]], "dictfiltermixin (class in agentscope.parsers.parser_base)": [[33, "agentscope.parsers.parser_base.DictFilterMixin", false]], "digest_webpage() (in module agentscope.service)": [[46, "agentscope.service.digest_webpage", false]], "digest_webpage() (in module agentscope.service.web.web_digest)": [[71, "agentscope.service.web.web_digest.digest_webpage", false]], "distconf (class in agentscope.agents)": [[1, "agentscope.agents.DistConf", false]], "distconf (class in agentscope.agents.agent)": [[2, "agentscope.agents.agent.DistConf", false]], "download_from_url() (in module agentscope.service)": [[46, "agentscope.service.download_from_url", false]], "download_from_url() (in module agentscope.service.web.download)": [[69, "agentscope.service.web.download.download_from_url", false]], "dummymonitor (class in agentscope.utils.monitor)": [[75, "agentscope.utils.monitor.DummyMonitor", false]], "embedding (agentscope.models.modelresponse attribute)": [[18, "agentscope.models.ModelResponse.embedding", false]], "embedding (agentscope.models.response.modelresponse attribute)": [[27, "agentscope.models.response.ModelResponse.embedding", false]], "error (agentscope.service.service_status.serviceexecstatus attribute)": [[58, "agentscope.service.service_status.ServiceExecStatus.ERROR", false]], "error (agentscope.service.serviceexecstatus attribute)": [[46, "agentscope.service.ServiceExecStatus.ERROR", false]], "exec_node() (agentscope.web.workstation.workflow_dag.asdigraph method)": [[85, "agentscope.web.workstation.workflow_dag.ASDiGraph.exec_node", false]], "execute_python_code() (in module agentscope.service)": [[46, "agentscope.service.execute_python_code", false]], "execute_python_code() (in module agentscope.service.execute_code.exec_python)": [[48, "agentscope.service.execute_code.exec_python.execute_python_code", false]], "execute_shell_command() (in module agentscope.service)": [[46, "agentscope.service.execute_shell_command", false]], "execute_shell_command() (in module agentscope.service.execute_code.exec_shell)": [[49, "agentscope.service.execute_code.exec_shell.execute_shell_command", false]], "exists() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.exists", false]], "exists() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.exists", false]], "exists() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.exists", false]], "exists() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.exists", false]], "export() (agentscope.memory.memory.memorybase method)": [[15, "agentscope.memory.memory.MemoryBase.export", false]], "export() (agentscope.memory.memorybase method)": [[14, "agentscope.memory.MemoryBase.export", false]], "export() (agentscope.memory.temporary_memory.temporarymemory method)": [[16, "agentscope.memory.temporary_memory.TemporaryMemory.export", false]], "export() (agentscope.memory.temporarymemory method)": [[14, "agentscope.memory.TemporaryMemory.export", false]], "export_config() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.export_config", false]], "export_config() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.export_config", false]], "find_available_port() (in module agentscope.utils.tools)": [[77, "agentscope.utils.tools.find_available_port", false]], "flush() (agentscope.utils.monitor.monitorfactory class method)": [[75, "agentscope.utils.monitor.MonitorFactory.flush", false]], "flush() (agentscope.utils.monitorfactory class method)": [[73, "agentscope.utils.MonitorFactory.flush", false]], "fn_choice() (in module agentscope.web.gradio.studio)": [[81, "agentscope.web.gradio.studio.fn_choice", false]], "forlooppipeline (class in agentscope.pipelines)": [[35, "agentscope.pipelines.ForLoopPipeline", false]], "forlooppipeline (class in agentscope.pipelines.pipeline)": [[37, "agentscope.pipelines.pipeline.ForLoopPipeline", false]], "forlooppipeline() (in module agentscope.pipelines)": [[35, "agentscope.pipelines.forlooppipeline", false]], "forlooppipeline() (in module agentscope.pipelines.functional)": [[36, "agentscope.pipelines.functional.forlooppipeline", false]], "forlooppipelinenode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.ForLoopPipelineNode", false]], "format() (agentscope.models.dashscope_model.dashscopechatwrapper method)": [[20, "agentscope.models.dashscope_model.DashScopeChatWrapper.format", false]], "format() (agentscope.models.dashscope_model.dashscopemultimodalwrapper method)": [[20, "agentscope.models.dashscope_model.DashScopeMultiModalWrapper.format", false]], "format() (agentscope.models.dashscope_model.dashscopewrapperbase method)": [[20, "agentscope.models.dashscope_model.DashScopeWrapperBase.format", false]], "format() (agentscope.models.dashscopechatwrapper method)": [[18, "agentscope.models.DashScopeChatWrapper.format", false]], "format() (agentscope.models.dashscopemultimodalwrapper method)": [[18, "agentscope.models.DashScopeMultiModalWrapper.format", false]], "format() (agentscope.models.gemini_model.geminichatwrapper method)": [[21, "agentscope.models.gemini_model.GeminiChatWrapper.format", false]], "format() (agentscope.models.geminichatwrapper method)": [[18, "agentscope.models.GeminiChatWrapper.format", false]], "format() (agentscope.models.litellm_model.litellmchatwrapper method)": [[22, "agentscope.models.litellm_model.LiteLLMChatWrapper.format", false]], "format() (agentscope.models.litellm_model.litellmwrapperbase method)": [[22, "agentscope.models.litellm_model.LiteLLMWrapperBase.format", false]], "format() (agentscope.models.litellmchatwrapper method)": [[18, "agentscope.models.LiteLLMChatWrapper.format", false]], "format() (agentscope.models.model.modelwrapperbase method)": [[23, "agentscope.models.model.ModelWrapperBase.format", false]], "format() (agentscope.models.modelwrapperbase method)": [[18, "agentscope.models.ModelWrapperBase.format", false]], "format() (agentscope.models.ollama_model.ollamachatwrapper method)": [[24, "agentscope.models.ollama_model.OllamaChatWrapper.format", false]], "format() (agentscope.models.ollama_model.ollamaembeddingwrapper method)": [[24, "agentscope.models.ollama_model.OllamaEmbeddingWrapper.format", false]], "format() (agentscope.models.ollama_model.ollamagenerationwrapper method)": [[24, "agentscope.models.ollama_model.OllamaGenerationWrapper.format", false]], "format() (agentscope.models.ollamachatwrapper method)": [[18, "agentscope.models.OllamaChatWrapper.format", false]], "format() (agentscope.models.ollamaembeddingwrapper method)": [[18, "agentscope.models.OllamaEmbeddingWrapper.format", false]], "format() (agentscope.models.ollamagenerationwrapper method)": [[18, "agentscope.models.OllamaGenerationWrapper.format", false]], "format() (agentscope.models.openai_model.openaichatwrapper method)": [[25, "agentscope.models.openai_model.OpenAIChatWrapper.format", false]], "format() (agentscope.models.openai_model.openaiwrapperbase method)": [[25, "agentscope.models.openai_model.OpenAIWrapperBase.format", false]], "format() (agentscope.models.openaichatwrapper method)": [[18, "agentscope.models.OpenAIChatWrapper.format", false]], "format() (agentscope.models.openaiwrapperbase method)": [[18, "agentscope.models.OpenAIWrapperBase.format", false]], "format() (agentscope.models.post_model.postapichatwrapper method)": [[26, "agentscope.models.post_model.PostAPIChatWrapper.format", false]], "format() (agentscope.models.post_model.postapidallewrapper method)": [[26, "agentscope.models.post_model.PostAPIDALLEWrapper.format", false]], "format() (agentscope.models.post_model.postapiembeddingwrapper method)": [[26, "agentscope.models.post_model.PostAPIEmbeddingWrapper.format", false]], "format() (agentscope.models.postapichatwrapper method)": [[18, "agentscope.models.PostAPIChatWrapper.format", false]], "format() (agentscope.models.zhipu_model.zhipuaichatwrapper method)": [[28, "agentscope.models.zhipu_model.ZhipuAIChatWrapper.format", false]], "format() (agentscope.models.zhipu_model.zhipuaiwrapperbase method)": [[28, "agentscope.models.zhipu_model.ZhipuAIWrapperBase.format", false]], "format() (agentscope.models.zhipuaichatwrapper method)": [[18, "agentscope.models.ZhipuAIChatWrapper.format", false]], "format_instruction (agentscope.parsers.code_block_parser.markdowncodeblockparser attribute)": [[31, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.format_instruction", false]], "format_instruction (agentscope.parsers.json_object_parser.markdownjsondictparser property)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.format_instruction", false]], "format_instruction (agentscope.parsers.json_object_parser.markdownjsonobjectparser property)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.format_instruction", false]], "format_instruction (agentscope.parsers.markdowncodeblockparser attribute)": [[30, "agentscope.parsers.MarkdownCodeBlockParser.format_instruction", false]], "format_instruction (agentscope.parsers.markdownjsondictparser property)": [[30, "agentscope.parsers.MarkdownJsonDictParser.format_instruction", false]], "format_instruction (agentscope.parsers.markdownjsonobjectparser property)": [[30, "agentscope.parsers.MarkdownJsonObjectParser.format_instruction", false]], "format_instruction (agentscope.parsers.multitaggedcontentparser attribute)": [[30, "agentscope.parsers.MultiTaggedContentParser.format_instruction", false]], "format_instruction (agentscope.parsers.tagged_content_parser.multitaggedcontentparser attribute)": [[34, "agentscope.parsers.tagged_content_parser.MultiTaggedContentParser.format_instruction", false]], "functioncallerror": [[11, "agentscope.exception.FunctionCallError", false]], "functioncallformaterror": [[11, "agentscope.exception.FunctionCallFormatError", false]], "functionnotfounderror": [[11, "agentscope.exception.FunctionNotFoundError", false]], "geminichatwrapper (class in agentscope.models)": [[18, "agentscope.models.GeminiChatWrapper", false]], "geminichatwrapper (class in agentscope.models.gemini_model)": [[21, "agentscope.models.gemini_model.GeminiChatWrapper", false]], "geminiembeddingwrapper (class in agentscope.models)": [[18, "agentscope.models.GeminiEmbeddingWrapper", false]], "geminiembeddingwrapper (class in agentscope.models.gemini_model)": [[21, "agentscope.models.gemini_model.GeminiEmbeddingWrapper", false]], "geminiwrapperbase (class in agentscope.models.gemini_model)": [[21, "agentscope.models.gemini_model.GeminiWrapperBase", false]], "generate_agent_id() (agentscope.agents.agent.agentbase class method)": [[2, "agentscope.agents.agent.AgentBase.generate_agent_id", false]], "generate_agent_id() (agentscope.agents.agentbase class method)": [[1, "agentscope.agents.AgentBase.generate_agent_id", false]], "generate_id_from_seed() (in module agentscope.utils.tools)": [[77, "agentscope.utils.tools.generate_id_from_seed", false]], "generate_image_from_name() (in module agentscope.web.gradio.utils)": [[82, "agentscope.web.gradio.utils.generate_image_from_name", false]], "generate_server_id() (agentscope.server.launcher.rpcagentserverlauncher class method)": [[44, "agentscope.server.launcher.RpcAgentServerLauncher.generate_server_id", false]], "generate_server_id() (agentscope.server.rpcagentserverlauncher class method)": [[43, "agentscope.server.RpcAgentServerLauncher.generate_server_id", false]], "generation_method (agentscope.models.gemini_model.geminichatwrapper attribute)": [[21, "agentscope.models.gemini_model.GeminiChatWrapper.generation_method", false]], "generation_method (agentscope.models.geminichatwrapper attribute)": [[18, "agentscope.models.GeminiChatWrapper.generation_method", false]], "get() (agentscope.service.service_toolkit.servicefactory class method)": [[59, "agentscope.service.service_toolkit.ServiceFactory.get", false]], "get() (agentscope.service.service_toolkit.servicetoolkit class method)": [[59, "agentscope.service.service_toolkit.ServiceToolkit.get", false]], "get() (agentscope.service.servicefactory class method)": [[46, "agentscope.service.ServiceFactory.get", false]], "get() (agentscope.service.servicetoolkit class method)": [[46, "agentscope.service.ServiceToolkit.get", false]], "get_agent_class() (agentscope.agents.agent.agentbase class method)": [[2, "agentscope.agents.agent.AgentBase.get_agent_class", false]], "get_agent_class() (agentscope.agents.agentbase class method)": [[1, "agentscope.agents.AgentBase.get_agent_class", false]], "get_all_agents() (in module agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.get_all_agents", false]], "get_chat() (in module agentscope.web.gradio.studio)": [[81, "agentscope.web.gradio.studio.get_chat", false]], "get_chat_msg() (in module agentscope.web.gradio.utils)": [[82, "agentscope.web.gradio.utils.get_chat_msg", false]], "get_current_directory() (in module agentscope.service)": [[46, "agentscope.service.get_current_directory", false]], "get_current_directory() (in module agentscope.service.file.common)": [[51, "agentscope.service.file.common.get_current_directory", false]], "get_embeddings() (agentscope.memory.temporary_memory.temporarymemory method)": [[16, "agentscope.memory.temporary_memory.TemporaryMemory.get_embeddings", false]], "get_embeddings() (agentscope.memory.temporarymemory method)": [[14, "agentscope.memory.TemporaryMemory.get_embeddings", false]], "get_full_name() (in module agentscope.utils.monitor)": [[75, "agentscope.utils.monitor.get_full_name", false]], "get_help() (in module agentscope.service)": [[46, "agentscope.service.get_help", false]], "get_memory() (agentscope.memory.memory.memorybase method)": [[15, "agentscope.memory.memory.MemoryBase.get_memory", false]], "get_memory() (agentscope.memory.memorybase method)": [[14, "agentscope.memory.MemoryBase.get_memory", false]], "get_memory() (agentscope.memory.temporary_memory.temporarymemory method)": [[16, "agentscope.memory.temporary_memory.TemporaryMemory.get_memory", false]], "get_memory() (agentscope.memory.temporarymemory method)": [[14, "agentscope.memory.TemporaryMemory.get_memory", false]], "get_metric() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.get_metric", false]], "get_metric() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.get_metric", false]], "get_metric() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.get_metric", false]], "get_metric() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.get_metric", false]], "get_metrics() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.get_metrics", false]], "get_metrics() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.get_metrics", false]], "get_metrics() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.get_metrics", false]], "get_metrics() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.get_metrics", false]], "get_monitor() (agentscope.utils.monitor.monitorfactory class method)": [[75, "agentscope.utils.monitor.MonitorFactory.get_monitor", false]], "get_monitor() (agentscope.utils.monitorfactory class method)": [[73, "agentscope.utils.MonitorFactory.get_monitor", false]], "get_openai_max_length() (in module agentscope.utils.token_utils)": [[76, "agentscope.utils.token_utils.get_openai_max_length", false]], "get_player_input() (in module agentscope.web.gradio.utils)": [[82, "agentscope.web.gradio.utils.get_player_input", false]], "get_quota() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.get_quota", false]], "get_quota() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.get_quota", false]], "get_quota() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.get_quota", false]], "get_quota() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.get_quota", false]], "get_reset_msg() (in module agentscope.web.gradio.utils)": [[82, "agentscope.web.gradio.utils.get_reset_msg", false]], "get_response() (agentscope.rpc.responsestub method)": [[39, "agentscope.rpc.ResponseStub.get_response", false]], "get_response() (agentscope.rpc.rpc_agent_client.responsestub method)": [[40, "agentscope.rpc.rpc_agent_client.ResponseStub.get_response", false]], "get_task_id() (agentscope.server.agentserverservicer method)": [[43, "agentscope.server.AgentServerServicer.get_task_id", false]], "get_task_id() (agentscope.server.servicer.agentserverservicer method)": [[45, "agentscope.server.servicer.AgentServerServicer.get_task_id", false]], "get_unit() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.get_unit", false]], "get_unit() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.get_unit", false]], "get_unit() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.get_unit", false]], "get_unit() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.get_unit", false]], "get_value() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.get_value", false]], "get_value() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.get_value", false]], "get_value() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.get_value", false]], "get_value() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.get_value", false]], "get_wrapper() (agentscope.models.model.modelwrapperbase class method)": [[23, "agentscope.models.model.ModelWrapperBase.get_wrapper", false]], "get_wrapper() (agentscope.models.modelwrapperbase class method)": [[18, "agentscope.models.ModelWrapperBase.get_wrapper", false]], "google_search() (in module agentscope.service)": [[46, "agentscope.service.google_search", false]], "google_search() (in module agentscope.service.web.search)": [[70, "agentscope.service.web.search.google_search", false]], "googlesearchservicenode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.GoogleSearchServiceNode", false]], "id (agentscope.message.msg attribute)": [[17, "agentscope.message.Msg.id", false]], "ifelsepipeline (class in agentscope.pipelines)": [[35, "agentscope.pipelines.IfElsePipeline", false]], "ifelsepipeline (class in agentscope.pipelines.pipeline)": [[37, "agentscope.pipelines.pipeline.IfElsePipeline", false]], "ifelsepipeline() (in module agentscope.pipelines)": [[35, "agentscope.pipelines.ifelsepipeline", false]], "ifelsepipeline() (in module agentscope.pipelines.functional)": [[36, "agentscope.pipelines.functional.ifelsepipeline", false]], "ifelsepipelinenode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.IfElsePipelineNode", false]], "image_urls (agentscope.models.modelresponse attribute)": [[18, "agentscope.models.ModelResponse.image_urls", false]], "image_urls (agentscope.models.response.modelresponse attribute)": [[27, "agentscope.models.response.ModelResponse.image_urls", false]], "import_function_from_path() (in module agentscope.web.gradio.studio)": [[81, "agentscope.web.gradio.studio.import_function_from_path", false]], "importerrorreporter (class in agentscope.utils.tools)": [[77, "agentscope.utils.tools.ImportErrorReporter", false]], "init() (in module agentscope)": [[0, "agentscope.init", false]], "init() (in module agentscope.studio)": [[72, "agentscope.studio.init", false]], "init_uid_list() (in module agentscope.web.gradio.studio)": [[81, "agentscope.web.gradio.studio.init_uid_list", false]], "init_uid_queues() (in module agentscope.web.gradio.utils)": [[82, "agentscope.web.gradio.utils.init_uid_queues", false]], "is_callable_expression() (in module agentscope.web.workstation.workflow_utils)": [[87, "agentscope.web.workstation.workflow_utils.is_callable_expression", false]], "is_valid_url() (in module agentscope.service.web.web_digest)": [[71, "agentscope.service.web.web_digest.is_valid_url", false]], "join() (agentscope.prompt.promptengine method)": [[38, "agentscope.prompt.PromptEngine.join", false]], "join_to_list() (agentscope.prompt.promptengine method)": [[38, "agentscope.prompt.PromptEngine.join_to_list", false]], "join_to_str() (agentscope.prompt.promptengine method)": [[38, "agentscope.prompt.PromptEngine.join_to_str", false]], "json (agentscope.constants.responseformat attribute)": [[10, "agentscope.constants.ResponseFormat.JSON", false]], "json_required_hint (agentscope.parsers.multitaggedcontentparser attribute)": [[30, "agentscope.parsers.MultiTaggedContentParser.json_required_hint", false]], "json_required_hint (agentscope.parsers.tagged_content_parser.multitaggedcontentparser attribute)": [[34, "agentscope.parsers.tagged_content_parser.MultiTaggedContentParser.json_required_hint", false]], "json_schema (agentscope.service.service_toolkit.servicefunction attribute)": [[59, "agentscope.service.service_toolkit.ServiceFunction.json_schema", false]], "json_schemas (agentscope.service.service_toolkit.servicetoolkit property)": [[59, "agentscope.service.service_toolkit.ServiceToolkit.json_schemas", false]], "json_schemas (agentscope.service.servicetoolkit property)": [[46, "agentscope.service.ServiceToolkit.json_schemas", false]], "jsondictvalidationerror": [[11, "agentscope.exception.JsonDictValidationError", false]], "jsonparsingerror": [[11, "agentscope.exception.JsonParsingError", false]], "jsontypeerror": [[11, "agentscope.exception.JsonTypeError", false]], "keep_alive (agentscope.models.ollama_model.ollamachatwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaChatWrapper.keep_alive", false]], "keep_alive (agentscope.models.ollama_model.ollamaembeddingwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaEmbeddingWrapper.keep_alive", false]], "keep_alive (agentscope.models.ollama_model.ollamagenerationwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaGenerationWrapper.keep_alive", false]], "keep_alive (agentscope.models.ollama_model.ollamawrapperbase attribute)": [[24, "agentscope.models.ollama_model.OllamaWrapperBase.keep_alive", false]], "kwarg_converter() (in module agentscope.web.workstation.workflow_utils)": [[87, "agentscope.web.workstation.workflow_utils.kwarg_converter", false]], "launch() (agentscope.server.launcher.rpcagentserverlauncher method)": [[44, "agentscope.server.launcher.RpcAgentServerLauncher.launch", false]], "launch() (agentscope.server.rpcagentserverlauncher method)": [[43, "agentscope.server.RpcAgentServerLauncher.launch", false]], "list (agentscope.prompt.prompttype attribute)": [[38, "agentscope.prompt.PromptType.LIST", false]], "list_directory_content() (in module agentscope.service)": [[46, "agentscope.service.list_directory_content", false]], "list_directory_content() (in module agentscope.service.file.common)": [[51, "agentscope.service.file.common.list_directory_content", false]], "list_models() (agentscope.models.gemini_model.geminiwrapperbase method)": [[21, "agentscope.models.gemini_model.GeminiWrapperBase.list_models", false]], "litellmchatwrapper (class in agentscope.models)": [[18, "agentscope.models.LiteLLMChatWrapper", false]], "litellmchatwrapper (class in agentscope.models.litellm_model)": [[22, "agentscope.models.litellm_model.LiteLLMChatWrapper", false]], "litellmwrapperbase (class in agentscope.models.litellm_model)": [[22, "agentscope.models.litellm_model.LiteLLMWrapperBase", false]], "load() (agentscope.memory.memory.memorybase method)": [[15, "agentscope.memory.memory.MemoryBase.load", false]], "load() (agentscope.memory.memorybase method)": [[14, "agentscope.memory.MemoryBase.load", false]], "load() (agentscope.memory.temporary_memory.temporarymemory method)": [[16, "agentscope.memory.temporary_memory.TemporaryMemory.load", false]], "load() (agentscope.memory.temporarymemory method)": [[14, "agentscope.memory.TemporaryMemory.load", false]], "load_config() (in module agentscope.web.workstation.workflow)": [[84, "agentscope.web.workstation.workflow.load_config", false]], "load_from_config() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.load_from_config", false]], "load_from_config() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.load_from_config", false]], "load_memory() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.load_memory", false]], "load_memory() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.load_memory", false]], "load_model_by_config_name() (in module agentscope.models)": [[18, "agentscope.models.load_model_by_config_name", false]], "load_web() (in module agentscope.service)": [[46, "agentscope.service.load_web", false]], "load_web() (in module agentscope.service.web.web_digest)": [[71, "agentscope.service.web.web_digest.load_web", false]], "local_attrs (agentscope.message.placeholdermessage attribute)": [[17, "agentscope.message.PlaceholderMessage.LOCAL_ATTRS", false]], "log_studio() (in module agentscope.logging)": [[13, "agentscope.logging.log_studio", false]], "main() (in module agentscope.web.workstation.workflow)": [[84, "agentscope.web.workstation.workflow.main", false]], "markdowncodeblockparser (class in agentscope.parsers)": [[30, "agentscope.parsers.MarkdownCodeBlockParser", false]], "markdowncodeblockparser (class in agentscope.parsers.code_block_parser)": [[31, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser", false]], "markdownjsondictparser (class in agentscope.parsers)": [[30, "agentscope.parsers.MarkdownJsonDictParser", false]], "markdownjsondictparser (class in agentscope.parsers.json_object_parser)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser", false]], "markdownjsonobjectparser (class in agentscope.parsers)": [[30, "agentscope.parsers.MarkdownJsonObjectParser", false]], "markdownjsonobjectparser (class in agentscope.parsers.json_object_parser)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser", false]], "memorybase (class in agentscope.memory)": [[14, "agentscope.memory.MemoryBase", false]], "memorybase (class in agentscope.memory.memory)": [[15, "agentscope.memory.memory.MemoryBase", false]], "message (agentscope.web.workstation.workflow_node.workflownodetype attribute)": [[86, "agentscope.web.workstation.workflow_node.WorkflowNodeType.MESSAGE", false]], "messagebase (class in agentscope.message)": [[17, "agentscope.message.MessageBase", false]], "metadata (agentscope.message.msg attribute)": [[17, "agentscope.message.Msg.metadata", false]], "missing_begin_tag (agentscope.exception.tagnotfounderror attribute)": [[11, "agentscope.exception.TagNotFoundError.missing_begin_tag", false]], "missing_end_tag (agentscope.exception.tagnotfounderror attribute)": [[11, "agentscope.exception.TagNotFoundError.missing_end_tag", false]], "model (agentscope.web.workstation.workflow_node.workflownodetype attribute)": [[86, "agentscope.web.workstation.workflow_node.WorkflowNodeType.MODEL", false]], "model_name (agentscope.models.dashscope_model.dashscopechatwrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeChatWrapper.model_name", false]], "model_name (agentscope.models.dashscope_model.dashscopeimagesynthesiswrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeImageSynthesisWrapper.model_name", false]], "model_name (agentscope.models.dashscope_model.dashscopemultimodalwrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeMultiModalWrapper.model_name", false]], "model_name (agentscope.models.dashscope_model.dashscopetextembeddingwrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeTextEmbeddingWrapper.model_name", false]], "model_name (agentscope.models.gemini_model.geminichatwrapper attribute)": [[21, "agentscope.models.gemini_model.GeminiChatWrapper.model_name", false]], "model_name (agentscope.models.gemini_model.geminiembeddingwrapper attribute)": [[21, "agentscope.models.gemini_model.GeminiEmbeddingWrapper.model_name", false]], "model_name (agentscope.models.litellm_model.litellmchatwrapper attribute)": [[22, "agentscope.models.litellm_model.LiteLLMChatWrapper.model_name", false]], "model_name (agentscope.models.model.modelwrapperbase attribute)": [[23, "agentscope.models.model.ModelWrapperBase.model_name", false]], "model_name (agentscope.models.modelwrapperbase attribute)": [[18, "agentscope.models.ModelWrapperBase.model_name", false]], "model_name (agentscope.models.ollama_model.ollamachatwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaChatWrapper.model_name", false]], "model_name (agentscope.models.ollama_model.ollamaembeddingwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaEmbeddingWrapper.model_name", false]], "model_name (agentscope.models.ollama_model.ollamagenerationwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaGenerationWrapper.model_name", false]], "model_name (agentscope.models.ollama_model.ollamawrapperbase attribute)": [[24, "agentscope.models.ollama_model.OllamaWrapperBase.model_name", false]], "model_name (agentscope.models.openai_model.openaichatwrapper attribute)": [[25, "agentscope.models.openai_model.OpenAIChatWrapper.model_name", false]], "model_name (agentscope.models.openai_model.openaidallewrapper attribute)": [[25, "agentscope.models.openai_model.OpenAIDALLEWrapper.model_name", false]], "model_name (agentscope.models.openai_model.openaiembeddingwrapper attribute)": [[25, "agentscope.models.openai_model.OpenAIEmbeddingWrapper.model_name", false]], "model_name (agentscope.models.post_model.postapichatwrapper attribute)": [[26, "agentscope.models.post_model.PostAPIChatWrapper.model_name", false]], "model_name (agentscope.models.post_model.postapimodelwrapperbase attribute)": [[26, "agentscope.models.post_model.PostAPIModelWrapperBase.model_name", false]], "model_name (agentscope.models.zhipu_model.zhipuaichatwrapper attribute)": [[28, "agentscope.models.zhipu_model.ZhipuAIChatWrapper.model_name", false]], "model_name (agentscope.models.zhipu_model.zhipuaiembeddingwrapper attribute)": [[28, "agentscope.models.zhipu_model.ZhipuAIEmbeddingWrapper.model_name", false]], "model_type (agentscope.models.dashscope_model.dashscopechatwrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeChatWrapper.model_type", false]], "model_type (agentscope.models.dashscope_model.dashscopeimagesynthesiswrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeImageSynthesisWrapper.model_type", false]], "model_type (agentscope.models.dashscope_model.dashscopemultimodalwrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeMultiModalWrapper.model_type", false]], "model_type (agentscope.models.dashscope_model.dashscopetextembeddingwrapper attribute)": [[20, "agentscope.models.dashscope_model.DashScopeTextEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.dashscopechatwrapper attribute)": [[18, "agentscope.models.DashScopeChatWrapper.model_type", false]], "model_type (agentscope.models.dashscopeimagesynthesiswrapper attribute)": [[18, "agentscope.models.DashScopeImageSynthesisWrapper.model_type", false]], "model_type (agentscope.models.dashscopemultimodalwrapper attribute)": [[18, "agentscope.models.DashScopeMultiModalWrapper.model_type", false]], "model_type (agentscope.models.dashscopetextembeddingwrapper attribute)": [[18, "agentscope.models.DashScopeTextEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.gemini_model.geminichatwrapper attribute)": [[21, "agentscope.models.gemini_model.GeminiChatWrapper.model_type", false]], "model_type (agentscope.models.gemini_model.geminiembeddingwrapper attribute)": [[21, "agentscope.models.gemini_model.GeminiEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.geminichatwrapper attribute)": [[18, "agentscope.models.GeminiChatWrapper.model_type", false]], "model_type (agentscope.models.geminiembeddingwrapper attribute)": [[18, "agentscope.models.GeminiEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.litellm_model.litellmchatwrapper attribute)": [[22, "agentscope.models.litellm_model.LiteLLMChatWrapper.model_type", false]], "model_type (agentscope.models.litellmchatwrapper attribute)": [[18, "agentscope.models.LiteLLMChatWrapper.model_type", false]], "model_type (agentscope.models.model.modelwrapperbase attribute)": [[23, "agentscope.models.model.ModelWrapperBase.model_type", false]], "model_type (agentscope.models.modelwrapperbase attribute)": [[18, "agentscope.models.ModelWrapperBase.model_type", false]], "model_type (agentscope.models.ollama_model.ollamachatwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaChatWrapper.model_type", false]], "model_type (agentscope.models.ollama_model.ollamaembeddingwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.ollama_model.ollamagenerationwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaGenerationWrapper.model_type", false]], "model_type (agentscope.models.ollama_model.ollamawrapperbase attribute)": [[24, "agentscope.models.ollama_model.OllamaWrapperBase.model_type", false]], "model_type (agentscope.models.ollamachatwrapper attribute)": [[18, "agentscope.models.OllamaChatWrapper.model_type", false]], "model_type (agentscope.models.ollamaembeddingwrapper attribute)": [[18, "agentscope.models.OllamaEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.ollamagenerationwrapper attribute)": [[18, "agentscope.models.OllamaGenerationWrapper.model_type", false]], "model_type (agentscope.models.openai_model.openaichatwrapper attribute)": [[25, "agentscope.models.openai_model.OpenAIChatWrapper.model_type", false]], "model_type (agentscope.models.openai_model.openaidallewrapper attribute)": [[25, "agentscope.models.openai_model.OpenAIDALLEWrapper.model_type", false]], "model_type (agentscope.models.openai_model.openaiembeddingwrapper attribute)": [[25, "agentscope.models.openai_model.OpenAIEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.openaichatwrapper attribute)": [[18, "agentscope.models.OpenAIChatWrapper.model_type", false]], "model_type (agentscope.models.openaidallewrapper attribute)": [[18, "agentscope.models.OpenAIDALLEWrapper.model_type", false]], "model_type (agentscope.models.openaiembeddingwrapper attribute)": [[18, "agentscope.models.OpenAIEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.post_model.postapichatwrapper attribute)": [[26, "agentscope.models.post_model.PostAPIChatWrapper.model_type", false]], "model_type (agentscope.models.post_model.postapidallewrapper attribute)": [[26, "agentscope.models.post_model.PostAPIDALLEWrapper.model_type", false]], "model_type (agentscope.models.post_model.postapiembeddingwrapper attribute)": [[26, "agentscope.models.post_model.PostAPIEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.post_model.postapimodelwrapperbase attribute)": [[26, "agentscope.models.post_model.PostAPIModelWrapperBase.model_type", false]], "model_type (agentscope.models.postapichatwrapper attribute)": [[18, "agentscope.models.PostAPIChatWrapper.model_type", false]], "model_type (agentscope.models.postapimodelwrapperbase attribute)": [[18, "agentscope.models.PostAPIModelWrapperBase.model_type", false]], "model_type (agentscope.models.zhipu_model.zhipuaichatwrapper attribute)": [[28, "agentscope.models.zhipu_model.ZhipuAIChatWrapper.model_type", false]], "model_type (agentscope.models.zhipu_model.zhipuaiembeddingwrapper attribute)": [[28, "agentscope.models.zhipu_model.ZhipuAIEmbeddingWrapper.model_type", false]], "model_type (agentscope.models.zhipuaichatwrapper attribute)": [[18, "agentscope.models.ZhipuAIChatWrapper.model_type", false]], "model_type (agentscope.models.zhipuaiembeddingwrapper attribute)": [[18, "agentscope.models.ZhipuAIEmbeddingWrapper.model_type", false]], "modelnode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.ModelNode", false]], "modelresponse (class in agentscope.models)": [[18, "agentscope.models.ModelResponse", false]], "modelresponse (class in agentscope.models.response)": [[27, "agentscope.models.response.ModelResponse", false]], "modelwrapperbase (class in agentscope.models)": [[18, "agentscope.models.ModelWrapperBase", false]], "modelwrapperbase (class in agentscope.models.model)": [[23, "agentscope.models.model.ModelWrapperBase", false]], "module": [[0, "module-agentscope", false], [1, "module-agentscope.agents", false], [2, "module-agentscope.agents.agent", false], [3, "module-agentscope.agents.dialog_agent", false], [4, "module-agentscope.agents.dict_dialog_agent", false], [5, "module-agentscope.agents.operator", false], [6, "module-agentscope.agents.react_agent", false], [7, "module-agentscope.agents.rpc_agent", false], [8, "module-agentscope.agents.text_to_image_agent", false], [9, "module-agentscope.agents.user_agent", false], [10, "module-agentscope.constants", false], [11, "module-agentscope.exception", false], [12, "module-agentscope.file_manager", false], [13, "module-agentscope.logging", false], [14, "module-agentscope.memory", false], [15, "module-agentscope.memory.memory", false], [16, "module-agentscope.memory.temporary_memory", false], [17, "module-agentscope.message", false], [18, "module-agentscope.models", false], [19, "module-agentscope.models.config", false], [20, "module-agentscope.models.dashscope_model", false], [21, "module-agentscope.models.gemini_model", false], [22, "module-agentscope.models.litellm_model", false], [23, "module-agentscope.models.model", false], [24, "module-agentscope.models.ollama_model", false], [25, "module-agentscope.models.openai_model", false], [26, "module-agentscope.models.post_model", false], [27, "module-agentscope.models.response", false], [28, "module-agentscope.models.zhipu_model", false], [29, "module-agentscope.msghub", false], [30, "module-agentscope.parsers", false], [31, "module-agentscope.parsers.code_block_parser", false], [32, "module-agentscope.parsers.json_object_parser", false], [33, "module-agentscope.parsers.parser_base", false], [34, "module-agentscope.parsers.tagged_content_parser", false], [35, "module-agentscope.pipelines", false], [36, "module-agentscope.pipelines.functional", false], [37, "module-agentscope.pipelines.pipeline", false], [38, "module-agentscope.prompt", false], [39, "module-agentscope.rpc", false], [40, "module-agentscope.rpc.rpc_agent_client", false], [41, "module-agentscope.rpc.rpc_agent_pb2", false], [42, "module-agentscope.rpc.rpc_agent_pb2_grpc", false], [43, "module-agentscope.server", false], [44, "module-agentscope.server.launcher", false], [45, "module-agentscope.server.servicer", false], [46, "module-agentscope.service", false], [47, "module-agentscope.service.execute_code", false], [48, "module-agentscope.service.execute_code.exec_python", false], [49, "module-agentscope.service.execute_code.exec_shell", false], [50, "module-agentscope.service.file", false], [51, "module-agentscope.service.file.common", false], [52, "module-agentscope.service.file.json", false], [53, "module-agentscope.service.file.text", false], [54, "module-agentscope.service.retrieval", false], [55, "module-agentscope.service.retrieval.retrieval_from_list", false], [56, "module-agentscope.service.retrieval.similarity", false], [57, "module-agentscope.service.service_response", false], [58, "module-agentscope.service.service_status", false], [59, "module-agentscope.service.service_toolkit", false], [60, "module-agentscope.service.sql_query", false], [61, "module-agentscope.service.sql_query.mongodb", false], [62, "module-agentscope.service.sql_query.mysql", false], [63, "module-agentscope.service.sql_query.sqlite", false], [64, "module-agentscope.service.text_processing", false], [65, "module-agentscope.service.text_processing.summarization", false], [66, "module-agentscope.service.web", false], [67, "module-agentscope.service.web.arxiv", false], [68, "module-agentscope.service.web.dblp", false], [69, "module-agentscope.service.web.download", false], [70, "module-agentscope.service.web.search", false], [71, "module-agentscope.service.web.web_digest", false], [72, "module-agentscope.studio", false], [73, "module-agentscope.utils", false], [74, "module-agentscope.utils.common", false], [75, "module-agentscope.utils.monitor", false], [76, "module-agentscope.utils.token_utils", false], [77, "module-agentscope.utils.tools", false], [78, "module-agentscope.web", false], [79, "module-agentscope.web.gradio", false], [80, "module-agentscope.web.gradio.constants", false], [81, "module-agentscope.web.gradio.studio", false], [82, "module-agentscope.web.gradio.utils", false], [83, "module-agentscope.web.workstation", false], [84, "module-agentscope.web.workstation.workflow", false], [85, "module-agentscope.web.workstation.workflow_dag", false], [86, "module-agentscope.web.workstation.workflow_node", false], [87, "module-agentscope.web.workstation.workflow_utils", false]], "monitorbase (class in agentscope.utils)": [[73, "agentscope.utils.MonitorBase", false]], "monitorbase (class in agentscope.utils.monitor)": [[75, "agentscope.utils.monitor.MonitorBase", false]], "monitorfactory (class in agentscope.utils)": [[73, "agentscope.utils.MonitorFactory", false]], "monitorfactory (class in agentscope.utils.monitor)": [[75, "agentscope.utils.monitor.MonitorFactory", false]], "move_directory() (in module agentscope.service)": [[46, "agentscope.service.move_directory", false]], "move_directory() (in module agentscope.service.file.common)": [[51, "agentscope.service.file.common.move_directory", false]], "move_file() (in module agentscope.service)": [[46, "agentscope.service.move_file", false]], "move_file() (in module agentscope.service.file.common)": [[51, "agentscope.service.file.common.move_file", false]], "msg (class in agentscope.message)": [[17, "agentscope.message.Msg", false]], "msghub() (in module agentscope)": [[0, "agentscope.msghub", false]], "msghub() (in module agentscope.msghub)": [[29, "agentscope.msghub.msghub", false]], "msghubmanager (class in agentscope.msghub)": [[29, "agentscope.msghub.MsgHubManager", false]], "msghubnode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.MsgHubNode", false]], "msgnode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.MsgNode", false]], "multitaggedcontentparser (class in agentscope.parsers)": [[30, "agentscope.parsers.MultiTaggedContentParser", false]], "multitaggedcontentparser (class in agentscope.parsers.tagged_content_parser)": [[34, "agentscope.parsers.tagged_content_parser.MultiTaggedContentParser", false]], "name (agentscope.message.msg attribute)": [[17, "agentscope.message.Msg.name", false]], "name (agentscope.parsers.code_block_parser.markdowncodeblockparser attribute)": [[31, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.name", false]], "name (agentscope.parsers.json_object_parser.markdownjsondictparser attribute)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.name", false]], "name (agentscope.parsers.json_object_parser.markdownjsonobjectparser attribute)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.name", false]], "name (agentscope.parsers.markdowncodeblockparser attribute)": [[30, "agentscope.parsers.MarkdownCodeBlockParser.name", false]], "name (agentscope.parsers.markdownjsondictparser attribute)": [[30, "agentscope.parsers.MarkdownJsonDictParser.name", false]], "name (agentscope.parsers.markdownjsonobjectparser attribute)": [[30, "agentscope.parsers.MarkdownJsonObjectParser.name", false]], "name (agentscope.parsers.tagged_content_parser.taggedcontent attribute)": [[34, "agentscope.parsers.tagged_content_parser.TaggedContent.name", false]], "name (agentscope.parsers.taggedcontent attribute)": [[30, "agentscope.parsers.TaggedContent.name", false]], "name (agentscope.service.service_toolkit.servicefunction attribute)": [[59, "agentscope.service.service_toolkit.ServiceFunction.name", false]], "node_type (agentscope.web.workstation.workflow_node.bingsearchservicenode attribute)": [[86, "agentscope.web.workstation.workflow_node.BingSearchServiceNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.copynode attribute)": [[86, "agentscope.web.workstation.workflow_node.CopyNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.dialogagentnode attribute)": [[86, "agentscope.web.workstation.workflow_node.DialogAgentNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.dictdialogagentnode attribute)": [[86, "agentscope.web.workstation.workflow_node.DictDialogAgentNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.forlooppipelinenode attribute)": [[86, "agentscope.web.workstation.workflow_node.ForLoopPipelineNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.googlesearchservicenode attribute)": [[86, "agentscope.web.workstation.workflow_node.GoogleSearchServiceNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.ifelsepipelinenode attribute)": [[86, "agentscope.web.workstation.workflow_node.IfElsePipelineNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.modelnode attribute)": [[86, "agentscope.web.workstation.workflow_node.ModelNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.msghubnode attribute)": [[86, "agentscope.web.workstation.workflow_node.MsgHubNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.msgnode attribute)": [[86, "agentscope.web.workstation.workflow_node.MsgNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.placeholdernode attribute)": [[86, "agentscope.web.workstation.workflow_node.PlaceHolderNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.pythonservicenode attribute)": [[86, "agentscope.web.workstation.workflow_node.PythonServiceNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.reactagentnode attribute)": [[86, "agentscope.web.workstation.workflow_node.ReActAgentNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.readtextservicenode attribute)": [[86, "agentscope.web.workstation.workflow_node.ReadTextServiceNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.sequentialpipelinenode attribute)": [[86, "agentscope.web.workstation.workflow_node.SequentialPipelineNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.switchpipelinenode attribute)": [[86, "agentscope.web.workstation.workflow_node.SwitchPipelineNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.texttoimageagentnode attribute)": [[86, "agentscope.web.workstation.workflow_node.TextToImageAgentNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.useragentnode attribute)": [[86, "agentscope.web.workstation.workflow_node.UserAgentNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.whilelooppipelinenode attribute)": [[86, "agentscope.web.workstation.workflow_node.WhileLoopPipelineNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.workflownode attribute)": [[86, "agentscope.web.workstation.workflow_node.WorkflowNode.node_type", false]], "node_type (agentscope.web.workstation.workflow_node.writetextservicenode attribute)": [[86, "agentscope.web.workstation.workflow_node.WriteTextServiceNode.node_type", false]], "nodes_not_in_graph (agentscope.web.workstation.workflow_dag.asdigraph attribute)": [[85, "agentscope.web.workstation.workflow_dag.ASDiGraph.nodes_not_in_graph", false]], "none (agentscope.constants.responseformat attribute)": [[10, "agentscope.constants.ResponseFormat.NONE", false]], "num_tokens_from_content() (in module agentscope.utils.token_utils)": [[76, "agentscope.utils.token_utils.num_tokens_from_content", false]], "observe() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.observe", false]], "observe() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.observe", false]], "observe() (agentscope.agents.rpc_agent.rpcagent method)": [[7, "agentscope.agents.rpc_agent.RpcAgent.observe", false]], "observe() (agentscope.agents.rpcagent method)": [[1, "agentscope.agents.RpcAgent.observe", false]], "ollamachatwrapper (class in agentscope.models)": [[18, "agentscope.models.OllamaChatWrapper", false]], "ollamachatwrapper (class in agentscope.models.ollama_model)": [[24, "agentscope.models.ollama_model.OllamaChatWrapper", false]], "ollamaembeddingwrapper (class in agentscope.models)": [[18, "agentscope.models.OllamaEmbeddingWrapper", false]], "ollamaembeddingwrapper (class in agentscope.models.ollama_model)": [[24, "agentscope.models.ollama_model.OllamaEmbeddingWrapper", false]], "ollamagenerationwrapper (class in agentscope.models)": [[18, "agentscope.models.OllamaGenerationWrapper", false]], "ollamagenerationwrapper (class in agentscope.models.ollama_model)": [[24, "agentscope.models.ollama_model.OllamaGenerationWrapper", false]], "ollamawrapperbase (class in agentscope.models.ollama_model)": [[24, "agentscope.models.ollama_model.OllamaWrapperBase", false]], "openaichatwrapper (class in agentscope.models)": [[18, "agentscope.models.OpenAIChatWrapper", false]], "openaichatwrapper (class in agentscope.models.openai_model)": [[25, "agentscope.models.openai_model.OpenAIChatWrapper", false]], "openaidallewrapper (class in agentscope.models)": [[18, "agentscope.models.OpenAIDALLEWrapper", false]], "openaidallewrapper (class in agentscope.models.openai_model)": [[25, "agentscope.models.openai_model.OpenAIDALLEWrapper", false]], "openaiembeddingwrapper (class in agentscope.models)": [[18, "agentscope.models.OpenAIEmbeddingWrapper", false]], "openaiembeddingwrapper (class in agentscope.models.openai_model)": [[25, "agentscope.models.openai_model.OpenAIEmbeddingWrapper", false]], "openaiwrapperbase (class in agentscope.models)": [[18, "agentscope.models.OpenAIWrapperBase", false]], "openaiwrapperbase (class in agentscope.models.openai_model)": [[25, "agentscope.models.openai_model.OpenAIWrapperBase", false]], "operator (class in agentscope.agents)": [[1, "agentscope.agents.Operator", false]], "operator (class in agentscope.agents.operator)": [[5, "agentscope.agents.operator.Operator", false]], "options (agentscope.models.ollama_model.ollamachatwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaChatWrapper.options", false]], "options (agentscope.models.ollama_model.ollamaembeddingwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaEmbeddingWrapper.options", false]], "options (agentscope.models.ollama_model.ollamagenerationwrapper attribute)": [[24, "agentscope.models.ollama_model.OllamaGenerationWrapper.options", false]], "options (agentscope.models.ollama_model.ollamawrapperbase attribute)": [[24, "agentscope.models.ollama_model.OllamaWrapperBase.options", false]], "original_func (agentscope.service.service_toolkit.servicefunction attribute)": [[59, "agentscope.service.service_toolkit.ServiceFunction.original_func", false]], "parse() (agentscope.parsers.code_block_parser.markdowncodeblockparser method)": [[31, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.parse", false]], "parse() (agentscope.parsers.json_object_parser.markdownjsondictparser method)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.parse", false]], "parse() (agentscope.parsers.json_object_parser.markdownjsonobjectparser method)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.parse", false]], "parse() (agentscope.parsers.markdowncodeblockparser method)": [[30, "agentscope.parsers.MarkdownCodeBlockParser.parse", false]], "parse() (agentscope.parsers.markdownjsondictparser method)": [[30, "agentscope.parsers.MarkdownJsonDictParser.parse", false]], "parse() (agentscope.parsers.markdownjsonobjectparser method)": [[30, "agentscope.parsers.MarkdownJsonObjectParser.parse", false]], "parse() (agentscope.parsers.multitaggedcontentparser method)": [[30, "agentscope.parsers.MultiTaggedContentParser.parse", false]], "parse() (agentscope.parsers.parser_base.parserbase method)": [[33, "agentscope.parsers.parser_base.ParserBase.parse", false]], "parse() (agentscope.parsers.parserbase method)": [[30, "agentscope.parsers.ParserBase.parse", false]], "parse() (agentscope.parsers.tagged_content_parser.multitaggedcontentparser method)": [[34, "agentscope.parsers.tagged_content_parser.MultiTaggedContentParser.parse", false]], "parse_and_call_func() (agentscope.service.service_toolkit.servicetoolkit method)": [[59, "agentscope.service.service_toolkit.ServiceToolkit.parse_and_call_func", false]], "parse_and_call_func() (agentscope.service.servicetoolkit method)": [[46, "agentscope.service.ServiceToolkit.parse_and_call_func", false]], "parse_html_to_text() (in module agentscope.service)": [[46, "agentscope.service.parse_html_to_text", false]], "parse_html_to_text() (in module agentscope.service.web.web_digest)": [[71, "agentscope.service.web.web_digest.parse_html_to_text", false]], "parse_json (agentscope.parsers.tagged_content_parser.taggedcontent attribute)": [[34, "agentscope.parsers.tagged_content_parser.TaggedContent.parse_json", false]], "parse_json (agentscope.parsers.taggedcontent attribute)": [[30, "agentscope.parsers.TaggedContent.parse_json", false]], "parsed (agentscope.models.modelresponse attribute)": [[18, "agentscope.models.ModelResponse.parsed", false]], "parsed (agentscope.models.response.modelresponse attribute)": [[27, "agentscope.models.response.ModelResponse.parsed", false]], "parserbase (class in agentscope.parsers)": [[30, "agentscope.parsers.ParserBase", false]], "parserbase (class in agentscope.parsers.parser_base)": [[33, "agentscope.parsers.parser_base.ParserBase", false]], "pipeline (agentscope.web.workstation.workflow_node.workflownodetype attribute)": [[86, "agentscope.web.workstation.workflow_node.WorkflowNodeType.PIPELINE", false]], "pipelinebase (class in agentscope.pipelines)": [[35, "agentscope.pipelines.PipelineBase", false]], "pipelinebase (class in agentscope.pipelines.pipeline)": [[37, "agentscope.pipelines.pipeline.PipelineBase", false]], "placeholder() (in module agentscope.pipelines.functional)": [[36, "agentscope.pipelines.functional.placeholder", false]], "placeholder_attrs (agentscope.message.placeholdermessage attribute)": [[17, "agentscope.message.PlaceholderMessage.PLACEHOLDER_ATTRS", false]], "placeholdermessage (class in agentscope.message)": [[17, "agentscope.message.PlaceholderMessage", false]], "placeholdernode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.PlaceHolderNode", false]], "postapichatwrapper (class in agentscope.models)": [[18, "agentscope.models.PostAPIChatWrapper", false]], "postapichatwrapper (class in agentscope.models.post_model)": [[26, "agentscope.models.post_model.PostAPIChatWrapper", false]], "postapidallewrapper (class in agentscope.models.post_model)": [[26, "agentscope.models.post_model.PostAPIDALLEWrapper", false]], "postapiembeddingwrapper (class in agentscope.models.post_model)": [[26, "agentscope.models.post_model.PostAPIEmbeddingWrapper", false]], "postapimodelwrapperbase (class in agentscope.models)": [[18, "agentscope.models.PostAPIModelWrapperBase", false]], "postapimodelwrapperbase (class in agentscope.models.post_model)": [[26, "agentscope.models.post_model.PostAPIModelWrapperBase", false]], "process_messages() (agentscope.server.agentserverservicer method)": [[43, "agentscope.server.AgentServerServicer.process_messages", false]], "process_messages() (agentscope.server.servicer.agentserverservicer method)": [[45, "agentscope.server.servicer.AgentServerServicer.process_messages", false]], "processed_func (agentscope.service.service_toolkit.servicefunction attribute)": [[59, "agentscope.service.service_toolkit.ServiceFunction.processed_func", false]], "promptengine (class in agentscope.prompt)": [[38, "agentscope.prompt.PromptEngine", false]], "prompttype (class in agentscope.prompt)": [[38, "agentscope.prompt.PromptType", false]], "pythonservicenode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.PythonServiceNode", false]], "query_mongodb() (in module agentscope.service)": [[46, "agentscope.service.query_mongodb", false]], "query_mongodb() (in module agentscope.service.sql_query.mongodb)": [[61, "agentscope.service.sql_query.mongodb.query_mongodb", false]], "query_mysql() (in module agentscope.service)": [[46, "agentscope.service.query_mysql", false]], "query_mysql() (in module agentscope.service.sql_query.mysql)": [[62, "agentscope.service.sql_query.mysql.query_mysql", false]], "query_sqlite() (in module agentscope.service)": [[46, "agentscope.service.query_sqlite", false]], "query_sqlite() (in module agentscope.service.sql_query.sqlite)": [[63, "agentscope.service.sql_query.sqlite.query_sqlite", false]], "quotaexceedederror": [[73, "agentscope.utils.QuotaExceededError", false], [75, "agentscope.utils.monitor.QuotaExceededError", false]], "raw (agentscope.models.modelresponse attribute)": [[18, "agentscope.models.ModelResponse.raw", false]], "raw (agentscope.models.response.modelresponse attribute)": [[27, "agentscope.models.response.ModelResponse.raw", false]], "raw_response (agentscope.exception.responseparsingerror attribute)": [[11, "agentscope.exception.ResponseParsingError.raw_response", false]], "reactagent (class in agentscope.agents)": [[1, "agentscope.agents.ReActAgent", false]], "reactagent (class in agentscope.agents.react_agent)": [[6, "agentscope.agents.react_agent.ReActAgent", false]], "reactagentnode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.ReActAgentNode", false]], "read_json_file() (in module agentscope.service)": [[46, "agentscope.service.read_json_file", false]], "read_json_file() (in module agentscope.service.file.json)": [[52, "agentscope.service.file.json.read_json_file", false]], "read_model_configs() (in module agentscope.models)": [[18, "agentscope.models.read_model_configs", false]], "read_text_file() (in module agentscope.service)": [[46, "agentscope.service.read_text_file", false]], "read_text_file() (in module agentscope.service.file.text)": [[53, "agentscope.service.file.text.read_text_file", false]], "readtextservicenode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.ReadTextServiceNode", false]], "reform_dialogue() (in module agentscope.utils.tools)": [[77, "agentscope.utils.tools.reform_dialogue", false]], "register() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.register", false]], "register() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.register", false]], "register() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.register", false]], "register() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.register", false]], "register_agent_class() (agentscope.agents.agent.agentbase class method)": [[2, "agentscope.agents.agent.AgentBase.register_agent_class", false]], "register_agent_class() (agentscope.agents.agentbase class method)": [[1, "agentscope.agents.AgentBase.register_agent_class", false]], "register_budget() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.register_budget", false]], "register_budget() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.register_budget", false]], "register_budget() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.register_budget", false]], "register_budget() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.register_budget", false]], "remove() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.remove", false]], "remove() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.remove", false]], "remove() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.remove", false]], "remove() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.remove", false]], "remove_duplicates_from_end() (in module agentscope.web.workstation.workflow_dag)": [[85, "agentscope.web.workstation.workflow_dag.remove_duplicates_from_end", false]], "reply() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.reply", false]], "reply() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.reply", false]], "reply() (agentscope.agents.dialog_agent.dialogagent method)": [[3, "agentscope.agents.dialog_agent.DialogAgent.reply", false]], "reply() (agentscope.agents.dialogagent method)": [[1, "agentscope.agents.DialogAgent.reply", false]], "reply() (agentscope.agents.dict_dialog_agent.dictdialogagent method)": [[4, "agentscope.agents.dict_dialog_agent.DictDialogAgent.reply", false]], "reply() (agentscope.agents.dictdialogagent method)": [[1, "agentscope.agents.DictDialogAgent.reply", false]], "reply() (agentscope.agents.react_agent.reactagent method)": [[6, "agentscope.agents.react_agent.ReActAgent.reply", false]], "reply() (agentscope.agents.reactagent method)": [[1, "agentscope.agents.ReActAgent.reply", false]], "reply() (agentscope.agents.rpc_agent.rpcagent method)": [[7, "agentscope.agents.rpc_agent.RpcAgent.reply", false]], "reply() (agentscope.agents.rpcagent method)": [[1, "agentscope.agents.RpcAgent.reply", false]], "reply() (agentscope.agents.text_to_image_agent.texttoimageagent method)": [[8, "agentscope.agents.text_to_image_agent.TextToImageAgent.reply", false]], "reply() (agentscope.agents.texttoimageagent method)": [[1, "agentscope.agents.TextToImageAgent.reply", false]], "reply() (agentscope.agents.user_agent.useragent method)": [[9, "agentscope.agents.user_agent.UserAgent.reply", false]], "reply() (agentscope.agents.useragent method)": [[1, "agentscope.agents.UserAgent.reply", false]], "requests_get() (in module agentscope.utils.common)": [[74, "agentscope.utils.common.requests_get", false]], "require_args (agentscope.service.service_toolkit.servicefunction attribute)": [[59, "agentscope.service.service_toolkit.ServiceFunction.require_args", false]], "required_keys (agentscope.parsers.json_object_parser.markdownjsondictparser attribute)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.required_keys", false]], "required_keys (agentscope.parsers.markdownjsondictparser attribute)": [[30, "agentscope.parsers.MarkdownJsonDictParser.required_keys", false]], "requiredfieldnotfounderror": [[11, "agentscope.exception.RequiredFieldNotFoundError", false]], "reset_audience() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.reset_audience", false]], "reset_audience() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.reset_audience", false]], "reset_glb_var() (in module agentscope.web.gradio.studio)": [[81, "agentscope.web.gradio.studio.reset_glb_var", false]], "resetexception": [[82, "agentscope.web.gradio.utils.ResetException", false]], "responseformat (class in agentscope.constants)": [[10, "agentscope.constants.ResponseFormat", false]], "responseparsingerror": [[11, "agentscope.exception.ResponseParsingError", false]], "responsestub (class in agentscope.rpc)": [[39, "agentscope.rpc.ResponseStub", false]], "responsestub (class in agentscope.rpc.rpc_agent_client)": [[40, "agentscope.rpc.rpc_agent_client.ResponseStub", false]], "retrieve_by_embedding() (agentscope.memory.temporary_memory.temporarymemory method)": [[16, "agentscope.memory.temporary_memory.TemporaryMemory.retrieve_by_embedding", false]], "retrieve_by_embedding() (agentscope.memory.temporarymemory method)": [[14, "agentscope.memory.TemporaryMemory.retrieve_by_embedding", false]], "retrieve_from_list() (in module agentscope.service)": [[46, "agentscope.service.retrieve_from_list", false]], "retrieve_from_list() (in module agentscope.service.retrieval.retrieval_from_list)": [[55, "agentscope.service.retrieval.retrieval_from_list.retrieve_from_list", false]], "rm_audience() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.rm_audience", false]], "rm_audience() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.rm_audience", false]], "role (agentscope.message.msg attribute)": [[17, "agentscope.message.Msg.role", false]], "rpcagent (class in agentscope.agents)": [[1, "agentscope.agents.RpcAgent", false]], "rpcagent (class in agentscope.agents.rpc_agent)": [[7, "agentscope.agents.rpc_agent.RpcAgent", false]], "rpcagent (class in agentscope.rpc.rpc_agent_pb2_grpc)": [[42, "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgent", false]], "rpcagentclient (class in agentscope.rpc)": [[39, "agentscope.rpc.RpcAgentClient", false]], "rpcagentclient (class in agentscope.rpc.rpc_agent_client)": [[40, "agentscope.rpc.rpc_agent_client.RpcAgentClient", false]], "rpcagentserverlauncher (class in agentscope.server)": [[43, "agentscope.server.RpcAgentServerLauncher", false]], "rpcagentserverlauncher (class in agentscope.server.launcher)": [[44, "agentscope.server.launcher.RpcAgentServerLauncher", false]], "rpcagentservicer (class in agentscope.rpc)": [[39, "agentscope.rpc.RpcAgentServicer", false]], "rpcagentservicer (class in agentscope.rpc.rpc_agent_pb2_grpc)": [[42, "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgentServicer", false]], "rpcagentstub (class in agentscope.rpc)": [[39, "agentscope.rpc.RpcAgentStub", false]], "rpcagentstub (class in agentscope.rpc.rpc_agent_pb2_grpc)": [[42, "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgentStub", false]], "rpcmsg (class in agentscope.rpc)": [[39, "agentscope.rpc.RpcMsg", false]], "run() (agentscope.web.workstation.workflow_dag.asdigraph method)": [[85, "agentscope.web.workstation.workflow_dag.ASDiGraph.run", false]], "run_app() (in module agentscope.web.gradio.studio)": [[81, "agentscope.web.gradio.studio.run_app", false]], "sanitize_node_data() (in module agentscope.web.workstation.workflow_dag)": [[85, "agentscope.web.workstation.workflow_dag.sanitize_node_data", false]], "send_audio() (in module agentscope.web.gradio.studio)": [[81, "agentscope.web.gradio.studio.send_audio", false]], "send_image() (in module agentscope.web.gradio.studio)": [[81, "agentscope.web.gradio.studio.send_image", false]], "send_message() (in module agentscope.web.gradio.studio)": [[81, "agentscope.web.gradio.studio.send_message", false]], "send_msg() (in module agentscope.web.gradio.utils)": [[82, "agentscope.web.gradio.utils.send_msg", false]], "send_player_input() (in module agentscope.web.gradio.utils)": [[82, "agentscope.web.gradio.utils.send_player_input", false]], "send_reset_msg() (in module agentscope.web.gradio.utils)": [[82, "agentscope.web.gradio.utils.send_reset_msg", false]], "sequentialpipeline (class in agentscope.pipelines)": [[35, "agentscope.pipelines.SequentialPipeline", false]], "sequentialpipeline (class in agentscope.pipelines.pipeline)": [[37, "agentscope.pipelines.pipeline.SequentialPipeline", false]], "sequentialpipeline() (in module agentscope.pipelines)": [[35, "agentscope.pipelines.sequentialpipeline", false]], "sequentialpipeline() (in module agentscope.pipelines.functional)": [[36, "agentscope.pipelines.functional.sequentialpipeline", false]], "sequentialpipelinenode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.SequentialPipelineNode", false]], "serialize() (agentscope.message.messagebase method)": [[17, "agentscope.message.MessageBase.serialize", false]], "serialize() (agentscope.message.msg method)": [[17, "agentscope.message.Msg.serialize", false]], "serialize() (agentscope.message.placeholdermessage method)": [[17, "agentscope.message.PlaceholderMessage.serialize", false]], "serialize() (agentscope.message.tht method)": [[17, "agentscope.message.Tht.serialize", false]], "serialize() (in module agentscope.message)": [[17, "agentscope.message.serialize", false]], "service (agentscope.web.workstation.workflow_node.workflownodetype attribute)": [[86, "agentscope.web.workstation.workflow_node.WorkflowNodeType.SERVICE", false]], "service_funcs (agentscope.service.service_toolkit.servicetoolkit attribute)": [[59, "agentscope.service.service_toolkit.ServiceToolkit.service_funcs", false]], "service_funcs (agentscope.service.servicetoolkit attribute)": [[46, "agentscope.service.ServiceToolkit.service_funcs", false]], "serviceexecstatus (class in agentscope.service)": [[46, "agentscope.service.ServiceExecStatus", false]], "serviceexecstatus (class in agentscope.service.service_status)": [[58, "agentscope.service.service_status.ServiceExecStatus", false]], "servicefactory (class in agentscope.service)": [[46, "agentscope.service.ServiceFactory", false]], "servicefactory (class in agentscope.service.service_toolkit)": [[59, "agentscope.service.service_toolkit.ServiceFactory", false]], "servicefunction (class in agentscope.service.service_toolkit)": [[59, "agentscope.service.service_toolkit.ServiceFunction", false]], "serviceresponse (class in agentscope.service)": [[46, "agentscope.service.ServiceResponse", false]], "serviceresponse (class in agentscope.service.service_response)": [[57, "agentscope.service.service_response.ServiceResponse", false]], "servicetoolkit (class in agentscope.service)": [[46, "agentscope.service.ServiceToolkit", false]], "servicetoolkit (class in agentscope.service.service_toolkit)": [[59, "agentscope.service.service_toolkit.ServiceToolkit", false]], "set_parser() (agentscope.agents.dict_dialog_agent.dictdialogagent method)": [[4, "agentscope.agents.dict_dialog_agent.DictDialogAgent.set_parser", false]], "set_parser() (agentscope.agents.dictdialogagent method)": [[1, "agentscope.agents.DictDialogAgent.set_parser", false]], "set_quota() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.set_quota", false]], "set_quota() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.set_quota", false]], "set_quota() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.set_quota", false]], "set_quota() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.set_quota", false]], "set_response() (agentscope.rpc.responsestub method)": [[39, "agentscope.rpc.ResponseStub.set_response", false]], "set_response() (agentscope.rpc.rpc_agent_client.responsestub method)": [[40, "agentscope.rpc.rpc_agent_client.ResponseStub.set_response", false]], "setup_logger() (in module agentscope.logging)": [[13, "agentscope.logging.setup_logger", false]], "shrinkpolicy (class in agentscope.constants)": [[10, "agentscope.constants.ShrinkPolicy", false]], "shutdown() (agentscope.server.launcher.rpcagentserverlauncher method)": [[44, "agentscope.server.launcher.RpcAgentServerLauncher.shutdown", false]], "shutdown() (agentscope.server.rpcagentserverlauncher method)": [[43, "agentscope.server.RpcAgentServerLauncher.shutdown", false]], "size() (agentscope.memory.memory.memorybase method)": [[15, "agentscope.memory.memory.MemoryBase.size", false]], "size() (agentscope.memory.memorybase method)": [[14, "agentscope.memory.MemoryBase.size", false]], "size() (agentscope.memory.temporary_memory.temporarymemory method)": [[16, "agentscope.memory.temporary_memory.TemporaryMemory.size", false]], "size() (agentscope.memory.temporarymemory method)": [[14, "agentscope.memory.TemporaryMemory.size", false]], "speak() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.speak", false]], "speak() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.speak", false]], "speak() (agentscope.agents.user_agent.useragent method)": [[9, "agentscope.agents.user_agent.UserAgent.speak", false]], "speak() (agentscope.agents.useragent method)": [[1, "agentscope.agents.UserAgent.speak", false]], "sqlite_cursor() (in module agentscope.utils.monitor)": [[75, "agentscope.utils.monitor.sqlite_cursor", false]], "sqlite_transaction() (in module agentscope.utils.monitor)": [[75, "agentscope.utils.monitor.sqlite_transaction", false]], "sqlitemonitor (class in agentscope.utils.monitor)": [[75, "agentscope.utils.monitor.SqliteMonitor", false]], "start_workflow() (in module agentscope.web.workstation.workflow)": [[84, "agentscope.web.workstation.workflow.start_workflow", false]], "stop() (agentscope.agents.rpc_agent.rpcagent method)": [[7, "agentscope.agents.rpc_agent.RpcAgent.stop", false]], "stop() (agentscope.agents.rpcagent method)": [[1, "agentscope.agents.RpcAgent.stop", false]], "string (agentscope.prompt.prompttype attribute)": [[38, "agentscope.prompt.PromptType.STRING", false]], "studioerror": [[11, "agentscope.exception.StudioError", false]], "studioregistererror": [[11, "agentscope.exception.StudioRegisterError", false]], "substrings_in_vision_models_names (agentscope.models.openai_model.openaichatwrapper attribute)": [[25, "agentscope.models.openai_model.OpenAIChatWrapper.substrings_in_vision_models_names", false]], "substrings_in_vision_models_names (agentscope.models.openaichatwrapper attribute)": [[18, "agentscope.models.OpenAIChatWrapper.substrings_in_vision_models_names", false]], "success (agentscope.service.service_status.serviceexecstatus attribute)": [[58, "agentscope.service.service_status.ServiceExecStatus.SUCCESS", false]], "success (agentscope.service.serviceexecstatus attribute)": [[46, "agentscope.service.ServiceExecStatus.SUCCESS", false]], "summarization() (in module agentscope.service)": [[46, "agentscope.service.summarization", false]], "summarization() (in module agentscope.service.text_processing.summarization)": [[65, "agentscope.service.text_processing.summarization.summarization", false]], "summarize (agentscope.constants.shrinkpolicy attribute)": [[10, "agentscope.constants.ShrinkPolicy.SUMMARIZE", false]], "switchpipeline (class in agentscope.pipelines)": [[35, "agentscope.pipelines.SwitchPipeline", false]], "switchpipeline (class in agentscope.pipelines.pipeline)": [[37, "agentscope.pipelines.pipeline.SwitchPipeline", false]], "switchpipeline() (in module agentscope.pipelines)": [[35, "agentscope.pipelines.switchpipeline", false]], "switchpipeline() (in module agentscope.pipelines.functional)": [[36, "agentscope.pipelines.functional.switchpipeline", false]], "switchpipelinenode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.SwitchPipelineNode", false]], "sys_python_guard() (in module agentscope.service.execute_code.exec_python)": [[48, "agentscope.service.execute_code.exec_python.sys_python_guard", false]], "tag_begin (agentscope.parsers.code_block_parser.markdowncodeblockparser attribute)": [[31, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.tag_begin", false]], "tag_begin (agentscope.parsers.json_object_parser.markdownjsondictparser attribute)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.tag_begin", false]], "tag_begin (agentscope.parsers.json_object_parser.markdownjsonobjectparser attribute)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.tag_begin", false]], "tag_begin (agentscope.parsers.markdowncodeblockparser attribute)": [[30, "agentscope.parsers.MarkdownCodeBlockParser.tag_begin", false]], "tag_begin (agentscope.parsers.markdownjsondictparser attribute)": [[30, "agentscope.parsers.MarkdownJsonDictParser.tag_begin", false]], "tag_begin (agentscope.parsers.markdownjsonobjectparser attribute)": [[30, "agentscope.parsers.MarkdownJsonObjectParser.tag_begin", false]], "tag_begin (agentscope.parsers.tagged_content_parser.taggedcontent attribute)": [[34, "agentscope.parsers.tagged_content_parser.TaggedContent.tag_begin", false]], "tag_begin (agentscope.parsers.taggedcontent attribute)": [[30, "agentscope.parsers.TaggedContent.tag_begin", false]], "tag_end (agentscope.parsers.code_block_parser.markdowncodeblockparser attribute)": [[31, "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser.tag_end", false]], "tag_end (agentscope.parsers.json_object_parser.markdownjsondictparser attribute)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonDictParser.tag_end", false]], "tag_end (agentscope.parsers.json_object_parser.markdownjsonobjectparser attribute)": [[32, "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser.tag_end", false]], "tag_end (agentscope.parsers.markdowncodeblockparser attribute)": [[30, "agentscope.parsers.MarkdownCodeBlockParser.tag_end", false]], "tag_end (agentscope.parsers.markdownjsondictparser attribute)": [[30, "agentscope.parsers.MarkdownJsonDictParser.tag_end", false]], "tag_end (agentscope.parsers.markdownjsonobjectparser attribute)": [[30, "agentscope.parsers.MarkdownJsonObjectParser.tag_end", false]], "tag_end (agentscope.parsers.tagged_content_parser.taggedcontent attribute)": [[34, "agentscope.parsers.tagged_content_parser.TaggedContent.tag_end", false]], "tag_end (agentscope.parsers.taggedcontent attribute)": [[30, "agentscope.parsers.TaggedContent.tag_end", false]], "taggedcontent (class in agentscope.parsers)": [[30, "agentscope.parsers.TaggedContent", false]], "taggedcontent (class in agentscope.parsers.tagged_content_parser)": [[34, "agentscope.parsers.tagged_content_parser.TaggedContent", false]], "tagnotfounderror": [[11, "agentscope.exception.TagNotFoundError", false]], "temporarymemory (class in agentscope.memory)": [[14, "agentscope.memory.TemporaryMemory", false]], "temporarymemory (class in agentscope.memory.temporary_memory)": [[16, "agentscope.memory.temporary_memory.TemporaryMemory", false]], "text (agentscope.models.modelresponse attribute)": [[18, "agentscope.models.ModelResponse.text", false]], "text (agentscope.models.response.modelresponse attribute)": [[27, "agentscope.models.response.ModelResponse.text", false]], "texttoimageagent (class in agentscope.agents)": [[1, "agentscope.agents.TextToImageAgent", false]], "texttoimageagent (class in agentscope.agents.text_to_image_agent)": [[8, "agentscope.agents.text_to_image_agent.TextToImageAgent", false]], "texttoimageagentnode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.TextToImageAgentNode", false]], "tht (class in agentscope.message)": [[17, "agentscope.message.Tht", false]], "timer() (in module agentscope.utils.common)": [[74, "agentscope.utils.common.timer", false]], "timestamp (agentscope.message.msg attribute)": [[17, "agentscope.message.Msg.timestamp", false]], "to_content() (agentscope.parsers.parser_base.dictfiltermixin method)": [[33, "agentscope.parsers.parser_base.DictFilterMixin.to_content", false]], "to_dialog_str() (in module agentscope.utils.tools)": [[77, "agentscope.utils.tools.to_dialog_str", false]], "to_dist() (agentscope.agents.agent.agentbase method)": [[2, "agentscope.agents.agent.AgentBase.to_dist", false]], "to_dist() (agentscope.agents.agentbase method)": [[1, "agentscope.agents.AgentBase.to_dist", false]], "to_memory() (agentscope.parsers.parser_base.dictfiltermixin method)": [[33, "agentscope.parsers.parser_base.DictFilterMixin.to_memory", false]], "to_metadata() (agentscope.parsers.parser_base.dictfiltermixin method)": [[33, "agentscope.parsers.parser_base.DictFilterMixin.to_metadata", false]], "to_openai_dict() (in module agentscope.utils.tools)": [[77, "agentscope.utils.tools.to_openai_dict", false]], "to_str() (agentscope.message.messagebase method)": [[17, "agentscope.message.MessageBase.to_str", false]], "to_str() (agentscope.message.msg method)": [[17, "agentscope.message.Msg.to_str", false]], "to_str() (agentscope.message.placeholdermessage method)": [[17, "agentscope.message.PlaceholderMessage.to_str", false]], "to_str() (agentscope.message.tht method)": [[17, "agentscope.message.Tht.to_str", false]], "tools_calling_format (agentscope.service.service_toolkit.servicetoolkit property)": [[59, "agentscope.service.service_toolkit.ServiceToolkit.tools_calling_format", false]], "tools_calling_format (agentscope.service.servicetoolkit property)": [[46, "agentscope.service.ServiceToolkit.tools_calling_format", false]], "tools_instruction (agentscope.service.service_toolkit.servicetoolkit property)": [[59, "agentscope.service.service_toolkit.ServiceToolkit.tools_instruction", false]], "tools_instruction (agentscope.service.servicetoolkit property)": [[46, "agentscope.service.ServiceToolkit.tools_instruction", false]], "truncate (agentscope.constants.shrinkpolicy attribute)": [[10, "agentscope.constants.ShrinkPolicy.TRUNCATE", false]], "update() (agentscope.utils.monitor.dummymonitor method)": [[75, "agentscope.utils.monitor.DummyMonitor.update", false]], "update() (agentscope.utils.monitor.monitorbase method)": [[75, "agentscope.utils.monitor.MonitorBase.update", false]], "update() (agentscope.utils.monitor.sqlitemonitor method)": [[75, "agentscope.utils.monitor.SqliteMonitor.update", false]], "update() (agentscope.utils.monitorbase method)": [[73, "agentscope.utils.MonitorBase.update", false]], "update_config() (agentscope.memory.memory.memorybase method)": [[15, "agentscope.memory.memory.MemoryBase.update_config", false]], "update_config() (agentscope.memory.memorybase method)": [[14, "agentscope.memory.MemoryBase.update_config", false]], "update_monitor() (agentscope.models.model.modelwrapperbase method)": [[23, "agentscope.models.model.ModelWrapperBase.update_monitor", false]], "update_monitor() (agentscope.models.modelwrapperbase method)": [[18, "agentscope.models.ModelWrapperBase.update_monitor", false]], "update_value() (agentscope.message.placeholdermessage method)": [[17, "agentscope.message.PlaceholderMessage.update_value", false]], "url (agentscope.message.msg attribute)": [[17, "agentscope.message.Msg.url", false]], "user_input() (in module agentscope.web.gradio.utils)": [[82, "agentscope.web.gradio.utils.user_input", false]], "useragent (class in agentscope.agents)": [[1, "agentscope.agents.UserAgent", false]], "useragent (class in agentscope.agents.user_agent)": [[9, "agentscope.agents.user_agent.UserAgent", false]], "useragentnode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.UserAgentNode", false]], "wait_until_terminate() (agentscope.server.launcher.rpcagentserverlauncher method)": [[44, "agentscope.server.launcher.RpcAgentServerLauncher.wait_until_terminate", false]], "wait_until_terminate() (agentscope.server.rpcagentserverlauncher method)": [[43, "agentscope.server.RpcAgentServerLauncher.wait_until_terminate", false]], "whilelooppipeline (class in agentscope.pipelines)": [[35, "agentscope.pipelines.WhileLoopPipeline", false]], "whilelooppipeline (class in agentscope.pipelines.pipeline)": [[37, "agentscope.pipelines.pipeline.WhileLoopPipeline", false]], "whilelooppipeline() (in module agentscope.pipelines)": [[35, "agentscope.pipelines.whilelooppipeline", false]], "whilelooppipeline() (in module agentscope.pipelines.functional)": [[36, "agentscope.pipelines.functional.whilelooppipeline", false]], "whilelooppipelinenode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.WhileLoopPipelineNode", false]], "workflownode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.WorkflowNode", false]], "workflownodetype (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.WorkflowNodeType", false]], "write_file() (in module agentscope.utils.common)": [[74, "agentscope.utils.common.write_file", false]], "write_json_file() (in module agentscope.service)": [[46, "agentscope.service.write_json_file", false]], "write_json_file() (in module agentscope.service.file.json)": [[52, "agentscope.service.file.json.write_json_file", false]], "write_text_file() (in module agentscope.service)": [[46, "agentscope.service.write_text_file", false]], "write_text_file() (in module agentscope.service.file.text)": [[53, "agentscope.service.file.text.write_text_file", false]], "writetextservicenode (class in agentscope.web.workstation.workflow_node)": [[86, "agentscope.web.workstation.workflow_node.WriteTextServiceNode", false]], "zhipuaichatwrapper (class in agentscope.models)": [[18, "agentscope.models.ZhipuAIChatWrapper", false]], "zhipuaichatwrapper (class in agentscope.models.zhipu_model)": [[28, "agentscope.models.zhipu_model.ZhipuAIChatWrapper", false]], "zhipuaiembeddingwrapper (class in agentscope.models)": [[18, "agentscope.models.ZhipuAIEmbeddingWrapper", false]], "zhipuaiembeddingwrapper (class in agentscope.models.zhipu_model)": [[28, "agentscope.models.zhipu_model.ZhipuAIEmbeddingWrapper", false]], "zhipuaiwrapperbase (class in agentscope.models.zhipu_model)": [[28, "agentscope.models.zhipu_model.ZhipuAIWrapperBase", false]]}, "objects": {"": [[0, 0, 0, "-", "agentscope"]], "agentscope": [[1, 0, 0, "-", "agents"], [10, 0, 0, "-", "constants"], [11, 0, 0, "-", "exception"], [12, 0, 0, "-", "file_manager"], [0, 6, 1, "", "init"], [13, 0, 0, "-", "logging"], [14, 0, 0, "-", "memory"], [17, 0, 0, "-", "message"], [18, 0, 0, "-", "models"], [29, 0, 0, "-", "msghub"], [30, 0, 0, "-", "parsers"], [35, 0, 0, "-", "pipelines"], [38, 0, 0, "-", "prompt"], [39, 0, 0, "-", "rpc"], [43, 0, 0, "-", "server"], [46, 0, 0, "-", "service"], [72, 0, 0, "-", "studio"], [73, 0, 0, "-", "utils"], [78, 0, 0, "-", "web"]], "agentscope.agents": [[1, 1, 1, "", "AgentBase"], [1, 1, 1, "", "DialogAgent"], [1, 1, 1, "", "DictDialogAgent"], [1, 1, 1, "", "DistConf"], [1, 1, 1, "", "Operator"], [1, 1, 1, "", "ReActAgent"], [1, 1, 1, "", "RpcAgent"], [1, 1, 1, "", "TextToImageAgent"], [1, 1, 1, "", "UserAgent"], [2, 0, 0, "-", "agent"], [3, 0, 0, "-", "dialog_agent"], [4, 0, 0, "-", "dict_dialog_agent"], [5, 0, 0, "-", "operator"], [6, 0, 0, "-", "react_agent"], [7, 0, 0, "-", "rpc_agent"], [8, 0, 0, "-", "text_to_image_agent"], [9, 0, 0, "-", "user_agent"]], "agentscope.agents.AgentBase": [[1, 2, 1, "", "__init__"], [1, 3, 1, "", "agent_id"], [1, 2, 1, "", "clear_audience"], [1, 2, 1, "", "export_config"], [1, 2, 1, "", "generate_agent_id"], [1, 2, 1, "", "get_agent_class"], [1, 2, 1, "", "load_from_config"], [1, 2, 1, "", "load_memory"], [1, 2, 1, "", "observe"], [1, 2, 1, "", "register_agent_class"], [1, 2, 1, "", "reply"], [1, 2, 1, "", "reset_audience"], [1, 2, 1, "", "rm_audience"], [1, 2, 1, "", "speak"], [1, 2, 1, "", "to_dist"]], "agentscope.agents.DialogAgent": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "reply"]], "agentscope.agents.DictDialogAgent": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "reply"], [1, 2, 1, "", "set_parser"]], "agentscope.agents.DistConf": [[1, 2, 1, "", "__init__"]], "agentscope.agents.ReActAgent": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "reply"]], "agentscope.agents.RpcAgent": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "clone_instances"], [1, 2, 1, "", "observe"], [1, 2, 1, "", "reply"], [1, 2, 1, "", "stop"]], "agentscope.agents.TextToImageAgent": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "reply"]], "agentscope.agents.UserAgent": [[1, 2, 1, "", "__init__"], [1, 2, 1, "", "reply"], [1, 2, 1, "", "speak"]], "agentscope.agents.agent": [[2, 1, 1, "", "AgentBase"], [2, 1, 1, "", "DistConf"]], "agentscope.agents.agent.AgentBase": [[2, 2, 1, "", "__init__"], [2, 3, 1, "", "agent_id"], [2, 2, 1, "", "clear_audience"], [2, 2, 1, "", "export_config"], [2, 2, 1, "", "generate_agent_id"], [2, 2, 1, "", "get_agent_class"], [2, 2, 1, "", "load_from_config"], [2, 2, 1, "", "load_memory"], [2, 2, 1, "", "observe"], [2, 2, 1, "", "register_agent_class"], [2, 2, 1, "", "reply"], [2, 2, 1, "", "reset_audience"], [2, 2, 1, "", "rm_audience"], [2, 2, 1, "", "speak"], [2, 2, 1, "", "to_dist"]], "agentscope.agents.agent.DistConf": [[2, 2, 1, "", "__init__"]], "agentscope.agents.dialog_agent": [[3, 1, 1, "", "DialogAgent"]], "agentscope.agents.dialog_agent.DialogAgent": [[3, 2, 1, "", "__init__"], [3, 2, 1, "", "reply"]], "agentscope.agents.dict_dialog_agent": [[4, 1, 1, "", "DictDialogAgent"]], "agentscope.agents.dict_dialog_agent.DictDialogAgent": [[4, 2, 1, "", "__init__"], [4, 2, 1, "", "reply"], [4, 2, 1, "", "set_parser"]], "agentscope.agents.operator": [[5, 1, 1, "", "Operator"]], "agentscope.agents.react_agent": [[6, 1, 1, "", "ReActAgent"]], "agentscope.agents.react_agent.ReActAgent": [[6, 2, 1, "", "__init__"], [6, 2, 1, "", "reply"]], "agentscope.agents.rpc_agent": [[7, 1, 1, "", "RpcAgent"]], "agentscope.agents.rpc_agent.RpcAgent": [[7, 2, 1, "", "__init__"], [7, 2, 1, "", "clone_instances"], [7, 2, 1, "", "observe"], [7, 2, 1, "", "reply"], [7, 2, 1, "", "stop"]], "agentscope.agents.text_to_image_agent": [[8, 1, 1, "", "TextToImageAgent"]], "agentscope.agents.text_to_image_agent.TextToImageAgent": [[8, 2, 1, "", "__init__"], [8, 2, 1, "", "reply"]], "agentscope.agents.user_agent": [[9, 1, 1, "", "UserAgent"]], "agentscope.agents.user_agent.UserAgent": [[9, 2, 1, "", "__init__"], [9, 2, 1, "", "reply"], [9, 2, 1, "", "speak"]], "agentscope.constants": [[10, 1, 1, "", "ResponseFormat"], [10, 1, 1, "", "ShrinkPolicy"]], "agentscope.constants.ResponseFormat": [[10, 4, 1, "", "JSON"], [10, 4, 1, "", "NONE"]], "agentscope.constants.ShrinkPolicy": [[10, 4, 1, "", "SUMMARIZE"], [10, 4, 1, "", "TRUNCATE"]], "agentscope.exception": [[11, 5, 1, "", "ArgumentNotFoundError"], [11, 5, 1, "", "ArgumentTypeError"], [11, 5, 1, "", "FunctionCallError"], [11, 5, 1, "", "FunctionCallFormatError"], [11, 5, 1, "", "FunctionNotFoundError"], [11, 5, 1, "", "JsonDictValidationError"], [11, 5, 1, "", "JsonParsingError"], [11, 5, 1, "", "JsonTypeError"], [11, 5, 1, "", "RequiredFieldNotFoundError"], [11, 5, 1, "", "ResponseParsingError"], [11, 5, 1, "", "StudioError"], [11, 5, 1, "", "StudioRegisterError"], [11, 5, 1, "", "TagNotFoundError"]], "agentscope.exception.FunctionCallError": [[11, 2, 1, "", "__init__"]], "agentscope.exception.ResponseParsingError": [[11, 2, 1, "", "__init__"], [11, 4, 1, "", "raw_response"]], "agentscope.exception.StudioError": [[11, 2, 1, "", "__init__"]], "agentscope.exception.TagNotFoundError": [[11, 2, 1, "", "__init__"], [11, 4, 1, "", "missing_begin_tag"], [11, 4, 1, "", "missing_end_tag"]], "agentscope.logging": [[13, 6, 1, "", "log_studio"], [13, 6, 1, "", "setup_logger"]], "agentscope.memory": [[14, 1, 1, "", "MemoryBase"], [14, 1, 1, "", "TemporaryMemory"], [15, 0, 0, "-", "memory"], [16, 0, 0, "-", "temporary_memory"]], "agentscope.memory.MemoryBase": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "add"], [14, 2, 1, "", "clear"], [14, 2, 1, "", "delete"], [14, 2, 1, "", "export"], [14, 2, 1, "", "get_memory"], [14, 2, 1, "", "load"], [14, 2, 1, "", "size"], [14, 2, 1, "", "update_config"]], "agentscope.memory.TemporaryMemory": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "add"], [14, 2, 1, "", "clear"], [14, 2, 1, "", "delete"], [14, 2, 1, "", "export"], [14, 2, 1, "", "get_embeddings"], [14, 2, 1, "", "get_memory"], [14, 2, 1, "", "load"], [14, 2, 1, "", "retrieve_by_embedding"], [14, 2, 1, "", "size"]], "agentscope.memory.memory": [[15, 1, 1, "", "MemoryBase"]], "agentscope.memory.memory.MemoryBase": [[15, 2, 1, "", "__init__"], [15, 2, 1, "", "add"], [15, 2, 1, "", "clear"], [15, 2, 1, "", "delete"], [15, 2, 1, "", "export"], [15, 2, 1, "", "get_memory"], [15, 2, 1, "", "load"], [15, 2, 1, "", "size"], [15, 2, 1, "", "update_config"]], "agentscope.memory.temporary_memory": [[16, 1, 1, "", "TemporaryMemory"]], "agentscope.memory.temporary_memory.TemporaryMemory": [[16, 2, 1, "", "__init__"], [16, 2, 1, "", "add"], [16, 2, 1, "", "clear"], [16, 2, 1, "", "delete"], [16, 2, 1, "", "export"], [16, 2, 1, "", "get_embeddings"], [16, 2, 1, "", "get_memory"], [16, 2, 1, "", "load"], [16, 2, 1, "", "retrieve_by_embedding"], [16, 2, 1, "", "size"]], "agentscope.message": [[17, 1, 1, "", "MessageBase"], [17, 1, 1, "", "Msg"], [17, 1, 1, "", "PlaceholderMessage"], [17, 1, 1, "", "Tht"], [17, 6, 1, "", "deserialize"], [17, 6, 1, "", "serialize"]], "agentscope.message.MessageBase": [[17, 2, 1, "", "__init__"], [17, 2, 1, "", "serialize"], [17, 2, 1, "", "to_str"]], "agentscope.message.Msg": [[17, 2, 1, "", "__init__"], [17, 4, 1, "", "content"], [17, 4, 1, "", "id"], [17, 4, 1, "", "metadata"], [17, 4, 1, "", "name"], [17, 4, 1, "", "role"], [17, 2, 1, "", "serialize"], [17, 4, 1, "", "timestamp"], [17, 2, 1, "", "to_str"], [17, 4, 1, "", "url"]], "agentscope.message.PlaceholderMessage": [[17, 4, 1, "", "LOCAL_ATTRS"], [17, 4, 1, "", "PLACEHOLDER_ATTRS"], [17, 2, 1, "", "__init__"], [17, 2, 1, "", "serialize"], [17, 2, 1, "", "to_str"], [17, 2, 1, "", "update_value"]], "agentscope.message.Tht": [[17, 2, 1, "", "__init__"], [17, 2, 1, "", "serialize"], [17, 2, 1, "", "to_str"]], "agentscope.models": [[18, 1, 1, "", "DashScopeChatWrapper"], [18, 1, 1, "", "DashScopeImageSynthesisWrapper"], [18, 1, 1, "", "DashScopeMultiModalWrapper"], [18, 1, 1, "", "DashScopeTextEmbeddingWrapper"], [18, 1, 1, "", "GeminiChatWrapper"], [18, 1, 1, "", "GeminiEmbeddingWrapper"], [18, 1, 1, "", "LiteLLMChatWrapper"], [18, 1, 1, "", "ModelResponse"], [18, 1, 1, "", "ModelWrapperBase"], [18, 1, 1, "", "OllamaChatWrapper"], [18, 1, 1, "", "OllamaEmbeddingWrapper"], [18, 1, 1, "", "OllamaGenerationWrapper"], [18, 1, 1, "", "OpenAIChatWrapper"], [18, 1, 1, "", "OpenAIDALLEWrapper"], [18, 1, 1, "", "OpenAIEmbeddingWrapper"], [18, 1, 1, "", "OpenAIWrapperBase"], [18, 1, 1, "", "PostAPIChatWrapper"], [18, 1, 1, "", "PostAPIModelWrapperBase"], [18, 1, 1, "", "ZhipuAIChatWrapper"], [18, 1, 1, "", "ZhipuAIEmbeddingWrapper"], [18, 6, 1, "", "clear_model_configs"], [19, 0, 0, "-", "config"], [20, 0, 0, "-", "dashscope_model"], [21, 0, 0, "-", "gemini_model"], [22, 0, 0, "-", "litellm_model"], [18, 6, 1, "", "load_model_by_config_name"], [23, 0, 0, "-", "model"], [24, 0, 0, "-", "ollama_model"], [25, 0, 0, "-", "openai_model"], [26, 0, 0, "-", "post_model"], [18, 6, 1, "", "read_model_configs"], [27, 0, 0, "-", "response"], [28, 0, 0, "-", "zhipu_model"]], "agentscope.models.DashScopeChatWrapper": [[18, 4, 1, "", "deprecated_model_type"], [18, 2, 1, "", "format"], [18, 4, 1, "", "model_type"]], "agentscope.models.DashScopeImageSynthesisWrapper": [[18, 4, 1, "", "model_type"]], "agentscope.models.DashScopeMultiModalWrapper": [[18, 2, 1, "", "convert_url"], [18, 2, 1, "", "format"], [18, 4, 1, "", "model_type"]], "agentscope.models.DashScopeTextEmbeddingWrapper": [[18, 4, 1, "", "model_type"]], "agentscope.models.GeminiChatWrapper": [[18, 2, 1, "", "__init__"], [18, 2, 1, "", "format"], [18, 4, 1, "", "generation_method"], [18, 4, 1, "", "model_type"]], "agentscope.models.GeminiEmbeddingWrapper": [[18, 4, 1, "", "model_type"]], "agentscope.models.LiteLLMChatWrapper": [[18, 2, 1, "", "format"], [18, 4, 1, "", "model_type"]], "agentscope.models.ModelResponse": [[18, 2, 1, "", "__init__"], [18, 4, 1, "", "embedding"], [18, 4, 1, "", "image_urls"], [18, 4, 1, "", "parsed"], [18, 4, 1, "", "raw"], [18, 4, 1, "", "text"]], "agentscope.models.ModelWrapperBase": [[18, 2, 1, "", "__init__"], [18, 4, 1, "", "config_name"], [18, 2, 1, "", "format"], [18, 2, 1, "", "get_wrapper"], [18, 4, 1, "", "model_name"], [18, 4, 1, "", "model_type"], [18, 2, 1, "", "update_monitor"]], "agentscope.models.OllamaChatWrapper": [[18, 2, 1, "", "format"], [18, 4, 1, "", "model_type"]], "agentscope.models.OllamaEmbeddingWrapper": [[18, 2, 1, "", "format"], [18, 4, 1, "", "model_type"]], "agentscope.models.OllamaGenerationWrapper": [[18, 2, 1, "", "format"], [18, 4, 1, "", "model_type"]], "agentscope.models.OpenAIChatWrapper": [[18, 4, 1, "", "deprecated_model_type"], [18, 2, 1, "", "format"], [18, 4, 1, "", "model_type"], [18, 4, 1, "", "substrings_in_vision_models_names"]], "agentscope.models.OpenAIDALLEWrapper": [[18, 4, 1, "", "model_type"]], "agentscope.models.OpenAIEmbeddingWrapper": [[18, 4, 1, "", "model_type"]], "agentscope.models.OpenAIWrapperBase": [[18, 2, 1, "", "__init__"], [18, 2, 1, "", "format"]], "agentscope.models.PostAPIChatWrapper": [[18, 2, 1, "", "format"], [18, 4, 1, "", "model_type"]], "agentscope.models.PostAPIModelWrapperBase": [[18, 2, 1, "", "__init__"], [18, 4, 1, "", "model_type"]], "agentscope.models.ZhipuAIChatWrapper": [[18, 2, 1, "", "format"], [18, 4, 1, "", "model_type"]], "agentscope.models.ZhipuAIEmbeddingWrapper": [[18, 4, 1, "", "model_type"]], "agentscope.models.dashscope_model": [[20, 1, 1, "", "DashScopeChatWrapper"], [20, 1, 1, "", "DashScopeImageSynthesisWrapper"], [20, 1, 1, "", "DashScopeMultiModalWrapper"], [20, 1, 1, "", "DashScopeTextEmbeddingWrapper"], [20, 1, 1, "", "DashScopeWrapperBase"]], "agentscope.models.dashscope_model.DashScopeChatWrapper": [[20, 4, 1, "", "config_name"], [20, 4, 1, "", "deprecated_model_type"], [20, 2, 1, "", "format"], [20, 4, 1, "", "model_name"], [20, 4, 1, "", "model_type"]], "agentscope.models.dashscope_model.DashScopeImageSynthesisWrapper": [[20, 4, 1, "", "config_name"], [20, 4, 1, "", "model_name"], [20, 4, 1, "", "model_type"]], "agentscope.models.dashscope_model.DashScopeMultiModalWrapper": [[20, 4, 1, "", "config_name"], [20, 2, 1, "", "convert_url"], [20, 2, 1, "", "format"], [20, 4, 1, "", "model_name"], [20, 4, 1, "", "model_type"]], "agentscope.models.dashscope_model.DashScopeTextEmbeddingWrapper": [[20, 4, 1, "", "config_name"], [20, 4, 1, "", "model_name"], [20, 4, 1, "", "model_type"]], "agentscope.models.dashscope_model.DashScopeWrapperBase": [[20, 2, 1, "", "__init__"], [20, 2, 1, "", "format"]], "agentscope.models.gemini_model": [[21, 1, 1, "", "GeminiChatWrapper"], [21, 1, 1, "", "GeminiEmbeddingWrapper"], [21, 1, 1, "", "GeminiWrapperBase"]], "agentscope.models.gemini_model.GeminiChatWrapper": [[21, 2, 1, "", "__init__"], [21, 4, 1, "", "config_name"], [21, 2, 1, "", "format"], [21, 4, 1, "", "generation_method"], [21, 4, 1, "", "model_name"], [21, 4, 1, "", "model_type"]], "agentscope.models.gemini_model.GeminiEmbeddingWrapper": [[21, 4, 1, "", "config_name"], [21, 4, 1, "", "model_name"], [21, 4, 1, "", "model_type"]], "agentscope.models.gemini_model.GeminiWrapperBase": [[21, 2, 1, "", "__init__"], [21, 2, 1, "", "list_models"]], "agentscope.models.litellm_model": [[22, 1, 1, "", "LiteLLMChatWrapper"], [22, 1, 1, "", "LiteLLMWrapperBase"]], "agentscope.models.litellm_model.LiteLLMChatWrapper": [[22, 4, 1, "", "config_name"], [22, 2, 1, "", "format"], [22, 4, 1, "", "model_name"], [22, 4, 1, "", "model_type"]], "agentscope.models.litellm_model.LiteLLMWrapperBase": [[22, 2, 1, "", "__init__"], [22, 2, 1, "", "format"]], "agentscope.models.model": [[23, 1, 1, "", "ModelWrapperBase"]], "agentscope.models.model.ModelWrapperBase": [[23, 2, 1, "", "__init__"], [23, 4, 1, "", "config_name"], [23, 2, 1, "", "format"], [23, 2, 1, "", "get_wrapper"], [23, 4, 1, "", "model_name"], [23, 4, 1, "", "model_type"], [23, 2, 1, "", "update_monitor"]], "agentscope.models.ollama_model": [[24, 1, 1, "", "OllamaChatWrapper"], [24, 1, 1, "", "OllamaEmbeddingWrapper"], [24, 1, 1, "", "OllamaGenerationWrapper"], [24, 1, 1, "", "OllamaWrapperBase"]], "agentscope.models.ollama_model.OllamaChatWrapper": [[24, 4, 1, "", "config_name"], [24, 2, 1, "", "format"], [24, 4, 1, "", "keep_alive"], [24, 4, 1, "", "model_name"], [24, 4, 1, "", "model_type"], [24, 4, 1, "", "options"]], "agentscope.models.ollama_model.OllamaEmbeddingWrapper": [[24, 4, 1, "", "config_name"], [24, 2, 1, "", "format"], [24, 4, 1, "", "keep_alive"], [24, 4, 1, "", "model_name"], [24, 4, 1, "", "model_type"], [24, 4, 1, "", "options"]], "agentscope.models.ollama_model.OllamaGenerationWrapper": [[24, 4, 1, "", "config_name"], [24, 2, 1, "", "format"], [24, 4, 1, "", "keep_alive"], [24, 4, 1, "", "model_name"], [24, 4, 1, "", "model_type"], [24, 4, 1, "", "options"]], "agentscope.models.ollama_model.OllamaWrapperBase": [[24, 2, 1, "", "__init__"], [24, 4, 1, "", "keep_alive"], [24, 4, 1, "", "model_name"], [24, 4, 1, "", "model_type"], [24, 4, 1, "", "options"]], "agentscope.models.openai_model": [[25, 1, 1, "", "OpenAIChatWrapper"], [25, 1, 1, "", "OpenAIDALLEWrapper"], [25, 1, 1, "", "OpenAIEmbeddingWrapper"], [25, 1, 1, "", "OpenAIWrapperBase"]], "agentscope.models.openai_model.OpenAIChatWrapper": [[25, 4, 1, "", "config_name"], [25, 4, 1, "", "deprecated_model_type"], [25, 2, 1, "", "format"], [25, 4, 1, "", "model_name"], [25, 4, 1, "", "model_type"], [25, 4, 1, "", "substrings_in_vision_models_names"]], "agentscope.models.openai_model.OpenAIDALLEWrapper": [[25, 4, 1, "", "config_name"], [25, 4, 1, "", "model_name"], [25, 4, 1, "", "model_type"]], "agentscope.models.openai_model.OpenAIEmbeddingWrapper": [[25, 4, 1, "", "config_name"], [25, 4, 1, "", "model_name"], [25, 4, 1, "", "model_type"]], "agentscope.models.openai_model.OpenAIWrapperBase": [[25, 2, 1, "", "__init__"], [25, 2, 1, "", "format"]], "agentscope.models.post_model": [[26, 1, 1, "", "PostAPIChatWrapper"], [26, 1, 1, "", "PostAPIDALLEWrapper"], [26, 1, 1, "", "PostAPIEmbeddingWrapper"], [26, 1, 1, "", "PostAPIModelWrapperBase"]], "agentscope.models.post_model.PostAPIChatWrapper": [[26, 4, 1, "", "config_name"], [26, 2, 1, "", "format"], [26, 4, 1, "", "model_name"], [26, 4, 1, "", "model_type"]], "agentscope.models.post_model.PostAPIDALLEWrapper": [[26, 4, 1, "", "deprecated_model_type"], [26, 2, 1, "", "format"], [26, 4, 1, "", "model_type"]], "agentscope.models.post_model.PostAPIEmbeddingWrapper": [[26, 2, 1, "", "format"], [26, 4, 1, "", "model_type"]], "agentscope.models.post_model.PostAPIModelWrapperBase": [[26, 2, 1, "", "__init__"], [26, 4, 1, "", "config_name"], [26, 4, 1, "", "model_name"], [26, 4, 1, "", "model_type"]], "agentscope.models.response": [[27, 1, 1, "", "ModelResponse"]], "agentscope.models.response.ModelResponse": [[27, 2, 1, "", "__init__"], [27, 4, 1, "", "embedding"], [27, 4, 1, "", "image_urls"], [27, 4, 1, "", "parsed"], [27, 4, 1, "", "raw"], [27, 4, 1, "", "text"]], "agentscope.models.zhipu_model": [[28, 1, 1, "", "ZhipuAIChatWrapper"], [28, 1, 1, "", "ZhipuAIEmbeddingWrapper"], [28, 1, 1, "", "ZhipuAIWrapperBase"]], "agentscope.models.zhipu_model.ZhipuAIChatWrapper": [[28, 4, 1, "", "config_name"], [28, 2, 1, "", "format"], [28, 4, 1, "", "model_name"], [28, 4, 1, "", "model_type"]], "agentscope.models.zhipu_model.ZhipuAIEmbeddingWrapper": [[28, 4, 1, "", "config_name"], [28, 4, 1, "", "model_name"], [28, 4, 1, "", "model_type"]], "agentscope.models.zhipu_model.ZhipuAIWrapperBase": [[28, 2, 1, "", "__init__"], [28, 2, 1, "", "format"]], "agentscope.msghub": [[29, 1, 1, "", "MsgHubManager"], [29, 6, 1, "", "msghub"]], "agentscope.msghub.MsgHubManager": [[29, 2, 1, "", "__init__"], [29, 2, 1, "", "add"], [29, 2, 1, "", "broadcast"], [29, 2, 1, "", "delete"]], "agentscope.parsers": [[30, 1, 1, "", "MarkdownCodeBlockParser"], [30, 1, 1, "", "MarkdownJsonDictParser"], [30, 1, 1, "", "MarkdownJsonObjectParser"], [30, 1, 1, "", "MultiTaggedContentParser"], [30, 1, 1, "", "ParserBase"], [30, 1, 1, "", "TaggedContent"], [31, 0, 0, "-", "code_block_parser"], [32, 0, 0, "-", "json_object_parser"], [33, 0, 0, "-", "parser_base"], [34, 0, 0, "-", "tagged_content_parser"]], "agentscope.parsers.MarkdownCodeBlockParser": [[30, 2, 1, "", "__init__"], [30, 4, 1, "", "content_hint"], [30, 4, 1, "", "format_instruction"], [30, 4, 1, "", "name"], [30, 2, 1, "", "parse"], [30, 4, 1, "", "tag_begin"], [30, 4, 1, "", "tag_end"]], "agentscope.parsers.MarkdownJsonDictParser": [[30, 2, 1, "", "__init__"], [30, 4, 1, "", "content_hint"], [30, 3, 1, "", "format_instruction"], [30, 4, 1, "", "name"], [30, 2, 1, "", "parse"], [30, 4, 1, "", "required_keys"], [30, 4, 1, "", "tag_begin"], [30, 4, 1, "", "tag_end"]], "agentscope.parsers.MarkdownJsonObjectParser": [[30, 2, 1, "", "__init__"], [30, 4, 1, "", "content_hint"], [30, 3, 1, "", "format_instruction"], [30, 4, 1, "", "name"], [30, 2, 1, "", "parse"], [30, 4, 1, "", "tag_begin"], [30, 4, 1, "", "tag_end"]], "agentscope.parsers.MultiTaggedContentParser": [[30, 2, 1, "", "__init__"], [30, 4, 1, "", "format_instruction"], [30, 4, 1, "", "json_required_hint"], [30, 2, 1, "", "parse"]], "agentscope.parsers.ParserBase": [[30, 2, 1, "", "parse"]], "agentscope.parsers.TaggedContent": [[30, 2, 1, "", "__init__"], [30, 4, 1, "", "content_hint"], [30, 4, 1, "", "name"], [30, 4, 1, "", "parse_json"], [30, 4, 1, "", "tag_begin"], [30, 4, 1, "", "tag_end"]], "agentscope.parsers.code_block_parser": [[31, 1, 1, "", "MarkdownCodeBlockParser"]], "agentscope.parsers.code_block_parser.MarkdownCodeBlockParser": [[31, 2, 1, "", "__init__"], [31, 4, 1, "", "content_hint"], [31, 4, 1, "", "format_instruction"], [31, 4, 1, "", "name"], [31, 2, 1, "", "parse"], [31, 4, 1, "", "tag_begin"], [31, 4, 1, "", "tag_end"]], "agentscope.parsers.json_object_parser": [[32, 1, 1, "", "MarkdownJsonDictParser"], [32, 1, 1, "", "MarkdownJsonObjectParser"]], "agentscope.parsers.json_object_parser.MarkdownJsonDictParser": [[32, 2, 1, "", "__init__"], [32, 4, 1, "", "content_hint"], [32, 3, 1, "", "format_instruction"], [32, 4, 1, "", "name"], [32, 2, 1, "", "parse"], [32, 4, 1, "", "required_keys"], [32, 4, 1, "", "tag_begin"], [32, 4, 1, "", "tag_end"]], "agentscope.parsers.json_object_parser.MarkdownJsonObjectParser": [[32, 2, 1, "", "__init__"], [32, 4, 1, "", "content_hint"], [32, 3, 1, "", "format_instruction"], [32, 4, 1, "", "name"], [32, 2, 1, "", "parse"], [32, 4, 1, "", "tag_begin"], [32, 4, 1, "", "tag_end"]], "agentscope.parsers.parser_base": [[33, 1, 1, "", "DictFilterMixin"], [33, 1, 1, "", "ParserBase"]], "agentscope.parsers.parser_base.DictFilterMixin": [[33, 2, 1, "", "__init__"], [33, 2, 1, "", "to_content"], [33, 2, 1, "", "to_memory"], [33, 2, 1, "", "to_metadata"]], "agentscope.parsers.parser_base.ParserBase": [[33, 2, 1, "", "parse"]], "agentscope.parsers.tagged_content_parser": [[34, 1, 1, "", "MultiTaggedContentParser"], [34, 1, 1, "", "TaggedContent"]], "agentscope.parsers.tagged_content_parser.MultiTaggedContentParser": [[34, 2, 1, "", "__init__"], [34, 4, 1, "", "format_instruction"], [34, 4, 1, "", "json_required_hint"], [34, 2, 1, "", "parse"]], "agentscope.parsers.tagged_content_parser.TaggedContent": [[34, 2, 1, "", "__init__"], [34, 4, 1, "", "content_hint"], [34, 4, 1, "", "name"], [34, 4, 1, "", "parse_json"], [34, 4, 1, "", "tag_begin"], [34, 4, 1, "", "tag_end"]], "agentscope.pipelines": [[35, 1, 1, "", "ForLoopPipeline"], [35, 1, 1, "", "IfElsePipeline"], [35, 1, 1, "", "PipelineBase"], [35, 1, 1, "", "SequentialPipeline"], [35, 1, 1, "", "SwitchPipeline"], [35, 1, 1, "", "WhileLoopPipeline"], [35, 6, 1, "", "forlooppipeline"], [36, 0, 0, "-", "functional"], [35, 6, 1, "", "ifelsepipeline"], [37, 0, 0, "-", "pipeline"], [35, 6, 1, "", "sequentialpipeline"], [35, 6, 1, "", "switchpipeline"], [35, 6, 1, "", "whilelooppipeline"]], "agentscope.pipelines.ForLoopPipeline": [[35, 2, 1, "", "__init__"]], "agentscope.pipelines.IfElsePipeline": [[35, 2, 1, "", "__init__"]], "agentscope.pipelines.PipelineBase": [[35, 2, 1, "", "__init__"]], "agentscope.pipelines.SequentialPipeline": [[35, 2, 1, "", "__init__"]], "agentscope.pipelines.SwitchPipeline": [[35, 2, 1, "", "__init__"]], "agentscope.pipelines.WhileLoopPipeline": [[35, 2, 1, "", "__init__"]], "agentscope.pipelines.functional": [[36, 6, 1, "", "forlooppipeline"], [36, 6, 1, "", "ifelsepipeline"], [36, 6, 1, "", "placeholder"], [36, 6, 1, "", "sequentialpipeline"], [36, 6, 1, "", "switchpipeline"], [36, 6, 1, "", "whilelooppipeline"]], "agentscope.pipelines.pipeline": [[37, 1, 1, "", "ForLoopPipeline"], [37, 1, 1, "", "IfElsePipeline"], [37, 1, 1, "", "PipelineBase"], [37, 1, 1, "", "SequentialPipeline"], [37, 1, 1, "", "SwitchPipeline"], [37, 1, 1, "", "WhileLoopPipeline"]], "agentscope.pipelines.pipeline.ForLoopPipeline": [[37, 2, 1, "", "__init__"]], "agentscope.pipelines.pipeline.IfElsePipeline": [[37, 2, 1, "", "__init__"]], "agentscope.pipelines.pipeline.PipelineBase": [[37, 2, 1, "", "__init__"]], "agentscope.pipelines.pipeline.SequentialPipeline": [[37, 2, 1, "", "__init__"]], "agentscope.pipelines.pipeline.SwitchPipeline": [[37, 2, 1, "", "__init__"]], "agentscope.pipelines.pipeline.WhileLoopPipeline": [[37, 2, 1, "", "__init__"]], "agentscope.prompt": [[38, 1, 1, "", "PromptEngine"], [38, 1, 1, "", "PromptType"]], "agentscope.prompt.PromptEngine": [[38, 2, 1, "", "__init__"], [38, 2, 1, "", "join"], [38, 2, 1, "", "join_to_list"], [38, 2, 1, "", "join_to_str"]], "agentscope.prompt.PromptType": [[38, 4, 1, "", "LIST"], [38, 4, 1, "", "STRING"]], "agentscope.rpc": [[39, 1, 1, "", "ResponseStub"], [39, 1, 1, "", "RpcAgentClient"], [39, 1, 1, "", "RpcAgentServicer"], [39, 1, 1, "", "RpcAgentStub"], [39, 1, 1, "", "RpcMsg"], [39, 6, 1, "", "add_RpcAgentServicer_to_server"], [39, 6, 1, "", "call_in_thread"], [40, 0, 0, "-", "rpc_agent_client"], [41, 0, 0, "-", "rpc_agent_pb2"], [42, 0, 0, "-", "rpc_agent_pb2_grpc"]], "agentscope.rpc.ResponseStub": [[39, 2, 1, "", "__init__"], [39, 2, 1, "", "get_response"], [39, 2, 1, "", "set_response"]], "agentscope.rpc.RpcAgentClient": [[39, 2, 1, "", "__init__"], [39, 2, 1, "", "call_func"], [39, 2, 1, "", "create_agent"], [39, 2, 1, "", "delete_agent"]], "agentscope.rpc.RpcAgentServicer": [[39, 2, 1, "", "call_func"]], "agentscope.rpc.RpcAgentStub": [[39, 2, 1, "", "__init__"]], "agentscope.rpc.RpcMsg": [[39, 4, 1, "", "DESCRIPTOR"]], "agentscope.rpc.rpc_agent_client": [[40, 1, 1, "", "ResponseStub"], [40, 1, 1, "", "RpcAgentClient"], [40, 6, 1, "", "call_in_thread"]], "agentscope.rpc.rpc_agent_client.ResponseStub": [[40, 2, 1, "", "__init__"], [40, 2, 1, "", "get_response"], [40, 2, 1, "", "set_response"]], "agentscope.rpc.rpc_agent_client.RpcAgentClient": [[40, 2, 1, "", "__init__"], [40, 2, 1, "", "call_func"], [40, 2, 1, "", "create_agent"], [40, 2, 1, "", "delete_agent"]], "agentscope.rpc.rpc_agent_pb2_grpc": [[42, 1, 1, "", "RpcAgent"], [42, 1, 1, "", "RpcAgentServicer"], [42, 1, 1, "", "RpcAgentStub"], [42, 6, 1, "", "add_RpcAgentServicer_to_server"]], "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgent": [[42, 2, 1, "", "call_func"]], "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgentServicer": [[42, 2, 1, "", "call_func"]], "agentscope.rpc.rpc_agent_pb2_grpc.RpcAgentStub": [[42, 2, 1, "", "__init__"]], "agentscope.server": [[43, 1, 1, "", "AgentServerServicer"], [43, 1, 1, "", "RpcAgentServerLauncher"], [43, 6, 1, "", "as_server"], [44, 0, 0, "-", "launcher"], [45, 0, 0, "-", "servicer"]], "agentscope.server.AgentServerServicer": [[43, 2, 1, "", "__init__"], [43, 2, 1, "", "agent_exists"], [43, 2, 1, "", "call_func"], [43, 2, 1, "", "check_and_delete_agent"], [43, 2, 1, "", "check_and_generate_agent"], [43, 2, 1, "", "get_task_id"], [43, 2, 1, "", "process_messages"]], "agentscope.server.RpcAgentServerLauncher": [[43, 2, 1, "", "__init__"], [43, 2, 1, "", "generate_server_id"], [43, 2, 1, "", "launch"], [43, 2, 1, "", "shutdown"], [43, 2, 1, "", "wait_until_terminate"]], "agentscope.server.launcher": [[44, 1, 1, "", "RpcAgentServerLauncher"], [44, 6, 1, "", "as_server"]], "agentscope.server.launcher.RpcAgentServerLauncher": [[44, 2, 1, "", "__init__"], [44, 2, 1, "", "generate_server_id"], [44, 2, 1, "", "launch"], [44, 2, 1, "", "shutdown"], [44, 2, 1, "", "wait_until_terminate"]], "agentscope.server.servicer": [[45, 1, 1, "", "AgentServerServicer"]], "agentscope.server.servicer.AgentServerServicer": [[45, 2, 1, "", "__init__"], [45, 2, 1, "", "agent_exists"], [45, 2, 1, "", "call_func"], [45, 2, 1, "", "check_and_delete_agent"], [45, 2, 1, "", "check_and_generate_agent"], [45, 2, 1, "", "get_task_id"], [45, 2, 1, "", "process_messages"]], "agentscope.service": [[46, 1, 1, "", "ServiceExecStatus"], [46, 1, 1, "", "ServiceFactory"], [46, 1, 1, "", "ServiceResponse"], [46, 1, 1, "", "ServiceToolkit"], [46, 6, 1, "", "arxiv_search"], [46, 6, 1, "", "bing_search"], [46, 6, 1, "", "cos_sim"], [46, 6, 1, "", "create_directory"], [46, 6, 1, "", "create_file"], [46, 6, 1, "", "dashscope_image_to_text"], [46, 6, 1, "", "dashscope_text_to_audio"], [46, 6, 1, "", "dashscope_text_to_image"], [46, 6, 1, "", "dblp_search_authors"], [46, 6, 1, "", "dblp_search_publications"], [46, 6, 1, "", "dblp_search_venues"], [46, 6, 1, "", "delete_directory"], [46, 6, 1, "", "delete_file"], [46, 6, 1, "", "digest_webpage"], [46, 6, 1, "", "download_from_url"], [47, 0, 0, "-", "execute_code"], [46, 6, 1, "", "execute_python_code"], [46, 6, 1, "", "execute_shell_command"], [50, 0, 0, "-", "file"], [46, 6, 1, "", "get_current_directory"], [46, 6, 1, "", "get_help"], [46, 6, 1, "", "google_search"], [46, 6, 1, "", "list_directory_content"], [46, 6, 1, "", "load_web"], [46, 6, 1, "", "move_directory"], [46, 6, 1, "", "move_file"], [46, 6, 1, "", "parse_html_to_text"], [46, 6, 1, "", "query_mongodb"], [46, 6, 1, "", "query_mysql"], [46, 6, 1, "", "query_sqlite"], [46, 6, 1, "", "read_json_file"], [46, 6, 1, "", "read_text_file"], [54, 0, 0, "-", "retrieval"], [46, 6, 1, "", "retrieve_from_list"], [57, 0, 0, "-", "service_response"], [58, 0, 0, "-", "service_status"], [59, 0, 0, "-", "service_toolkit"], [60, 0, 0, "-", "sql_query"], [46, 6, 1, "", "summarization"], [64, 0, 0, "-", "text_processing"], [66, 0, 0, "-", "web"], [46, 6, 1, "", "write_json_file"], [46, 6, 1, "", "write_text_file"]], "agentscope.service.ServiceExecStatus": [[46, 4, 1, "", "ERROR"], [46, 4, 1, "", "SUCCESS"]], "agentscope.service.ServiceFactory": [[46, 2, 1, "", "get"]], "agentscope.service.ServiceResponse": [[46, 2, 1, "", "__init__"]], "agentscope.service.ServiceToolkit": [[46, 2, 1, "", "__init__"], [46, 2, 1, "", "add"], [46, 2, 1, "", "get"], [46, 3, 1, "", "json_schemas"], [46, 2, 1, "", "parse_and_call_func"], [46, 4, 1, "", "service_funcs"], [46, 3, 1, "", "tools_calling_format"], [46, 3, 1, "", "tools_instruction"]], "agentscope.service.execute_code": [[48, 0, 0, "-", "exec_python"], [49, 0, 0, "-", "exec_shell"]], "agentscope.service.execute_code.exec_python": [[48, 6, 1, "", "execute_python_code"], [48, 6, 1, "", "sys_python_guard"]], "agentscope.service.execute_code.exec_shell": [[49, 6, 1, "", "execute_shell_command"]], "agentscope.service.file": [[51, 0, 0, "-", "common"], [52, 0, 0, "-", "json"], [53, 0, 0, "-", "text"]], "agentscope.service.file.common": [[51, 6, 1, "", "create_directory"], [51, 6, 1, "", "create_file"], [51, 6, 1, "", "delete_directory"], [51, 6, 1, "", "delete_file"], [51, 6, 1, "", "get_current_directory"], [51, 6, 1, "", "list_directory_content"], [51, 6, 1, "", "move_directory"], [51, 6, 1, "", "move_file"]], "agentscope.service.file.json": [[52, 6, 1, "", "read_json_file"], [52, 6, 1, "", "write_json_file"]], "agentscope.service.file.text": [[53, 6, 1, "", "read_text_file"], [53, 6, 1, "", "write_text_file"]], "agentscope.service.retrieval": [[55, 0, 0, "-", "retrieval_from_list"], [56, 0, 0, "-", "similarity"]], "agentscope.service.retrieval.retrieval_from_list": [[55, 6, 1, "", "retrieve_from_list"]], "agentscope.service.retrieval.similarity": [[56, 6, 1, "", "cos_sim"]], "agentscope.service.service_response": [[57, 1, 1, "", "ServiceResponse"]], "agentscope.service.service_response.ServiceResponse": [[57, 2, 1, "", "__init__"]], "agentscope.service.service_status": [[58, 1, 1, "", "ServiceExecStatus"]], "agentscope.service.service_status.ServiceExecStatus": [[58, 4, 1, "", "ERROR"], [58, 4, 1, "", "SUCCESS"]], "agentscope.service.service_toolkit": [[59, 1, 1, "", "ServiceFactory"], [59, 1, 1, "", "ServiceFunction"], [59, 1, 1, "", "ServiceToolkit"]], "agentscope.service.service_toolkit.ServiceFactory": [[59, 2, 1, "", "get"]], "agentscope.service.service_toolkit.ServiceFunction": [[59, 2, 1, "", "__init__"], [59, 4, 1, "", "json_schema"], [59, 4, 1, "", "name"], [59, 4, 1, "", "original_func"], [59, 4, 1, "", "processed_func"], [59, 4, 1, "", "require_args"]], "agentscope.service.service_toolkit.ServiceToolkit": [[59, 2, 1, "", "__init__"], [59, 2, 1, "", "add"], [59, 2, 1, "", "get"], [59, 3, 1, "", "json_schemas"], [59, 2, 1, "", "parse_and_call_func"], [59, 4, 1, "", "service_funcs"], [59, 3, 1, "", "tools_calling_format"], [59, 3, 1, "", "tools_instruction"]], "agentscope.service.sql_query": [[61, 0, 0, "-", "mongodb"], [62, 0, 0, "-", "mysql"], [63, 0, 0, "-", "sqlite"]], "agentscope.service.sql_query.mongodb": [[61, 6, 1, "", "query_mongodb"]], "agentscope.service.sql_query.mysql": [[62, 6, 1, "", "query_mysql"]], "agentscope.service.sql_query.sqlite": [[63, 6, 1, "", "query_sqlite"]], "agentscope.service.text_processing": [[65, 0, 0, "-", "summarization"]], "agentscope.service.text_processing.summarization": [[65, 6, 1, "", "summarization"]], "agentscope.service.web": [[67, 0, 0, "-", "arxiv"], [68, 0, 0, "-", "dblp"], [69, 0, 0, "-", "download"], [70, 0, 0, "-", "search"], [71, 0, 0, "-", "web_digest"]], "agentscope.service.web.arxiv": [[67, 6, 1, "", "arxiv_search"]], "agentscope.service.web.dblp": [[68, 6, 1, "", "dblp_search_authors"], [68, 6, 1, "", "dblp_search_publications"], [68, 6, 1, "", "dblp_search_venues"]], "agentscope.service.web.download": [[69, 6, 1, "", "download_from_url"]], "agentscope.service.web.search": [[70, 6, 1, "", "bing_search"], [70, 6, 1, "", "google_search"]], "agentscope.service.web.web_digest": [[71, 6, 1, "", "digest_webpage"], [71, 6, 1, "", "is_valid_url"], [71, 6, 1, "", "load_web"], [71, 6, 1, "", "parse_html_to_text"]], "agentscope.studio": [[72, 6, 1, "", "init"]], "agentscope.utils": [[73, 1, 1, "", "MonitorBase"], [73, 1, 1, "", "MonitorFactory"], [73, 5, 1, "", "QuotaExceededError"], [74, 0, 0, "-", "common"], [75, 0, 0, "-", "monitor"], [76, 0, 0, "-", "token_utils"], [77, 0, 0, "-", "tools"]], "agentscope.utils.MonitorBase": [[73, 2, 1, "", "add"], [73, 2, 1, "", "clear"], [73, 2, 1, "", "exists"], [73, 2, 1, "", "get_metric"], [73, 2, 1, "", "get_metrics"], [73, 2, 1, "", "get_quota"], [73, 2, 1, "", "get_unit"], [73, 2, 1, "", "get_value"], [73, 2, 1, "", "register"], [73, 2, 1, "", "register_budget"], [73, 2, 1, "", "remove"], [73, 2, 1, "", "set_quota"], [73, 2, 1, "", "update"]], "agentscope.utils.MonitorFactory": [[73, 2, 1, "", "flush"], [73, 2, 1, "", "get_monitor"]], "agentscope.utils.QuotaExceededError": [[73, 2, 1, "", "__init__"]], "agentscope.utils.common": [[74, 6, 1, "", "chdir"], [74, 6, 1, "", "create_tempdir"], [74, 6, 1, "", "requests_get"], [74, 6, 1, "", "timer"], [74, 6, 1, "", "write_file"]], "agentscope.utils.monitor": [[75, 1, 1, "", "DummyMonitor"], [75, 1, 1, "", "MonitorBase"], [75, 1, 1, "", "MonitorFactory"], [75, 5, 1, "", "QuotaExceededError"], [75, 1, 1, "", "SqliteMonitor"], [75, 6, 1, "", "get_full_name"], [75, 6, 1, "", "sqlite_cursor"], [75, 6, 1, "", "sqlite_transaction"]], "agentscope.utils.monitor.DummyMonitor": [[75, 2, 1, "", "add"], [75, 2, 1, "", "clear"], [75, 2, 1, "", "exists"], [75, 2, 1, "", "get_metric"], [75, 2, 1, "", "get_metrics"], [75, 2, 1, "", "get_quota"], [75, 2, 1, "", "get_unit"], [75, 2, 1, "", "get_value"], [75, 2, 1, "", "register"], [75, 2, 1, "", "register_budget"], [75, 2, 1, "", "remove"], [75, 2, 1, "", "set_quota"], [75, 2, 1, "", "update"]], "agentscope.utils.monitor.MonitorBase": [[75, 2, 1, "", "add"], [75, 2, 1, "", "clear"], [75, 2, 1, "", "exists"], [75, 2, 1, "", "get_metric"], [75, 2, 1, "", "get_metrics"], [75, 2, 1, "", "get_quota"], [75, 2, 1, "", "get_unit"], [75, 2, 1, "", "get_value"], [75, 2, 1, "", "register"], [75, 2, 1, "", "register_budget"], [75, 2, 1, "", "remove"], [75, 2, 1, "", "set_quota"], [75, 2, 1, "", "update"]], "agentscope.utils.monitor.MonitorFactory": [[75, 2, 1, "", "flush"], [75, 2, 1, "", "get_monitor"]], "agentscope.utils.monitor.QuotaExceededError": [[75, 2, 1, "", "__init__"]], "agentscope.utils.monitor.SqliteMonitor": [[75, 2, 1, "", "__init__"], [75, 2, 1, "", "add"], [75, 2, 1, "", "clear"], [75, 2, 1, "", "exists"], [75, 2, 1, "", "get_metric"], [75, 2, 1, "", "get_metrics"], [75, 2, 1, "", "get_quota"], [75, 2, 1, "", "get_unit"], [75, 2, 1, "", "get_value"], [75, 2, 1, "", "register"], [75, 2, 1, "", "register_budget"], [75, 2, 1, "", "remove"], [75, 2, 1, "", "set_quota"], [75, 2, 1, "", "update"]], "agentscope.utils.token_utils": [[76, 6, 1, "", "count_openai_token"], [76, 6, 1, "", "get_openai_max_length"], [76, 6, 1, "", "num_tokens_from_content"]], "agentscope.utils.tools": [[77, 1, 1, "", "ImportErrorReporter"], [77, 6, 1, "", "check_port"], [77, 6, 1, "", "find_available_port"], [77, 6, 1, "", "generate_id_from_seed"], [77, 6, 1, "", "reform_dialogue"], [77, 6, 1, "", "to_dialog_str"], [77, 6, 1, "", "to_openai_dict"]], "agentscope.utils.tools.ImportErrorReporter": [[77, 2, 1, "", "__init__"]], "agentscope.web": [[79, 0, 0, "-", "gradio"], [83, 0, 0, "-", "workstation"]], "agentscope.web.gradio": [[80, 0, 0, "-", "constants"], [81, 0, 0, "-", "studio"], [82, 0, 0, "-", "utils"]], "agentscope.web.gradio.studio": [[81, 6, 1, "", "fn_choice"], [81, 6, 1, "", "get_chat"], [81, 6, 1, "", "import_function_from_path"], [81, 6, 1, "", "init_uid_list"], [81, 6, 1, "", "reset_glb_var"], [81, 6, 1, "", "run_app"], [81, 6, 1, "", "send_audio"], [81, 6, 1, "", "send_image"], [81, 6, 1, "", "send_message"]], "agentscope.web.gradio.utils": [[82, 5, 1, "", "ResetException"], [82, 6, 1, "", "audio2text"], [82, 6, 1, "", "check_uuid"], [82, 6, 1, "", "cycle_dots"], [82, 6, 1, "", "generate_image_from_name"], [82, 6, 1, "", "get_chat_msg"], [82, 6, 1, "", "get_player_input"], [82, 6, 1, "", "get_reset_msg"], [82, 6, 1, "", "init_uid_queues"], [82, 6, 1, "", "send_msg"], [82, 6, 1, "", "send_player_input"], [82, 6, 1, "", "send_reset_msg"], [82, 6, 1, "", "user_input"]], "agentscope.web.workstation": [[84, 0, 0, "-", "workflow"], [85, 0, 0, "-", "workflow_dag"], [86, 0, 0, "-", "workflow_node"], [87, 0, 0, "-", "workflow_utils"]], "agentscope.web.workstation.workflow": [[84, 6, 1, "", "compile_workflow"], [84, 6, 1, "", "load_config"], [84, 6, 1, "", "main"], [84, 6, 1, "", "start_workflow"]], "agentscope.web.workstation.workflow_dag": [[85, 1, 1, "", "ASDiGraph"], [85, 6, 1, "", "build_dag"], [85, 6, 1, "", "remove_duplicates_from_end"], [85, 6, 1, "", "sanitize_node_data"]], "agentscope.web.workstation.workflow_dag.ASDiGraph": [[85, 2, 1, "", "__init__"], [85, 2, 1, "", "add_as_node"], [85, 2, 1, "", "compile"], [85, 2, 1, "", "exec_node"], [85, 4, 1, "", "nodes_not_in_graph"], [85, 2, 1, "", "run"]], "agentscope.web.workstation.workflow_node": [[86, 1, 1, "", "BingSearchServiceNode"], [86, 1, 1, "", "CopyNode"], [86, 1, 1, "", "DialogAgentNode"], [86, 1, 1, "", "DictDialogAgentNode"], [86, 1, 1, "", "ForLoopPipelineNode"], [86, 1, 1, "", "GoogleSearchServiceNode"], [86, 1, 1, "", "IfElsePipelineNode"], [86, 1, 1, "", "ModelNode"], [86, 1, 1, "", "MsgHubNode"], [86, 1, 1, "", "MsgNode"], [86, 1, 1, "", "PlaceHolderNode"], [86, 1, 1, "", "PythonServiceNode"], [86, 1, 1, "", "ReActAgentNode"], [86, 1, 1, "", "ReadTextServiceNode"], [86, 1, 1, "", "SequentialPipelineNode"], [86, 1, 1, "", "SwitchPipelineNode"], [86, 1, 1, "", "TextToImageAgentNode"], [86, 1, 1, "", "UserAgentNode"], [86, 1, 1, "", "WhileLoopPipelineNode"], [86, 1, 1, "", "WorkflowNode"], [86, 1, 1, "", "WorkflowNodeType"], [86, 1, 1, "", "WriteTextServiceNode"], [86, 6, 1, "", "get_all_agents"]], "agentscope.web.workstation.workflow_node.BingSearchServiceNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.CopyNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.DialogAgentNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.DictDialogAgentNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.ForLoopPipelineNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.GoogleSearchServiceNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.IfElsePipelineNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.ModelNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.MsgHubNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.MsgNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.PlaceHolderNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.PythonServiceNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.ReActAgentNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.ReadTextServiceNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.SequentialPipelineNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.SwitchPipelineNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.TextToImageAgentNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.UserAgentNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.WhileLoopPipelineNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.WorkflowNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_node.WorkflowNodeType": [[86, 4, 1, "", "AGENT"], [86, 4, 1, "", "COPY"], [86, 4, 1, "", "MESSAGE"], [86, 4, 1, "", "MODEL"], [86, 4, 1, "", "PIPELINE"], [86, 4, 1, "", "SERVICE"]], "agentscope.web.workstation.workflow_node.WriteTextServiceNode": [[86, 2, 1, "", "__init__"], [86, 2, 1, "", "compile"], [86, 4, 1, "", "node_type"]], "agentscope.web.workstation.workflow_utils": [[87, 6, 1, "", "deps_converter"], [87, 6, 1, "", "dict_converter"], [87, 6, 1, "", "is_callable_expression"], [87, 6, 1, "", "kwarg_converter"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "property", "Python property"], "4": ["py", "attribute", "Python attribute"], "5": ["py", "exception", "Python exception"], "6": ["py", "function", "Python function"]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:property", "4": "py:attribute", "5": "py:exception", "6": "py:function"}, "terms": {"": [0, 1, 2, 3, 4, 7, 8, 9, 17, 18, 20, 24, 25, 28, 29, 30, 32, 33, 34, 46, 48, 68, 70, 85, 86, 87, 90, 91, 92, 93, 94, 95, 96, 97, 98, 100, 101, 102, 103, 104, 105], "0": [10, 23, 24, 35, 37, 38, 46, 67, 68, 72, 73, 75, 86, 93, 94, 97], "0001": [46, 68], "0002": [46, 68], "001": [18, 21, 97], "002": [92, 97], "03": [18, 21, 101], "03629": [1, 6], "04": 101, "05": [46, 68], "1": [1, 4, 10, 14, 16, 18, 20, 21, 24, 26, 35, 37, 38, 46, 49, 58, 59, 65, 68, 70, 72, 86, 92, 94, 97, 98, 99], "10": [1, 6, 46, 59, 68, 70, 99, 102], "100": [46, 61, 62, 97], "1000": 102, "1024": 46, "1109": [46, 68], "120": [46, 69], "12001": 103, "12002": 103, "123": [24, 97], "12345": [43, 44], "127": [72, 94], "1280": 46, "1800": [1, 2, 7, 43, 44, 45], "2": [1, 4, 18, 21, 22, 24, 38, 46, 49, 59, 68, 70, 86, 97, 98], "20": 102, "200": 38, "2021": [46, 68], "2023": [46, 68], "2024": [18, 21, 101], "203": [1, 4], "2048": [18, 26], "21": [18, 21], "211862": [46, 68], "22": 101, "2210": [1, 6], "3": [1, 4, 18, 22, 23, 26, 38, 46, 59, 68, 69, 82, 86, 91, 92, 95, 97, 98, 99, 101], "30": [18, 26, 46, 68, 75], "300": [39, 40, 46, 48], "3233": [46, 68], "3306": [46, 62], "4": [18, 25, 46, 68, 86, 92, 97, 98, 101, 102], "455": [46, 68], "466": [46, 68], "48000": 46, "4o": [18, 25, 101], "5": [18, 22, 23, 46, 71, 86, 92, 95, 97, 98, 101], "5000": [72, 94], "512x512": 97, "5m": [18, 24, 97], "6": 93, "6300": [46, 68], "720": 46, "8": 77, "8192": [1, 2, 7, 43, 44, 45], "8b": 97, "9": 91, "9477984": [46, 68], "A": [0, 1, 3, 4, 5, 6, 7, 8, 9, 14, 16, 17, 18, 20, 21, 24, 26, 29, 30, 32, 33, 34, 35, 36, 37, 39, 40, 42, 43, 44, 45, 46, 48, 53, 55, 56, 59, 61, 62, 63, 67, 68, 69, 70, 73, 74, 75, 84, 85, 86, 92, 93, 98, 99, 100, 103, 105], "AND": [46, 67], "AS": 80, "And": [95, 101, 102, 103], "As": [38, 93, 95, 98, 100, 103], "At": 103, "But": 103, "By": [93, 94, 98, 103], "For": [1, 4, 17, 18, 20, 22, 23, 24, 43, 44, 46, 67, 68, 70, 71, 73, 75, 91, 92, 93, 95, 96, 97, 98, 99, 100, 101, 102, 103, 107], "If": [0, 1, 2, 4, 6, 7, 9, 11, 14, 15, 16, 18, 20, 21, 25, 28, 30, 32, 33, 34, 38, 43, 44, 46, 48, 55, 57, 65, 71, 74, 77, 84, 85, 91, 92, 93, 95, 97, 99, 100, 101, 102, 104, 105], "In": [0, 14, 16, 17, 18, 20, 21, 22, 24, 25, 26, 28, 29, 43, 44, 90, 92, 93, 95, 96, 97, 98, 100, 101, 102, 103, 105], "It": [1, 4, 9, 13, 17, 18, 20, 33, 46, 48, 68, 70, 86, 88, 90, 93, 95, 96, 97, 98, 99, 100, 101, 102, 103, 108], "Its": 98, "NOT": [46, 49], "No": [46, 68, 93], "OR": [46, 67], "On": 91, "One": [0, 29], "Or": [96, 97], "Such": 101, "That": [98, 99], "The": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 43, 44, 45, 46, 48, 49, 51, 52, 53, 55, 57, 59, 61, 62, 63, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 85, 86, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103], "Then": [95, 103], "There": 101, "These": [93, 96, 99, 100, 101], "To": [18, 22, 24, 28, 91, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102, 103, 105], "Will": 106, "With": [18, 20, 38, 90, 93, 105], "_": [35, 36, 37, 93], "__": [35, 36, 37], "__call__": [1, 5, 18, 21, 23, 95, 96, 97], "__delattr__": 100, "__getattr__": [99, 100], "__getitem__": 99, "__init__": [1, 2, 3, 4, 6, 7, 8, 9, 11, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 42, 43, 44, 45, 46, 57, 59, 73, 75, 77, 85, 86, 95, 97, 99, 100], "__name__": [95, 99], "__setattr__": [99, 100], "__setitem__": 99, "__type": 100, "_agentmeta": [1, 2, 7, 43, 45], "_client": 17, "_code": [30, 31], "_default_monitor_table_nam": 75, "_default_system_prompt": [46, 65], "_default_token_limit_prompt": [46, 65], "_get_pric": 102, "_get_timestamp": 100, "_host": 17, "_is_placehold": 17, "_messag": 39, "_parse_respons": 97, "_port": 17, "_stub": 17, "_task_id": 17, "_upb": 39, "a_json_dictionari": 98, "aaai": [46, 68], "aaaif": [46, 68], "ab": [1, 6, 46, 67], "abc": [1, 5, 14, 15, 18, 20, 21, 22, 24, 25, 26, 28, 30, 33, 73, 75, 86, 98, 100], "abdullah": [46, 68], "abil": [93, 98], "abl": 90, "about": [1, 4, 18, 20, 21, 85, 88, 92, 95, 97, 102, 104, 106, 108, 109], "abov": [18, 20, 21, 73, 75, 92, 93, 98, 99, 101, 102, 103], "abstract": [1, 5, 14, 15, 30, 33, 73, 75, 86, 90, 95, 100], "abstractmethod": [96, 98], "accept": [17, 38, 43, 45, 100, 101], "access": [100, 103], "accident": [46, 62, 63], "accommod": [1, 2, 7, 17, 43, 44, 45, 90], "accord": [38, 97, 98, 99, 101, 103, 105], "accordingli": [92, 99, 103], "account": [46, 62], "accrodingli": 103, "accumul": [73, 75], "achiev": [1, 6, 93, 98, 101], "acronym": [46, 68], "across": 96, "act": [1, 6, 18, 27, 36, 46, 70, 86, 93, 95, 96, 101], "action": [1, 2, 7, 8, 82, 85, 90, 93, 96], "activ": [0, 91], "actor": [88, 90, 108], "actual": [0, 29, 35, 36, 37, 92], "acycl": 85, "ad": [1, 3, 4, 9, 14, 15, 16, 18, 20, 85, 95, 99, 100, 101, 105], "ada": [92, 97], "adapt": 101, "add": [14, 15, 16, 29, 46, 59, 73, 75, 85, 93, 94, 95, 96, 98, 99, 100, 101, 102, 105], "add_as_nod": 85, "add_rpcagentservicer_to_serv": [39, 42], "addit": [1, 9, 46, 48, 65, 70, 74, 90, 91, 93, 95, 98, 99, 103, 105], "addition": [92, 96, 100], "address": [17, 46, 61, 62, 95, 103, 105], "adjust": [95, 102], "admit": 17, "advanc": [18, 20, 90, 92, 93, 101], "advantech": [46, 68], "adventur": 93, "adversari": [1, 2, 7, 8], "affili": [46, 68], "after": [1, 2, 23, 24, 43, 44, 45, 46, 65, 92, 93, 97, 98, 103], "again": 105, "against": 90, "agent": [0, 14, 15, 17, 18, 27, 29, 33, 35, 36, 37, 39, 40, 42, 43, 44, 45, 46, 59, 65, 70, 82, 86, 88, 91, 94, 96, 97, 99, 100, 101, 102, 104, 106, 108, 109], "agent1": [0, 29, 93, 96], "agent2": [0, 29, 93, 96], "agent3": [0, 29, 93, 96], "agent4": [93, 96], "agent5": 96, "agent_arg": [43, 44], "agent_class": [1, 2, 7, 43, 44], "agent_class_nam": [1, 2], "agent_config": [0, 1, 7, 39, 40, 43, 45, 93], "agent_exist": [43, 45], "agent_id": [1, 2, 7, 39, 40, 43, 45], "agent_kwarg": [43, 44], "agenta": 103, "agentb": 103, "agentbas": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 29, 43, 44, 93, 96, 99, 103, 106], "agentpool": 106, "agentscop": [92, 94, 95, 96, 97, 98, 99, 100, 101, 103, 106, 107, 109], "agentserv": [43, 44], "agentserverservic": [43, 45], "agre": [93, 98], "agreement": [1, 4, 90, 93, 98], "ai": [18, 21, 22, 46, 65, 92, 95, 97], "aim": 93, "akif": [46, 68], "al": 14, "alert": [73, 75], "algorithm": [1, 6, 46, 68, 95, 98], "alic": [92, 101], "align": [18, 27, 101], "aliv": 93, "aliyun": [18, 20, 46], "all": [0, 1, 2, 9, 14, 15, 16, 18, 20, 21, 23, 24, 28, 29, 35, 37, 39, 43, 44, 46, 51, 59, 65, 67, 73, 75, 86, 92, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103], "alloc": 93, "allow": [18, 20, 21, 22, 24, 25, 26, 28, 30, 33, 34, 46, 48, 62, 63, 86, 90, 93, 95, 96, 97, 100, 101, 102, 103, 104], "allow_change_data": [46, 62, 63], "allow_miss": 33, "alon": 93, "along": 74, "alreadi": [1, 7, 46, 52, 53, 75, 86, 91, 99, 102, 105], "also": [1, 9, 17, 18, 20, 21, 22, 24, 25, 26, 28, 93, 94, 96, 97, 98, 100, 103, 104], "altern": [18, 20, 21, 91, 101], "among": [0, 29, 35, 37, 93, 95, 96, 97], "amount": 102, "an": [1, 2, 4, 5, 6, 7, 8, 17, 18, 20, 23, 26, 35, 37, 39, 40, 43, 44, 45, 46, 48, 49, 51, 52, 53, 65, 68, 70, 73, 74, 75, 77, 81, 82, 86, 88, 90, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 103, 104, 105, 108], "analog": 90, "analys": [46, 71], "andnot": [46, 67], "ani": [1, 6, 9, 13, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 32, 35, 36, 37, 38, 46, 49, 51, 52, 53, 55, 57, 59, 61, 62, 63, 70, 71, 74, 85, 86, 95, 96, 99, 100, 101, 103, 104, 105], "annot": 99, "announc": [0, 29, 86, 93, 96], "anoth": [46, 70, 86, 93, 95, 96, 99, 103], "answer": 90, "anthrop": [18, 22], "anthropic_api_kei": [18, 22], "antidot": 98, "api": [0, 17, 18, 20, 21, 22, 23, 24, 25, 26, 28, 46, 59, 65, 67, 68, 70, 76, 77, 90, 92, 95, 99, 100, 101, 103], "api_cal": 102, "api_kei": [18, 20, 21, 23, 25, 28, 46, 59, 70, 92, 93, 97, 99, 101], "api_token": 23, "api_url": [18, 23, 26, 97], "append": [14, 15, 16], "appli": [100, 103], "applic": [17, 33, 81, 82, 84, 88, 90, 91, 92, 94, 95, 96, 98, 101, 102, 104, 108, 109], "approach": [46, 68, 92, 96], "ar": [1, 2, 6, 7, 8, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 28, 30, 34, 35, 36, 37, 38, 43, 44, 46, 48, 49, 59, 65, 71, 74, 85, 90, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105], "arbitrari": 101, "architectur": [90, 95], "arg": [1, 2, 3, 4, 6, 7, 8, 9, 18, 20, 21, 22, 23, 24, 25, 26, 28, 38, 43, 44, 45, 46, 59, 85, 93, 95, 96, 99, 100], "argument": [0, 1, 2, 11, 17, 18, 20, 21, 22, 24, 25, 26, 28, 29, 38, 43, 44, 46, 48, 57, 59, 70, 84, 85, 99, 103], "argument1": 99, "argument2": 99, "argumentnotfounderror": 11, "argumenttypeerror": 11, "arrow": 103, "articl": [46, 68], "artifici": [46, 68], "arxiv": [1, 6, 46, 99], "arxiv_search": [46, 67, 99], "as_serv": [43, 44, 103], "asdigraph": 85, "ask": [30, 34, 98, 99, 104, 107], "aslan": [46, 68], "asp": [46, 70], "asr": 82, "assign": [93, 94, 100], "assist": [1, 2, 6, 17, 18, 20, 24, 38, 92, 95, 98, 100, 101, 104], "associ": [39, 42, 85, 93, 102], "assum": [46, 70, 93, 97, 102], "attach": [18, 20, 92, 100], "attempt": [74, 93], "attribut": [14, 16, 17, 46, 68, 95, 98, 99, 100, 101], "attribute_nam": 100, "attributeerror": 100, "au": [46, 67], "audienc": [1, 2, 96], "audio": [17, 18, 20, 46, 81, 82, 90, 92, 95, 97, 99, 100, 101], "audio2text": 82, "audio_path": [46, 82], "audio_term": 81, "authent": [46, 70, 99], "author": [23, 46, 67, 68, 97, 99], "auto": [43, 45], "automat": [1, 2, 46, 59, 77, 90, 93, 95, 97, 98, 100, 102, 103], "autonom": [90, 93], "auxiliari": 90, "avail": [21, 46, 48, 68, 74, 77, 82, 92, 95, 96, 99, 103, 104], "avatar": 82, "avoid": [46, 61, 62, 63, 86, 102, 103], "awar": 98, "azur": [18, 22], "azure_api_bas": [18, 22], "azure_api_kei": [18, 22], "azure_api_vers": [18, 22], "b": [38, 46, 56, 59, 99, 103, 105], "back": 103, "background": [103, 106], "base": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 57, 58, 59, 68, 73, 75, 77, 82, 84, 85, 86, 88, 90, 93, 95, 96, 97, 98, 99, 100, 101, 102, 103, 108], "base64": 101, "base_url": 28, "basemodel": 98, "bash": [46, 49], "basic": [18, 21, 92, 93, 100], "batch": 102, "bearer": [23, 97], "beauti": 46, "becaus": 103, "becom": [97, 104], "been": [1, 2, 86, 105], "befor": [14, 15, 16, 18, 46, 59, 65, 82, 91, 93, 100, 102, 103], "begin": [0, 11, 18, 21, 29, 30, 31, 34, 93, 101, 102], "beginn": 101, "behalf": [46, 70], "behavior": [1, 5, 93, 95, 100], "being": [39, 40, 46, 48, 77, 85, 93, 102], "below": [1, 2, 30, 34, 93, 95, 96, 98, 99, 101, 104], "besid": [93, 95, 98, 100], "best": 101, "better": [14, 16, 17, 18, 21, 92, 94, 105], "between": [14, 16, 18, 20, 26, 27, 30, 31, 32, 34, 46, 56, 85, 90, 92, 93, 94, 96, 98, 99, 100, 101, 103], "bigmodel": 28, "bin": 91, "bing": [46, 59, 70, 86, 99], "bing_api_kei": [46, 70], "bing_search": [46, 59, 70, 99], "bingsearchservicenod": 86, "blob": [48, 74], "block": [30, 31, 32, 38, 74, 93, 96, 98, 103], "bob": [18, 20, 24, 92, 101], "bodi": [35, 36, 37], "bomb": 48, "bool": [0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 14, 15, 16, 17, 18, 30, 32, 33, 34, 35, 36, 37, 43, 44, 45, 46, 48, 52, 53, 55, 59, 62, 63, 71, 72, 73, 75, 82, 86, 87, 95, 98, 99, 100], "boolean": [14, 16, 46, 51, 52, 53, 67, 74, 98, 99], "borrow": 74, "bot": 95, "both": [14, 15, 16, 38, 46, 48, 90, 98, 99, 101, 102, 103, 105], "box": 93, "branch": [36, 96], "break": [35, 36, 37, 92, 93, 96, 98], "break_condit": 96, "break_func": [35, 36, 37], "breviti": [95, 96, 99, 100], "bridg": [18, 27], "brief": 105, "broadcast": [0, 29, 86, 93], "brows": [46, 70], "budget": [18, 25, 73, 75, 97], "buffer": 41, "bug": [104, 107], "build": [18, 21, 85, 88, 90, 92, 93, 95, 98, 101, 106, 108], "build_dag": 85, "built": [46, 65, 90, 93, 94, 95, 98, 106], "bulk": 100, "busi": [46, 70], "byte": [17, 46, 48], "c": [46, 59, 99, 103], "cach": [1, 2, 43, 44, 45], "cai": [46, 68], "calcul": 102, "call": [1, 2, 7, 11, 17, 18, 20, 21, 22, 23, 25, 26, 28, 39, 40, 43, 45, 46, 59, 73, 75, 77, 85, 86, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103], "call_credenti": 42, "call_func": [39, 40, 42, 43, 45], "call_in_thread": [39, 40], "callabl": [1, 5, 14, 15, 16, 35, 36, 37, 46, 55, 59, 71, 81, 85, 87, 100], "can": [0, 1, 2, 3, 4, 6, 7, 9, 14, 16, 17, 18, 20, 21, 23, 24, 30, 34, 38, 43, 44, 45, 46, 48, 59, 68, 85, 86, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105], "capabl": [88, 90, 93, 98, 99, 108], "capac": [46, 70], "captur": [46, 48, 94], "care": [46, 49], "carrier": [90, 100], "case": [35, 37, 43, 44, 86, 93, 95, 102, 106], "case1": 96, "case2": 96, "case_oper": [35, 36, 37, 96], "cat": [46, 49, 67, 101], "catch": 74, "categor": [90, 96], "categori": 97, "caus": [18, 20], "cd": [46, 49, 91, 93, 105], "central": [88, 90, 91, 103, 108], "centric": 90, "certain": [14, 15, 73, 75, 85, 102], "challeng": 106, "chanc": 93, "chang": [1, 4, 8, 46, 49, 62, 63, 74, 90, 102], "channel": [39, 42, 90], "channel_credenti": 42, "chao": [46, 68], "charact": [30, 34, 93, 98, 101], "characterist": 95, "chart": 103, "chat": [13, 17, 18, 20, 21, 22, 24, 25, 26, 28, 76, 81, 82, 92, 93, 96, 99, 100, 101, 104], "chatbot": [81, 101], "chdir": 74, "check": [14, 15, 16, 30, 32, 43, 45, 46, 48, 59, 71, 74, 77, 82, 84, 87, 93, 95, 102, 105], "check_and_delete_ag": [43, 45], "check_and_generate_ag": [43, 45], "check_port": 77, "check_uuid": 82, "check_win": 93, "checkout": 105, "chemic": [46, 70], "chengm": [46, 68], "chines": [46, 68], "choic": [93, 97], "choos": [90, 92, 93, 98, 103], "chosen": [1, 3, 93], "class": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 42, 43, 44, 45, 46, 57, 58, 59, 73, 75, 77, 85, 86, 93, 95, 96, 97, 98, 99, 102, 103, 106], "class_nam": [43, 45], "classic": 98, "classmethod": [1, 2, 18, 23, 43, 44, 46, 59, 73, 75], "claud": [18, 22], "clean": [14, 15, 16, 85], "clear": [14, 15, 16, 18, 73, 75, 96, 100, 102, 105], "clear_audi": [1, 2], "clear_exist": 18, "clear_model_config": 18, "clearer": 94, "click": 94, "client": [1, 7, 17, 18, 25, 28, 39, 40, 42, 97], "client_arg": [18, 23, 25, 28, 97], "clone": [1, 7, 91], "clone_inst": [1, 7], "close": [30, 32], "cloud": [18, 21], "clspipelin": 96, "cn": 28, "co": [46, 67], "code": [0, 1, 2, 3, 4, 12, 29, 30, 31, 32, 41, 46, 48, 71, 73, 74, 75, 84, 85, 86, 91, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 109], "codebas": 107, "coher": [95, 100], "collabor": [95, 96, 104], "collect": [46, 61, 86, 95, 99], "color": 94, "com": [17, 18, 20, 21, 24, 46, 48, 67, 70, 74, 91, 99, 100, 101, 105], "combin": [18, 21, 38, 98, 101], "come": [93, 95, 99], "command": [43, 44, 46, 49, 82, 84, 91, 103], "comment": [39, 42], "common": [5, 18, 22], "commun": [88, 92, 93, 96, 103, 105, 107, 108], "compar": [46, 55, 96, 98, 103, 105], "comparison": [46, 68], "compat": [18, 26, 90, 101], "compil": [85, 86], "compile_workflow": 84, "compiled_filenam": [84, 85], "complet": [22, 46, 68, 98, 99, 103], "completion_token": 102, "complex": [90, 92, 95, 96, 98, 103], "compli": 84, "complianc": 102, "complic": 90, "compon": [38, 88, 90, 93, 108], "compos": 95, "comprehens": 95, "compress": 42, "compris": [90, 92], "comput": [14, 16, 46, 56, 68, 85, 90, 95, 99, 103], "concept": [93, 96, 103, 109], "concern": [18, 22], "concis": 105, "concret": 100, "condit": [35, 36, 37, 86, 93, 96], "condition_func": [35, 36, 37], "condition_oper": [35, 37], "conduit": 96, "conf": [46, 68], "confer": [46, 68], "confid": [46, 48], "config": [0, 1, 2, 3, 4, 6, 8, 14, 15, 16, 18, 20, 22, 23, 25, 28, 43, 44, 84, 85, 92, 103], "config_nam": [18, 20, 21, 22, 23, 24, 25, 26, 28, 92, 93, 97, 101], "config_path": 84, "configur": [1, 2, 3, 4, 6, 8, 14, 15, 16, 18, 20, 21, 22, 23, 24, 25, 26, 28, 43, 45, 72, 84, 85, 86, 92, 93, 95, 98, 106], "connect": [1, 2, 17, 39, 40, 75, 85, 90, 103, 104], "connect_exist": [1, 7], "consid": 93, "consider": [18, 21], "consist": [93, 94, 95, 100, 101], "consol": 17, "constraint": [18, 21, 101], "construct": [17, 85, 93, 95, 96, 98, 99, 100, 106], "constructor": [39, 42, 46, 57, 97, 99], "consum": 103, "contain": [0, 1, 4, 6, 9, 23, 24, 30, 34, 35, 36, 37, 46, 48, 49, 51, 52, 53, 61, 62, 63, 65, 68, 69, 74, 84, 85, 98, 99, 101, 103], "content": [1, 2, 6, 9, 11, 13, 17, 18, 20, 24, 28, 30, 31, 32, 33, 34, 46, 51, 52, 53, 57, 65, 67, 68, 70, 71, 74, 76, 90, 92, 93, 94, 95, 97, 99, 100, 101, 103, 106], "content_hint": [30, 31, 32, 34, 98], "context": [38, 39, 42, 43, 45, 74, 95, 96, 100, 105], "contextmanag": 74, "continu": [35, 36, 37, 90, 92, 93, 95, 96, 98, 101, 102], "contrast": 98, "contribut": [88, 104, 107, 108], "control": [17, 24, 33, 35, 36, 37, 88, 93, 96, 97, 98, 103, 108], "contruct": [18, 22], "conveni": [93, 98], "convers": [14, 16, 18, 21, 46, 59, 93, 94, 95, 97, 101, 103, 109], "convert": [1, 2, 8, 14, 15, 16, 18, 20, 30, 32, 38, 46, 59, 77, 81, 82, 87, 95, 98, 99, 101], "convert_url": [18, 20], "cookbook": [17, 100], "copi": 86, "copynod": 86, "core": [90, 93, 95, 96], "cornerston": 95, "correctli": 103, "correspond": [30, 32, 33, 34, 35, 36, 37, 42, 46, 61, 90, 92, 93, 97, 98, 103], "cos_sim": [46, 56, 99], "cosin": [46, 56, 99], "cost": [102, 103], "could": [18, 22, 46, 70, 101], "count": [76, 102], "count_openai_token": 76, "counterpart": 36, "cover": 0, "cpu": 97, "craft": [88, 95, 101, 108, 109], "creat": [0, 1, 2, 9, 17, 29, 39, 40, 43, 45, 46, 51, 74, 86, 93, 95, 98, 100, 101, 103, 106, 109], "create_ag": [39, 40], "create_directori": [46, 51, 99], "create_fil": [46, 51, 99], "create_tempdir": 74, "creation": 100, "criteria": [99, 100], "critic": [0, 13, 94, 100, 101], "crucial": [93, 94, 102], "cse": [46, 70], "cse_id": [46, 70], "curat": 95, "current": [1, 2, 3, 4, 14, 15, 16, 17, 35, 36, 37, 46, 48, 49, 51, 65, 73, 74, 75, 97, 99, 100, 102], "cursor": 75, "custom": [43, 44, 46, 70, 82, 88, 90, 92, 93, 94, 97, 99, 100, 101, 106, 108], "custom_ag": [43, 44], "cycle_dot": 82, "d": 103, "dag": [85, 90], "dai": 93, "dall": [18, 25, 97], "dall_": 26, "dashscop": [18, 20, 46, 99, 101], "dashscope_chat": [18, 20, 97], "dashscope_image_synthesi": [18, 20, 97], "dashscope_image_to_text": [46, 99], "dashscope_multimod": [18, 20, 97], "dashscope_text_embed": [18, 20, 97], "dashscope_text_to_audio": [46, 99], "dashscope_text_to_imag": [46, 99], "dashscopechatwrapp": [18, 20, 97], "dashscopeimagesynthesiswrapp": [18, 20, 97], "dashscopemultimodalwrapp": [18, 20, 97], "dashscopetextembeddingwrapp": [18, 20, 97], "dashscopewrapperbas": [18, 20], "data": [1, 3, 4, 9, 15, 18, 27, 39, 40, 46, 52, 55, 62, 63, 68, 74, 81, 85, 86, 90, 95, 96, 97, 98, 100, 101], "databas": [46, 61, 62, 63, 68, 99], "date": [18, 20, 24, 104], "daytim": [93, 98], "db": [46, 68, 73, 75], "db_path": [73, 75], "dblp": [46, 99], "dblp_search_author": [46, 68, 99], "dblp_search_publ": [46, 68, 99], "dblp_search_venu": [46, 68, 99], "dead_nam": 93, "dead_play": 93, "death": 93, "debug": [0, 13, 72, 93, 94, 98], "decid": [14, 15, 18, 21, 93, 101], "decis": [17, 18, 21], "decod": [1, 4], "decoupl": [92, 97, 98], "deduc": 93, "deduct": 93, "deep": [46, 67], "deeper": 93, "def": [17, 46, 59, 93, 95, 96, 97, 98, 99, 100], "default": [0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 13, 14, 15, 16, 17, 18, 20, 21, 22, 24, 25, 26, 28, 29, 30, 32, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 48, 53, 55, 59, 61, 62, 63, 65, 67, 68, 69, 70, 72, 73, 75, 82, 85, 86, 90, 95, 98, 99, 100, 102], "default_ag": 96, "default_oper": [35, 36, 37], "defer": 95, "defin": [1, 2, 5, 7, 8, 42, 46, 55, 59, 85, 92, 95, 96, 99, 100, 102], "definit": [46, 70, 90, 100], "del": 100, "delet": [1, 2, 14, 15, 16, 29, 39, 40, 43, 44, 45, 46, 51, 75, 93, 99, 100], "delete_ag": [39, 40], "delete_directori": [46, 51, 99], "delete_fil": [46, 51, 99], "delv": 93, "demand": 95, "demonstr": [93, 95], "denot": 100, "dep_opt": 86, "dep_var": 87, "depart": [46, 68], "depend": [14, 15, 16, 46, 67, 70, 85, 90, 91], "deploi": [18, 26, 92, 103], "deploy": [90, 92, 97, 103], "deprec": [1, 2, 43, 44, 106], "deprecated_model_typ": [18, 20, 25, 26], "deps_convert": 87, "depth": 95, "deriv": 95, "describ": [46, 59, 93, 96, 101, 103], "descript": [46, 59, 71, 95, 96, 98, 99, 105], "descriptor": 39, "deseri": [14, 15, 16, 17], "design": [1, 5, 14, 15, 16, 29, 86, 88, 92, 93, 94, 95, 96, 101, 103, 108, 109], "desir": [38, 101], "destin": [46, 51], "destination_path": [46, 51], "destruct": 48, "detail": [1, 2, 6, 9, 18, 20, 22, 46, 68, 70, 92, 93, 94, 95, 98, 99, 100, 101, 102, 103, 105], "determin": [35, 36, 37, 46, 48, 73, 75, 93, 98, 100], "dev": 105, "develop": [1, 4, 6, 18, 20, 22, 24, 28, 38, 46, 59, 70, 88, 90, 91, 94, 95, 97, 98, 99, 100, 101, 102, 103, 104, 105, 108], "diagnosi": [46, 68], "dialog": [1, 2, 3, 4, 7, 8, 17, 29, 38, 77, 90, 92, 96, 100], "dialog_ag": 92, "dialog_agent_config": 95, "dialogag": [1, 3, 86, 92], "dialogagentnod": 86, "dialogu": [1, 3, 4, 18, 20, 24, 90, 94, 95, 96, 101], "dict": [0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 52, 55, 57, 59, 61, 70, 71, 73, 74, 75, 77, 82, 84, 85, 86, 87, 90, 92, 95, 96, 97, 98, 99, 100, 101], "dict_convert": 87, "dict_input": 99, "dictat": 93, "dictdialogag": [1, 4, 86, 93, 95, 98], "dictdialogagentnod": 86, "dictfiltermixin": [30, 32, 33, 34, 98], "dictionari": [1, 3, 4, 9, 18, 20, 22, 25, 28, 30, 32, 33, 34, 35, 36, 37, 46, 59, 67, 68, 70, 73, 74, 75, 82, 84, 85, 87, 92, 97, 99, 100, 101], "did": 105, "didn": 98, "differ": [1, 6, 7, 18, 21, 22, 23, 27, 38, 46, 56, 61, 86, 88, 90, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 108], "difficult": 101, "difficulti": 98, "digest": [46, 71, 99], "digest_prompt": [46, 71], "digest_webpag": [46, 71, 99], "digraph": 85, "dingtalk": 107, "dir": 0, "direcotri": [46, 51], "direct": [85, 86, 100], "directli": [30, 32, 33, 34, 46, 48, 59, 91, 97, 98, 99, 100, 101, 102], "directori": [0, 1, 9, 13, 46, 49, 51, 52, 53, 72, 74, 93, 97, 99], "directory_path": [46, 51], "disabl": [46, 48, 102], "discord": 107, "discuss": [18, 21, 93, 98, 104, 105], "disguis": 93, "disk": [14, 16], "displai": [30, 32, 46, 48, 82, 98], "distconf": [1, 2, 103], "distinct": [86, 93, 95], "distinguish": [73, 75, 97, 100, 101, 103], "distribut": [1, 2, 18, 20, 21, 22, 24, 25, 26, 28, 44, 45, 88, 90, 91, 95, 106, 108], "div": [46, 71], "dive": 93, "divers": [90, 95, 98, 105], "divid": [93, 97], "do": [18, 22, 35, 36, 37, 46, 49, 70, 91, 93, 94, 96, 103], "doc": [18, 21, 22, 90, 97], "docker": [46, 48, 99], "docstr": [46, 59, 99], "document": [39, 42, 90, 98, 99, 101, 103, 105], "doe": [14, 15, 35, 36, 37, 74, 75, 98, 100, 102], "doesn": [1, 2, 7, 8, 14, 16], "dog": 101, "doi": [46, 68], "don": [73, 75, 93, 100, 102, 103], "dong": [46, 68], "dot": 82, "doubl": 98, "download": [24, 46, 99], "download_from_url": [46, 69, 99], "drop_exist": 75, "due": [30, 34, 98], "dummymonitor": [75, 102], "dump": [99, 100], "duplic": [85, 86], "durdu": [46, 68], "dure": [1, 6, 11, 33, 93, 98, 99, 100], "dynam": [93, 95, 96], "e": [17, 18, 20, 21, 22, 23, 24, 25, 26, 28, 46, 48, 49, 51, 57, 59, 62, 90, 91, 92, 93, 97, 99, 100, 101, 102, 103, 105], "each": [0, 18, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 34, 43, 45, 46, 68, 70, 85, 90, 92, 95, 96, 98, 99, 100, 101, 102, 103, 105], "eas": [88, 90, 96, 101, 108], "easi": [0, 29, 88, 108], "easili": [91, 93, 96, 98, 103], "echo": [17, 100], "edg": 85, "edit": [46, 49, 91], "effect": [0, 1, 2, 29, 46, 70, 73, 75], "effici": [90, 95], "effort": [90, 95], "either": [14, 15, 16, 18, 21, 46, 49, 70, 92, 93, 100, 101], "eleg": [0, 29], "element": [46, 48, 55, 71, 85, 101], "elementari": 90, "elif": 96, "elimin": 93, "els": [35, 36, 37, 86, 93, 96, 99, 100], "else_body_oper": [35, 36, 37], "emb": [14, 16, 46, 55], "embed": [14, 16, 18, 20, 21, 24, 25, 26, 27, 28, 46, 55, 56, 92, 97, 99, 100], "embedding_model": [14, 16, 46, 55], "empow": [88, 90, 98, 101, 108], "empti": [18, 24, 46, 59, 71, 74, 81, 85, 99, 101], "en": [1, 4, 46, 70, 99], "enabl": [72, 86, 88, 90, 95, 96, 100, 101, 102, 108], "encapsul": [1, 9, 18, 27, 38, 43, 44, 95, 96, 101, 103], "encoding_format": 97, "encount": [94, 104], "encourag": [1, 6, 17, 18, 20, 22, 24, 28], "end": [11, 14, 15, 16, 18, 21, 30, 31, 32, 34, 85, 93, 98, 101], "end_discuss": 98, "endow": [93, 95], "enforc": 102, "engag": [95, 104], "engin": [1, 6, 18, 20, 22, 24, 28, 38, 46, 59, 68, 70, 85, 88, 90, 95, 97, 98, 106, 108], "enhanc": [88, 94, 99, 108], "enrich": 95, "ensembl": 95, "ensur": [90, 93, 95, 96, 98, 102], "enter": 98, "entir": 103, "entiti": 90, "entri": [0, 72, 81], "enum": [10, 38, 46, 58, 67, 68, 70, 86], "environ": [1, 2, 7, 8, 18, 21, 22, 25, 28, 46, 48, 90, 92, 93, 96, 97, 103, 109], "environment": 96, "equal": [30, 34, 93], "equip": 95, "equival": [98, 103], "error": [0, 11, 13, 46, 48, 49, 51, 52, 53, 57, 58, 61, 62, 63, 65, 67, 68, 69, 70, 74, 77, 94, 98, 99, 105], "escap": [30, 34, 98], "especi": [46, 48, 101, 102], "essenti": [92, 95, 100], "etc": [46, 48, 57, 70, 97, 98, 99], "eval": [48, 74], "evalu": [85, 86, 96], "even": [93, 98], "event": [81, 93], "eventdata": 81, "everi": [18, 22, 93], "everyon": 104, "exactli": 103, "exampl": [0, 1, 2, 4, 6, 17, 18, 20, 22, 23, 24, 29, 30, 32, 38, 46, 59, 65, 67, 68, 70, 71, 90, 92, 93, 96, 97, 98, 100, 101, 102, 103, 105, 106], "example_dict": 98, "exce": [1, 9, 46, 48, 65, 73, 75, 102], "exceed": [1, 2, 43, 44, 45, 73, 75, 102], "except": [18, 26, 73, 74, 75, 82, 88, 90, 98, 99, 100, 102], "exchang": 90, "exec_nod": 85, "execut": [1, 5, 35, 36, 37, 46, 48, 49, 57, 58, 59, 61, 62, 63, 69, 70, 74, 85, 86, 90, 92, 93, 96, 99, 103], "execute_python_cod": [46, 48, 99], "execute_shell_command": [46, 49], "exert": [46, 70], "exeuct": [35, 36], "exist": [1, 2, 18, 20, 30, 32, 43, 45, 46, 52, 53, 71, 73, 74, 75, 95, 96, 100, 102, 103], "existing_ag": 96, "exit": [1, 2, 92, 96, 103], "expand": 95, "expect": [1, 4, 46, 55, 94, 98, 101], "expedit": 95, "experi": [94, 104], "experiment": 102, "expir": [1, 2, 43, 44, 45], "explain": 105, "explan": 98, "explanatori": [46, 59, 99], "explicitli": [46, 70, 98], "explor": 93, "export": [14, 15, 16, 100], "export_config": [1, 2], "expos": 33, "express": [73, 75, 85, 87], "extend": [1, 7, 85, 96, 100], "extens": [90, 95], "extern": [100, 102], "extra": [18, 20, 22, 24, 25, 28, 77], "extract": [18, 23, 30, 31, 34, 46, 59, 71, 86, 98, 99], "extract_name_and_id": 93, "extras_requir": 77, "extrem": [46, 68], "ey": [93, 105], "f": [95, 99, 100, 102, 103], "facilit": [96, 100], "factori": [46, 59, 73, 75], "fail": [1, 4, 18, 26, 46, 68, 74, 98], "failur": 99, "fall": [46, 68], "fals": [0, 1, 2, 6, 7, 9, 14, 15, 16, 17, 18, 30, 32, 33, 34, 35, 36, 37, 42, 43, 44, 46, 48, 52, 53, 62, 63, 71, 72, 74, 75, 82, 86, 93, 96, 98, 100, 102], "faq": 68, "fastchat": [18, 26, 93, 97], "fatih": [46, 68], "fault": [46, 68, 88, 90, 98, 108], "feasibl": 98, "featur": [88, 90, 94, 98, 102, 103, 104, 107, 108], "fed": [33, 97], "feed": [46, 65, 71], "feedback": 105, "feel": [93, 105], "fenc": [30, 31, 32, 98], "fetch": [68, 102], "few": 93, "field": [1, 2, 4, 6, 9, 11, 18, 21, 24, 27, 30, 31, 32, 33, 34, 43, 45, 46, 71, 90, 92, 95, 97, 98, 99, 100, 101, 103], "fig_path": 46, "figur": [18, 20], "figure1": [18, 20], "figure2": [18, 20], "figure3": [18, 20], "file": [0, 1, 9, 12, 13, 14, 15, 16, 17, 18, 20, 23, 39, 42, 43, 44, 46, 48, 49, 69, 71, 73, 74, 75, 82, 84, 90, 92, 93, 95, 97, 99, 100, 101, 103], "file_path": [14, 15, 16, 46, 51, 52, 53, 74, 99, 100], "filenotfounderror": 84, "filepath": [46, 69], "filesystem": 48, "fill": [1, 2, 30, 32, 46, 71, 98], "filter": [1, 4, 14, 15, 16, 30, 32, 33, 34, 73, 75, 98, 100, 102], "filter_func": [14, 15, 16, 100], "filter_regex": [73, 75], "final": [30, 34, 85, 95, 101], "find": [46, 49, 61, 97, 99, 101, 105], "find_available_port": 77, "fine": 94, "finish": 98, "finish_discuss": 98, "first": [14, 15, 16, 18, 20, 24, 29, 46, 67, 68, 73, 75, 85, 88, 91, 100, 101, 103, 105, 108, 109], "firstli": 93, "fit": [1, 6, 95, 101], "five": 99, "fix": [104, 105], "flag": 93, "flask": 97, "flexibl": [90, 92, 95, 98], "flexibli": [98, 101], "float": [14, 16, 18, 25, 46, 48, 55, 56, 73, 74, 75, 97], "flow": [17, 35, 36, 37, 86, 92, 93, 94, 96, 98], "flush": [73, 75, 82], "fn_choic": 81, "focus": [102, 105], "follow": [0, 1, 6, 13, 17, 18, 20, 21, 23, 24, 26, 29, 30, 31, 35, 37, 38, 43, 44, 46, 65, 68, 70, 73, 75, 91, 92, 93, 94, 97, 98, 99, 100, 101, 102, 103], "forc": [46, 70], "fork": 48, "forlooppipelin": [35, 36, 37], "forlooppipelinenod": 86, "form": 100, "format": [1, 3, 4, 9, 10, 11, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31, 32, 34, 38, 46, 48, 59, 65, 73, 75, 76, 93, 94, 95, 99, 100, 105], "format_exampl": [30, 32], "format_instruct": [30, 31, 32, 34, 98], "format_map": [38, 93, 101], "formerli": [43, 45], "formul": 17, "forward": [18, 24], "found": [6, 11, 18, 21, 46, 77, 84, 86, 93, 98, 103], "foundat": 95, "fragment": [14, 15, 16], "framework": 17, "free": [93, 105], "freedom": 98, "freeli": 98, "from": [1, 2, 3, 4, 6, 8, 11, 14, 15, 16, 17, 18, 21, 23, 24, 25, 28, 29, 38, 43, 44, 46, 48, 49, 51, 55, 59, 61, 67, 68, 69, 70, 71, 73, 74, 75, 77, 81, 82, 85, 86, 90, 92, 93, 96, 98, 99, 100, 101, 102, 103, 105, 106], "fulfil": 90, "full": [46, 75], "func": [46, 59, 99], "func_nam": [39, 40], "funcpipelin": 96, "function": [1, 2, 3, 4, 6, 11, 14, 15, 16, 17, 18, 20, 21, 22, 23, 28, 33, 35, 37, 38, 39, 40, 43, 45, 46, 48, 55, 56, 59, 61, 65, 71, 73, 74, 75, 81, 84, 85, 90, 92, 93, 94, 95, 96, 97, 100, 101, 102, 103, 106], "function_nam": [81, 99], "functioncallerror": 11, "functioncallformaterror": 11, "functionnotfounderror": 11, "fundament": [90, 95], "further": 99, "furthermor": 90, "futur": [1, 2, 46, 61, 94, 106], "fuzzi": [46, 68], "g": [17, 18, 20, 21, 22, 23, 24, 25, 26, 28, 46, 48, 49, 57, 59, 62, 90, 92, 93, 97, 99, 101, 102], "gain": 93, "game_werewolf": [1, 4, 93], "gather": [95, 101], "gemini": [18, 21, 92, 101], "gemini_api_kei": 97, "gemini_chat": [18, 21, 97], "gemini_embed": [18, 21, 97], "geminichatwrapp": [18, 21, 97], "geminiembeddingwrapp": [18, 21, 97], "geminiwrapperbas": [18, 21], "gener": [0, 1, 2, 3, 4, 7, 9, 14, 16, 17, 18, 20, 21, 22, 24, 25, 28, 30, 31, 34, 41, 43, 44, 45, 46, 48, 59, 68, 74, 75, 77, 81, 82, 84, 86, 90, 92, 94, 95, 97, 98, 99, 100, 101, 103], "generate_agent_id": [1, 2], "generate_arg": [18, 20, 22, 23, 25, 28, 93, 97], "generate_cont": [18, 21], "generate_id_from_se": 77, "generate_image_from_nam": 82, "generate_server_id": [43, 44], "generatecont": [18, 21], "generation_method": [18, 21], "get": [1, 2, 14, 16, 17, 18, 23, 30, 32, 34, 39, 40, 43, 45, 46, 51, 59, 73, 74, 75, 76, 77, 82, 90, 99, 103, 105], "get_agent_class": [1, 2], "get_all_ag": 86, "get_chat": 81, "get_chat_msg": 82, "get_current_directori": [46, 51], "get_embed": [14, 16, 100], "get_full_nam": [75, 102], "get_help": 46, "get_memori": [14, 15, 16, 38, 95, 100], "get_metr": [73, 75, 102], "get_monitor": [73, 75, 102], "get_openai_max_length": 76, "get_player_input": 82, "get_quota": [73, 75, 102], "get_reset_msg": 82, "get_respons": [39, 40], "get_task_id": [43, 45], "get_unit": [73, 75, 102], "get_valu": [73, 75, 102], "get_wrapp": [18, 23], "git": [91, 105], "github": [1, 4, 18, 21, 48, 67, 74, 91, 105, 107], "give": [46, 93, 98], "given": [1, 2, 6, 7, 8, 9, 18, 20, 23, 29, 38, 46, 49, 67, 69, 70, 71, 72, 74, 81, 82, 84, 85, 86, 95, 96, 99], "glanc": 93, "glm": [97, 101], "glm4": 97, "global": 81, "go": 95, "goal": 101, "gone": 94, "good": [30, 34, 93], "googl": [18, 21, 39, 46, 59, 70, 86, 92, 99], "google_search": [46, 70, 99], "googlesearchservicenod": 86, "govern": [46, 70], "gpt": [18, 22, 23, 25, 92, 93, 95, 97, 101, 102], "graph": [85, 90], "grasp": 93, "greater": 93, "grep": [46, 49], "group": [0, 29, 46, 70, 93, 96, 104], "growth": 104, "grpc": [1, 7, 39, 42], "guid": [93, 94, 95, 98, 99], "guidanc": 101, "h": [46, 71], "ha": [0, 1, 2, 3, 4, 8, 18, 20, 29, 46, 48, 55, 70, 93, 94, 95, 97, 98, 101, 102, 103, 105], "hand": 98, "handl": [46, 59, 74, 81, 86, 93, 96, 98, 99, 100, 101], "hard": [1, 2, 3, 4, 14, 16], "hardwar": 74, "hash": 82, "hasn": 93, "have": [13, 14, 16, 18, 20, 21, 22, 59, 86, 91, 93, 95, 98, 100, 101, 102, 104, 105], "header": [18, 23, 26, 74, 97], "heal": 93, "healing_used_tonight": 93, "hello": [94, 98], "help": [1, 6, 17, 18, 20, 24, 38, 46, 65, 92, 93, 94, 95, 97, 98, 101, 105], "helper": [90, 93, 96], "her": 93, "here": [46, 57, 59, 93, 94, 95, 96, 97, 98, 99, 100, 102, 104, 105], "hex": 100, "hi": [18, 20, 24, 92, 101], "hierarch": 90, "high": [88, 90, 108], "higher": [14, 16, 91], "highest": [46, 55], "highli": 101, "highlight": 99, "hint": [30, 31, 32, 34, 93, 95, 98, 101], "hint_prompt": [38, 101], "histor": 100, "histori": [1, 2, 7, 8, 18, 20, 24, 38, 72, 77, 93, 96, 101], "hold": 103, "home": [46, 70], "hong": [46, 68], "hook": 105, "host": [1, 2, 7, 17, 39, 40, 43, 44, 45, 46, 48, 61, 62, 72, 93, 103], "hostmsg": 93, "hostnam": [1, 2, 7, 17, 39, 40, 43, 44, 45, 46, 61], "how": [14, 15, 16, 18, 20, 24, 46, 68, 92, 93, 94, 95, 96, 97, 102, 104, 105, 106, 109], "how_to_format_inputs_to_chatgpt_model": [17, 100], "howev": [17, 98, 100, 101], "html": [1, 4, 46, 68, 71, 99], "html_selected_tag": [46, 71], "html_text": [46, 71], "html_to_text": [46, 71], "http": [1, 4, 6, 17, 18, 20, 21, 22, 24, 28, 46, 48, 67, 68, 70, 74, 91, 94, 97, 99, 100, 101, 105], "hu": [46, 68], "hub": [29, 86, 93, 96], "hub_manag": 96, "huggingfac": [23, 92, 97, 101], "human": [48, 74], "human_ev": [48, 74], "i": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 34, 35, 37, 38, 39, 40, 46, 48, 51, 52, 55, 57, 59, 61, 65, 67, 68, 70, 71, 73, 74, 75, 77, 82, 84, 85, 86, 88, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 105, 108, 109], "id": [0, 1, 2, 7, 17, 18, 23, 25, 26, 39, 40, 43, 44, 45, 46, 67, 77, 81, 92, 100], "id_list": [46, 67], "idea": [1, 6, 18, 21, 30, 34, 105], "ident": 93, "identif": 98, "identifi": [0, 17, 18, 20, 22, 23, 24, 25, 26, 28, 46, 70, 85, 92, 93, 94, 97, 100], "idx": 93, "if_body_oper": [35, 36, 37], "ifelsepipelin": [35, 36, 37], "ifelsepipelinenod": 86, "ignor": [95, 101], "illustr": [93, 96], "imag": [1, 8, 17, 18, 20, 27, 46, 48, 57, 81, 82, 90, 92, 95, 97, 99, 100, 101], "image_term": 81, "image_to_text": 46, "image_url": [18, 27, 46, 101], "image_url1": 46, "image_url2": 46, "imaginari": 93, "immedi": [1, 2, 17, 88, 93, 94, 95, 103, 108], "impl_typ": [73, 75], "implement": [1, 2, 5, 6, 17, 18, 20, 22, 23, 24, 28, 35, 37, 46, 48, 59, 67, 74, 86, 90, 95, 96, 97, 98, 100, 101, 102], "impli": 103, "import": [0, 1, 14, 18, 35, 39, 43, 46, 48, 72, 73, 75, 81, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102, 103], "import_function_from_path": 81, "importantand": [46, 71], "importerror": 77, "importerrorreport": 77, "impos": [46, 48], "improv": [99, 104, 105], "in_subprocess": [43, 44], "includ": [0, 1, 2, 4, 7, 8, 28, 35, 37, 46, 49, 51, 52, 53, 68, 70, 74, 85, 90, 92, 93, 95, 97, 98, 99, 100, 105], "including_self": [1, 7], "incom": 95, "increas": [73, 75], "increment": [43, 45, 102], "independ": 90, "index": [14, 15, 16, 46, 67, 68, 88, 99, 100], "indic": [14, 15, 16, 46, 51, 52, 53, 68, 73, 74, 75, 93, 94, 95, 98, 99, 100, 103], "individu": [46, 70, 98], "ineffici": 103, "infer": [23, 26, 92, 97], "info": [0, 13, 85, 94], "inform": [1, 2, 6, 7, 8, 9, 17, 18, 21, 46, 65, 67, 68, 70, 71, 85, 86, 90, 93, 95, 96, 98, 99, 100, 102, 104], "inher": 90, "inherit": [1, 2, 17, 18, 23, 93, 96, 97, 98, 103], "init": [0, 1, 2, 28, 38, 39, 40, 43, 44, 45, 72, 73, 75, 77, 89, 92, 93, 94, 97, 99, 102, 103], "init_uid_list": 81, "init_uid_queu": 82, "initi": [0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 17, 18, 20, 21, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 43, 44, 45, 46, 59, 73, 75, 81, 82, 84, 85, 86, 92, 95, 96, 97, 99, 100, 102, 103], "initial_announc": 96, "inject": 101, "innov": [88, 108], "input": [1, 2, 3, 4, 7, 8, 9, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 28, 35, 36, 37, 39, 40, 43, 44, 45, 46, 65, 71, 81, 82, 85, 86, 90, 92, 93, 95, 96, 97, 98, 99, 101, 103], "input_msg": 77, "insecur": 42, "insid": [99, 102], "insight": 104, "inspect": 99, "instal": [24, 77, 88, 90, 93, 103, 105, 108, 109], "instanc": [1, 2, 7, 17, 43, 45, 72, 73, 75, 85, 93, 94, 96, 97, 100, 101, 103], "instanti": [96, 100], "instruct": [1, 4, 30, 31, 32, 34, 46, 59, 65, 90, 95, 97, 99, 101], "instruction_format": 98, "int": [1, 2, 4, 6, 7, 9, 14, 15, 16, 17, 18, 26, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 48, 55, 59, 61, 62, 63, 65, 67, 68, 69, 70, 71, 72, 74, 76, 77, 82, 99, 100], "integr": [90, 109], "intel": [46, 68], "intellig": [46, 68], "intenum": [10, 38, 46, 58, 86], "interact": [11, 35, 37, 46, 48, 49, 90, 92, 93, 94, 95, 96, 100, 103], "interest": 104, "interf": 48, "interfac": [35, 37, 73, 75, 81, 86, 90, 94, 95, 96, 97, 101, 102, 103], "interlay": 90, "intern": 95, "interv": [18, 26], "introduc": [90, 92, 93, 95, 98, 99, 100, 103], "intuit": 90, "invalid": [74, 101], "investopedia": [46, 70], "invit": 104, "invoc": [0, 92, 97], "invok": [1, 3, 4, 46, 49, 71, 86, 95, 96, 101], "involv": [30, 34, 93, 98, 99, 105], "io": [1, 4], "ioerror": 74, "ip": [1, 2, 46, 61, 62, 103], "ip_a": 103, "ip_b": 103, "ipython": [46, 48], "is_callable_express": 87, "is_play": 82, "is_valid_url": 71, "isinst": 95, "isn": 94, "issu": [30, 34, 74, 94, 98, 104, 105], "item": [46, 68, 77, 99, 100], "iter": [1, 6, 14, 15, 16, 86, 96, 100], "its": [1, 2, 3, 14, 16, 23, 38, 43, 45, 46, 51, 59, 61, 68, 74, 85, 92, 93, 95, 97, 98, 99, 100, 101, 102, 105], "itself": [14, 16, 100, 103], "j": [46, 68], "jif": [46, 68], "job": [46, 71], "join": [38, 88, 93, 99, 107, 108], "join_to_list": 38, "join_to_str": 38, "journal": [46, 68], "jpg": [46, 92, 101], "jr": [46, 67], "json": [0, 1, 4, 10, 11, 17, 18, 26, 30, 32, 34, 38, 43, 44, 46, 59, 70, 71, 74, 84, 92, 93, 95, 99, 100, 101], "json_arg": [18, 26], "json_required_hint": [30, 34], "json_schema": [46, 59, 99], "jsondecodeerror": [1, 4], "jsondictvalidationerror": 11, "jsonparsingerror": 11, "jsontypeerror": 11, "judgment": 98, "just": [14, 15, 16, 35, 36, 37, 38, 96, 98, 102, 103], "k": [46, 55, 100], "k1": [35, 37], "k2": [35, 37], "keep": [18, 20, 21, 46, 65, 71, 94, 98, 104, 105], "keep_al": [18, 24, 97], "keep_raw": [46, 71], "kei": [1, 4, 9, 13, 18, 20, 22, 25, 26, 28, 30, 32, 33, 34, 46, 59, 65, 70, 71, 86, 92, 95, 97, 98, 99, 100, 102, 103, 109], "kernel": [46, 68], "keskin": [46, 68], "keskinday21": [46, 68], "keyerror": 100, "keys_allow_miss": [30, 34], "keys_to_cont": [30, 32, 33, 34, 98], "keys_to_memori": [30, 32, 33, 34, 98], "keys_to_metadata": [30, 32, 33, 34, 98], "keyword": [18, 20, 22, 24, 25, 28, 46, 70, 99], "kill": [48, 93], "kind": [35, 37, 98], "know": 93, "knowledg": [46, 55, 103], "known": 93, "kong": [46, 68], "kwarg": [1, 2, 3, 4, 6, 7, 8, 9, 13, 17, 18, 20, 21, 22, 23, 24, 25, 26, 28, 43, 45, 46, 59, 61, 62, 63, 70, 85, 87, 95, 97, 99, 100], "kwarg_convert": 87, "l": [46, 49, 51], "lab": [46, 68], "lack": 74, "lambda": [35, 36, 37], "languag": [1, 3, 4, 30, 31, 90, 95, 96, 98, 99, 101], "language_nam": [30, 31, 98], "larg": [90, 98, 99, 101, 103], "last": [14, 16, 18, 20, 92, 93, 101], "later": 95, "latest": 104, "launch": [1, 2, 7, 43, 44, 84, 90, 103], "launch_serv": [1, 2], "launcher": 43, "layer": [46, 48, 90], "lazy_launch": [1, 2, 7], "lead": [1, 9], "learn": [46, 67, 68, 70, 93, 99, 102], "least": [1, 4, 101], "leav": [46, 61], "lecun": [46, 67], "length": [18, 26, 38, 76, 77, 101], "less": [46, 65, 90], "let": [90, 93, 103], "level": [0, 13, 88, 90, 94, 108], "li": [46, 71], "licens": [67, 90], "life": 93, "lihong": [46, 68], "like": [35, 36, 37, 92, 93, 96, 101], "limit": [1, 9, 18, 25, 46, 48, 65, 74, 98, 102], "line": [43, 44, 82, 84, 93, 94, 95], "link": [46, 70, 71, 100], "list": [0, 1, 3, 7, 9, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 32, 33, 34, 38, 43, 44, 46, 51, 55, 56, 59, 67, 68, 70, 72, 76, 77, 81, 82, 85, 86, 87, 92, 93, 95, 96, 97, 98, 99, 100, 102], "list_directory_cont": [46, 51], "list_model": 21, "listen": [1, 2, 7, 43, 44], "lite_llm_openai_chat_gpt": 97, "litellm": [18, 22, 101], "litellm_chat": [18, 22, 97], "litellmchatmodelwrapp": 97, "litellmchatwrapp": [18, 22, 97], "litellmwrapperbas": [18, 22], "liter": [0, 13, 17, 46, 85, 94], "littl": [46, 61], "liu": [46, 68], "ll": [93, 94, 102], "llama": 97, "llama2": [97, 101], "llm": [30, 32, 34, 90, 98, 99, 101], "load": [0, 1, 2, 3, 4, 6, 8, 14, 15, 16, 18, 21, 24, 30, 34, 84, 86, 92, 93, 97, 98, 99, 100], "load_config": 84, "load_from_config": [1, 2], "load_memori": [1, 2], "load_model_by_config_nam": 18, "load_web": [46, 71, 99], "local": [0, 1, 2, 7, 13, 18, 20, 43, 44, 73, 75, 90, 92, 93, 100, 101, 103, 105], "local_attr": 17, "local_mod": [1, 2, 7, 43, 44], "localhost": [1, 2, 7, 43, 44, 45, 46, 62], "locat": [17, 46, 69, 93, 101, 103], "log": [0, 12, 74, 88, 93, 95, 108, 109], "log_level": [0, 94], "log_studio": 13, "logger": [0, 13, 100], "logger_level": [0, 93, 94], "logic": [1, 5, 35, 37, 86, 95, 96], "loguru": [13, 94], "london": 101, "long": [10, 24, 38, 96, 97, 103], "longer": 102, "look": 93, "loop": [1, 6, 35, 36, 37, 86, 92, 93, 98], "loop_body_oper": [35, 36, 37], "lst": 85, "ltd": [46, 68], "lukasschwab": 67, "lynch": 93, "m": [94, 105], "mac": 91, "machin": [46, 68, 103], "machine1": 103, "machine2": 103, "machinesand": [46, 68], "made": [102, 105], "mai": [1, 4, 18, 20, 21, 46, 59, 70, 85, 93, 95, 96, 97, 98, 101, 102, 103, 105], "main": [18, 27, 84, 93, 95, 96, 98, 99, 103, 105], "maintain": [17, 95, 100], "mainthread": 74, "major": 93, "majority_vot": 93, "make": [17, 18, 21, 95, 97, 101, 102, 103], "manag": [12, 29, 74, 86, 90, 91, 92, 93, 95, 96, 102], "mani": [46, 61, 62, 101], "manipul": 100, "manner": [88, 103, 108], "manual": 96, "map": [35, 36, 37, 96, 99], "mark": 98, "markdown": [30, 31, 32, 98], "markdowncodeblockpars": [30, 31], "markdownjsondictpars": [30, 32], "markdownjsonobjectpars": [30, 32], "master": [48, 74], "match": [14, 15, 16, 93], "matplotlib": [46, 48], "max": [1, 2, 7, 38, 43, 44, 45, 76, 97, 101], "max_game_round": 93, "max_it": [1, 6], "max_iter": 96, "max_length": [18, 23, 26, 38], "max_length_of_model": 23, "max_loop": [35, 36, 37], "max_pool_s": [1, 2, 7, 43, 44, 45], "max_result": [46, 67], "max_retri": [1, 4, 18, 23, 26, 97], "max_return_token": [46, 65], "max_summary_length": 38, "max_timeout_second": [1, 2, 7, 43, 44, 45], "max_werewolf_discussion_round": 93, "maxcount_result": [46, 61, 62, 63], "maximum": [1, 2, 4, 6, 18, 26, 35, 36, 37, 43, 44, 45, 46, 48, 55, 61, 62, 63, 67, 101, 102], "maximum_memory_byt": [46, 48], "mayb": [1, 6, 17, 18, 20, 24, 28, 30, 34], "md": 97, "me": 93, "mean": [0, 1, 2, 14, 16, 18, 25, 29, 92, 98, 103], "meanwhil": [98, 103], "mechan": [88, 90, 92, 96, 108], "meet": [35, 36, 37, 95, 99, 101], "member": 105, "memori": [1, 2, 3, 4, 7, 8, 9, 17, 24, 33, 38, 46, 48, 55, 88, 90, 93, 95, 97, 98, 101, 103, 106, 108], "memory_config": [1, 2, 3, 4, 8, 95], "memorybas": [14, 15, 16], "merg": [18, 20], "messag": [0, 1, 2, 3, 4, 7, 9, 11, 13, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 28, 29, 33, 39, 40, 43, 44, 45, 46, 49, 51, 52, 53, 55, 57, 61, 62, 63, 65, 68, 69, 74, 81, 82, 86, 88, 92, 93, 95, 97, 99, 101, 102, 103, 105, 106], "message_from_alic": 92, "message_from_bob": 92, "messagebas": [14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 28], "messages_kei": [18, 26, 97], "met": 96, "meta": [46, 68, 97], "metadata": [17, 42, 98, 100], "method": [1, 2, 5, 7, 9, 14, 15, 16, 17, 18, 21, 30, 32, 33, 34, 46, 68, 85, 86, 92, 95, 98, 99, 100, 101, 102, 103], "metric": [14, 16, 73, 75, 100], "metric_nam": [73, 75], "metric_name_a": [73, 75], "metric_name_b": [73, 75], "metric_unit": [73, 75, 102], "metric_valu": [73, 75], "microsoft": [46, 70, 99], "might": [18, 22, 93, 101, 105], "migrat": 103, "mind": 95, "mine": [18, 20], "minim": 95, "miss": [11, 30, 32, 34, 39, 42, 77, 95], "missing_begin_tag": 11, "missing_end_tag": 11, "misunderstand": [18, 20], "mit": 67, "mix": 96, "mixin": 33, "mixtur": [101, 103], "mkt": [46, 70], "modal": [90, 99, 100], "mode": [43, 44, 72, 74, 91], "model": [0, 1, 2, 3, 4, 6, 8, 10, 11, 14, 16, 17, 30, 31, 32, 33, 34, 38, 43, 44, 46, 55, 59, 65, 71, 73, 75, 76, 85, 86, 88, 90, 95, 99, 100, 102, 106, 108, 109], "model_a": 102, "model_a_metr": 102, "model_b": 102, "model_b_metr": 102, "model_config": [0, 92, 93, 97, 103], "model_config_nam": [1, 2, 3, 4, 6, 8, 92, 93, 95], "model_config_or_path": 97, "model_config_path_a": 103, "model_config_path_b": 103, "model_configs_templ": 103, "model_dump": 102, "model_nam": [18, 20, 21, 22, 23, 24, 25, 26, 28, 73, 75, 76, 92, 93, 97, 101, 102], "model_name_for_openai": 23, "model_respons": 99, "model_typ": [18, 20, 21, 22, 23, 24, 25, 26, 28, 92, 93, 97], "modelnod": 86, "modelrespons": [18, 27, 30, 31, 32, 33, 34, 97, 98], "modelscop": [1, 4, 91, 92, 97], "modelscope_cfg_dict": 92, "modelwrapp": 97, "modelwrapperbas": [18, 20, 21, 22, 23, 24, 25, 26, 28, 38, 46, 55, 65, 71, 97, 101], "moder": 93, "modifi": [1, 6, 48, 95, 98, 103], "modul": [0, 1, 14, 16, 18, 30, 35, 38, 39, 43, 46, 57, 73, 81, 85, 88, 90, 94, 99, 100, 106], "module_nam": 81, "module_path": 81, "mongodb": [46, 99], "monitor": [0, 18, 23, 73, 88, 106, 108], "monitor_metr": 75, "monitorbas": [73, 75, 102], "monitorfactori": [73, 75, 102], "more": [0, 1, 6, 18, 20, 21, 22, 29, 46, 70, 92, 93, 94, 95, 98, 99, 100, 101, 103], "most": [14, 15, 17, 43, 44, 93, 100, 101], "mount": 98, "mountain": 46, "move": [46, 51, 99], "move_directori": [46, 51, 99], "move_fil": [46, 51, 99], "mp3": 101, "msg": [1, 2, 9, 17, 18, 20, 21, 22, 24, 25, 26, 28, 29, 38, 77, 81, 82, 92, 93, 94, 95, 96, 98, 101, 103], "msg_hub": 96, "msg_id": 82, "msghub": [0, 88, 89, 92, 106, 108], "msghubmanag": [0, 29, 96], "msghubnod": 86, "msgnode": 86, "msgtype": 38, "much": [0, 29, 96, 105], "muhammet": [46, 68], "multi": [18, 21, 88, 90, 91, 92, 93, 94, 95, 96, 99, 100, 101, 102, 103, 104, 108], "multimod": [18, 20, 46, 97, 101], "multipl": [15, 17, 18, 20, 30, 34, 35, 36, 37, 46, 73, 75, 86, 92, 93, 95, 96, 98, 101, 102, 103, 105], "multitaggedcontentpars": [30, 34], "must": [14, 15, 16, 18, 20, 21, 22, 30, 34, 73, 75, 93, 95, 98, 99, 101, 103], "mutlipl": 103, "my_arg1": 97, "my_arg2": 97, "my_dashscope_chat_config": 97, "my_dashscope_image_synthesis_config": 97, "my_dashscope_multimodal_config": 97, "my_dashscope_text_embedding_config": 97, "my_gemini_chat_config": 97, "my_gemini_embedding_config": 97, "my_model": 97, "my_model_config": 97, "my_ollama_chat_config": 97, "my_ollama_embedding_config": 97, "my_ollama_generate_config": 97, "my_postapichatwrapper_config": 97, "my_postapiwrapper_config": 97, "my_zhipuai_chat_config": 97, "my_zhipuai_embedding_config": 97, "myagent": 93, "mymodelwrapp": 97, "mysql": [46, 61, 99], "mythought": 17, "n": [14, 15, 18, 20, 24, 30, 31, 34, 35, 37, 38, 46, 65, 71, 91, 93, 95, 97, 98, 99, 101], "n1": 93, "n2": 93, "nalic": 101, "name": [0, 1, 2, 3, 4, 6, 7, 8, 9, 13, 14, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 28, 30, 31, 32, 34, 39, 40, 43, 45, 46, 48, 59, 61, 62, 63, 65, 68, 73, 75, 82, 84, 85, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 101, 102, 103, 105], "nanyang": [46, 68], "nation": [46, 68], "nativ": [46, 48], "natur": [46, 48, 93, 100], "navig": 95, "nbob": 101, "nconstraint": 93, "necessari": [59, 74, 85, 90, 96, 99, 100], "need": [1, 4, 6, 14, 16, 18, 22, 23, 43, 44, 46, 65, 86, 91, 93, 95, 97, 98, 99, 100, 101, 102, 103], "negative_prompt": 97, "neither": 93, "networkx": 85, "new": [14, 15, 16, 29, 39, 40, 43, 45, 46, 51, 73, 75, 91, 96, 97, 98, 100, 102, 104, 107], "new_ag": 96, "new_particip": [29, 96], "newlin": 101, "next": [82, 86, 96, 98, 103, 109], "nfor": 93, "ngame": 93, "nice": 101, "night": 93, "nin": 93, "node": [85, 86, 87], "node_id": [85, 86], "node_info": 85, "node_typ": 86, "nodes_not_in_graph": 85, "non": [46, 48, 85, 90, 103], "none": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 48, 55, 59, 61, 62, 63, 67, 71, 72, 73, 74, 75, 77, 81, 82, 84, 85, 86, 92, 95, 96, 98, 99, 100, 101, 103], "nor": 93, "normal": 99, "note": [1, 2, 6, 18, 20, 22, 24, 28, 43, 44, 45, 46, 49, 91, 92, 93, 95, 96, 97, 98, 101, 102, 103], "noth": [35, 36, 37, 75, 102], "notic": [14, 15, 16, 46, 65, 93], "notif": 105, "notifi": [1, 2], "notimplementederror": [95, 100], "noun": [46, 70], "now": [46, 61, 93, 96, 105], "nplayer": 93, "nseer": 93, "nsummar": [46, 65], "nthe": 93, "nthere": 93, "num_complet": [46, 68], "num_dot": 82, "num_inst": [1, 7], "num_result": [46, 59, 68, 70, 99], "num_tokens_from_cont": 76, "number": [1, 2, 4, 6, 7, 14, 15, 16, 18, 26, 35, 36, 37, 38, 43, 44, 45, 46, 55, 56, 59, 61, 62, 63, 65, 67, 68, 69, 70, 74, 77, 93, 94, 96, 98, 99, 100, 101, 102, 103], "nuser": 101, "nvictori": 93, "nvillag": 93, "nwerewolv": 93, "nwitch": 93, "nyou": [46, 65, 93], "o": [18, 22, 46, 48, 74], "obei": 101, "object": [0, 1, 2, 6, 9, 11, 14, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 38, 39, 40, 42, 43, 44, 46, 57, 59, 61, 62, 63, 69, 71, 73, 75, 77, 85, 86, 93, 95, 96, 99, 100, 101, 103], "object_nam": 100, "observ": [0, 1, 2, 7, 29, 93, 94, 95, 96], "obtain": [43, 44, 46, 71, 102], "occupi": 77, "occur": [74, 95, 99], "offer": [90, 92], "offici": [90, 101, 105], "often": [17, 100, 101], "okai": 93, "old": [14, 15, 16], "oldest": [1, 2, 43, 44, 45], "ollama": [18, 24, 101], "ollama_chat": [18, 24, 97], "ollama_embed": [18, 24, 97], "ollama_gener": [18, 24, 97], "ollamachatwrapp": [18, 24, 97], "ollamaembeddingwrapp": [18, 24, 97], "ollamagenerationwrapp": [18, 24, 97], "ollamawrapperbas": [18, 24], "omit": [95, 96, 99, 100], "onc": [73, 75, 92, 99, 102, 103, 105], "one": [13, 14, 15, 16, 17, 18, 20, 21, 23, 46, 55, 82, 86, 93, 95, 96, 99, 101], "ones": [14, 15, 16], "ongo": 95, "onli": [1, 2, 4, 6, 7, 17, 18, 20, 43, 44, 46, 48, 61, 73, 74, 75, 93, 97, 98, 99, 100, 101, 102, 103], "open": [17, 28, 30, 32, 46, 59, 65, 74, 92, 93, 105], "openai": [17, 18, 22, 23, 25, 26, 46, 48, 59, 74, 76, 77, 92, 93, 99, 100, 101, 102], "openai_api_kei": [18, 22, 25, 92, 97], "openai_cfg_dict": 92, "openai_chat": [18, 23, 25, 92, 93, 97], "openai_dall_": [18, 25, 92, 97], "openai_embed": [18, 25, 92, 97], "openai_model_config": 92, "openai_organ": [18, 25, 92], "openai_respons": 102, "openaichatwrapp": [18, 25, 97], "openaidallewrapp": [18, 25, 97], "openaiembeddingwrapp": [18, 25, 97], "openaiwrapperbas": [18, 25, 97], "oper": [1, 2, 35, 36, 37, 38, 46, 48, 51, 52, 53, 61, 67, 73, 74, 75, 85, 86, 90, 93, 95, 96, 99, 100], "opportun": 93, "opposit": [46, 68], "opt": 86, "opt_kwarg": 86, "optim": [18, 22, 90, 103], "option": [0, 1, 2, 3, 4, 8, 9, 14, 15, 16, 17, 18, 24, 27, 29, 30, 31, 32, 33, 34, 35, 36, 38, 39, 40, 42, 43, 44, 46, 48, 55, 59, 67, 71, 72, 73, 74, 75, 86, 90, 91, 92, 93, 95, 96, 97, 99, 100, 101, 102], "orchestr": [93, 96], "order": [14, 16, 18, 20, 46, 55, 85, 90, 93, 96, 103], "ordinari": 93, "org": [1, 6, 46, 68], "organ": [1, 3, 15, 18, 23, 25, 46, 70, 92, 93, 94, 97, 101, 105], "orient": 96, "origin": [14, 16, 46, 55, 59, 75, 77, 100, 102, 103], "original_func": 59, "other": [0, 1, 2, 4, 7, 8, 17, 28, 29, 30, 33, 34, 46, 48, 61, 68, 93, 95, 96, 98, 100, 101, 103, 104, 105], "otherwis": [0, 1, 2, 14, 15, 16, 43, 44, 46, 57, 59, 65, 71, 99], "our": [1, 4, 17, 18, 21, 93, 101, 103, 104, 105], "out": [1, 2, 6, 9, 35, 36, 37, 93, 94, 105], "outlast": 93, "outlin": [30, 34, 93, 96, 98, 99], "output": [0, 1, 4, 29, 35, 36, 37, 46, 48, 49, 59, 71, 85, 86, 93, 94, 95, 96, 98, 103], "outsid": 96, "over": [86, 94, 98], "overridden": [1, 5], "overutil": 102, "overview": [90, 99], "overwrit": [14, 15, 16, 46, 52, 53, 97, 100], "overwritten": 74, "own": [1, 6, 17, 18, 20, 22, 24, 28, 88, 92, 93, 98, 101, 106, 108], "p": [46, 71], "paa": 28, "packag": [0, 1, 18, 35, 39, 43, 46, 73, 77, 91, 103], "page": [46, 68, 71, 88, 99, 100], "pair": [98, 101], "paper": [1, 6, 46, 67, 68, 103], "paradigm": 103, "parallel": [90, 103], "param": [14, 15, 16, 22, 30, 32, 34, 71, 74, 99], "paramet": [0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 48, 49, 51, 52, 53, 55, 56, 57, 59, 61, 62, 63, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 84, 85, 86, 93, 98, 99, 100, 101, 103], "params_prompt": 99, "parent": 86, "pars": [1, 4, 11, 18, 27, 30, 31, 32, 33, 34, 46, 52, 59, 68, 71, 74, 84, 99, 101], "parse_and_call_func": [46, 59, 99], "parse_func": [18, 26, 98], "parse_html_to_text": [46, 71], "parse_json": [30, 34, 98], "parsed_respons": 33, "parser": [1, 4, 27, 88, 106], "parserbas": [1, 4, 30, 31, 32, 33, 34, 98], "part": [86, 101, 104, 105], "parti": [18, 21, 92, 101], "partial": 38, "particip": [0, 29, 35, 36, 86, 93, 98], "particular": 102, "particularli": 102, "pass": [0, 1, 2, 3, 4, 14, 15, 16, 17, 18, 21, 29, 46, 59, 77, 86, 92, 93, 96, 97, 99, 100, 101, 103], "password": [46, 62, 99], "past": [93, 95], "path": [0, 14, 15, 16, 18, 43, 44, 46, 51, 52, 53, 69, 73, 74, 75, 81, 82, 84, 92, 97, 99, 103], "path_log": 13, "path_sav": 94, "pattern": 96, "paus": 102, "peac": 93, "perform": [1, 3, 8, 18, 22, 46, 68, 85, 86, 88, 90, 93, 95, 96, 99, 101, 105, 108], "period": 102, "permiss": [46, 70, 74], "permissionerror": 74, "person": [46, 70, 93], "pertain": 90, "phase": 93, "phenomenon": [46, 70], "pictur": [18, 20, 92, 101], "pid": [46, 68], "piec": [14, 15, 46, 48, 99, 100], "pip": 105, "pipe": [93, 96], "pipe1": 96, "pipe2": 96, "pipe3": 96, "pipelin": [86, 88, 90, 92, 106, 108], "pipelinebas": [5, 35, 37, 96], "pivot": 95, "place": 98, "placehold": [17, 18, 20, 21, 22, 24, 25, 26, 28, 35, 36, 37, 77, 86, 96], "placeholder_attr": 17, "placeholdermessag": 17, "placeholdernod": 86, "plai": [17, 93, 100, 101], "plain": [1, 4], "platform": [88, 90, 91, 103, 104, 108], "player": [81, 82, 93], "player1": 93, "player2": 93, "player3": 93, "player4": 93, "player5": 93, "player6": 93, "player_nam": 93, "pleas": [1, 4, 6, 22, 24, 43, 44, 46, 49, 68, 70, 92, 93, 95, 96, 98, 99, 100, 101, 102, 103, 105], "plot": [46, 48], "plt": [46, 48], "plu": [46, 97, 101], "png": 101, "point": [72, 81, 99, 101], "poison": [93, 98], "polici": [38, 101], "pool": [1, 2, 43, 44, 45, 93, 95], "pop": 93, "port": [1, 2, 7, 17, 39, 40, 43, 44, 45, 46, 61, 62, 72, 77, 103], "pose": [46, 48], "possibl": 105, "post": [18, 23, 26, 93, 98], "post_api": [18, 23, 26, 97], "post_api_chat": [18, 26, 97], "post_api_dal": 26, "post_api_dall_": [26, 97], "post_api_embed": [26, 97], "post_arg": [18, 26], "postapichatwrapp": [18, 26, 97], "postapidallewrapp": [26, 97], "postapiembeddingwrapp": [26, 97], "postapimodelwrapp": [18, 26], "postapimodelwrapperbas": [18, 26, 97], "potenti": [1, 9, 46, 48, 93, 94], "potion": 93, "power": [46, 68, 70, 93, 98], "practic": 96, "pre": [90, 95, 99, 105], "prebuilt": [88, 108], "precis": 98, "predat": 93, "predecessor": 85, "predefin": [93, 95], "prefer": [91, 96, 101], "prefix": [18, 20, 38, 46, 67, 73, 75, 82, 101], "prepar": [38, 95, 99, 109], "preprocess": [46, 71], "present": [46, 48, 90, 93, 97], "preserv": [14, 16, 46, 55], "preserve_ord": [14, 16, 46, 55], "pretend": 98, "prevent": [14, 15, 16, 18, 21, 48, 86, 96, 102], "primari": [92, 95], "print": [1, 6, 17, 46, 68, 70, 92, 95, 98, 99, 101, 102], "pro": [18, 21, 97, 101], "problem": [6, 104, 105], "problemat": 94, "proce": [84, 93], "process": [1, 2, 3, 4, 9, 38, 43, 44, 45, 46, 48, 59, 65, 71, 85, 93, 94, 95, 96, 98, 99, 100, 101, 105], "process_messag": [43, 45], "processed_func": [46, 59], "produc": [1, 3, 4, 95, 98], "program": [46, 70, 88, 90, 93, 96, 100, 103, 108], "programm": [46, 70], "progress": [98, 104], "project": [0, 10, 91, 94, 95], "prompt": [1, 2, 3, 4, 6, 9, 10, 17, 18, 20, 21, 22, 24, 28, 46, 59, 65, 71, 77, 88, 90, 93, 95, 98, 99, 100, 106, 108], "prompt_token": 102, "prompt_typ": [1, 3, 38], "promptengin": [38, 106], "prompttyp": [1, 3, 38, 100], "properli": [46, 59, 93, 99], "properti": [1, 2, 30, 32, 46, 59, 97, 98, 99, 100], "propos": 105, "proto": [39, 42], "protobuf": 42, "protocol": [1, 5, 41], "provid": [1, 2, 3, 4, 9, 14, 16, 18, 21, 30, 32, 46, 48, 59, 65, 70, 71, 73, 74, 75, 82, 84, 85, 86, 90, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 105], "pte": [46, 68], "public": [46, 68, 99], "pull": [18, 21, 24, 91, 104], "pure": [88, 108], "purg": 100, "purpos": [17, 18, 27, 93, 95], "put": [98, 103], "py": [48, 67, 74, 84, 90, 93], "pydant": [30, 32, 98], "pypi": 91, "python": [46, 48, 49, 70, 84, 85, 86, 88, 90, 91, 92, 93, 94, 99, 100, 108], "python3": 91, "pythonservicenod": 86, "qianwen": [18, 20], "qr": 104, "queri": [14, 16, 46, 55, 59, 61, 62, 63, 67, 68, 70, 74, 99, 100], "query_mongodb": [46, 61, 99], "query_mysql": [46, 62, 99], "query_sqlit": [46, 63, 99], "question": [46, 68, 70, 90, 99, 104], "queue": 82, "quick": [18, 20, 88, 108, 109], "quickli": [92, 97, 101], "quot": 98, "quota": [73, 75], "quotaexceedederror": [73, 75, 102], "quotaexceederror": [73, 75], "qwen": [46, 97, 101], "rais": [1, 2, 4, 9, 11, 18, 26, 30, 32, 73, 75, 77, 84, 85, 95, 100, 105], "random": [0, 43, 44, 77], "randomli": [1, 7], "rang": [14, 15, 35, 37, 86, 93, 96], "rate": 102, "rather": [98, 100, 101, 103], "raw": [11, 18, 27, 46, 71, 85, 97], "raw_info": 85, "raw_respons": 11, "re": [1, 6, 18, 20, 24, 38, 46, 71, 91, 93, 98, 101, 105], "reach": [93, 98], "react": [1, 6, 95], "reactag": [1, 6, 86, 95, 98, 99], "reactagentnod": 86, "read": [18, 25, 28, 46, 52, 53, 86, 92, 93, 97, 99], "read_json_fil": [46, 52, 99], "read_model_config": 18, "read_text_fil": [46, 53, 99], "readabl": 94, "readi": [90, 93, 95, 103, 105], "readm": 97, "readtextservicenod": 86, "real": [17, 103, 104], "realiz": 98, "reason": [1, 6, 11, 98], "rec": [46, 68], "recal": 95, "receiv": [92, 96, 98, 103], "recent": [14, 15, 100], "recent_n": [14, 15, 16, 100], "recommend": [91, 94, 97, 99, 101], "record": [1, 2, 7, 11, 17, 77, 94, 95, 100], "recurs": 86, "redirect": [13, 94], "reduc": 98, "refer": [1, 4, 6, 17, 18, 20, 21, 22, 46, 67, 68, 70, 90, 92, 93, 95, 97, 98, 99, 100, 101, 103], "reform_dialogu": 77, "regist": [1, 2, 11, 46, 59, 73, 75, 92, 97, 99, 103], "register_agent_class": [1, 2], "register_budget": [73, 75, 102], "registr": [73, 75, 102], "registri": [1, 2], "regul": 102, "regular": [73, 75], "relat": [1, 14, 35, 39, 43, 46, 74, 86, 101, 102, 104], "relationship": 103, "releas": [1, 2], "relev": [14, 16, 100, 104, 105], "reli": 102, "reliabl": [88, 108], "remain": [93, 96], "rememb": [91, 93, 105], "remind": [30, 32, 34, 98], "remov": [1, 2, 48, 73, 75, 85, 96, 100], "remove_duplicates_from_end": 85, "renam": 99, "reorgan": 101, "repeat": [86, 93], "repeatedli": 96, "replac": [96, 98], "repli": [1, 2, 3, 4, 6, 7, 8, 9, 33, 43, 44, 45, 82, 93, 95, 98, 99, 100, 103], "replic": 86, "repons": 95, "report": 107, "repositori": [18, 21, 67, 91, 92, 104], "repres": [1, 3, 4, 9, 35, 37, 46, 70, 85, 86, 90, 94, 96, 99, 100, 101, 103], "represent": [17, 100], "reproduc": 105, "reqeust": [39, 40], "request": [1, 2, 7, 18, 21, 24, 26, 28, 39, 42, 43, 44, 45, 46, 59, 69, 71, 74, 94, 99, 103, 104], "requests_get": 74, "requir": [0, 1, 4, 9, 11, 18, 20, 22, 23, 24, 25, 26, 28, 29, 30, 32, 34, 36, 73, 75, 77, 85, 88, 91, 95, 96, 97, 98, 99, 100, 101, 102, 108], "require_arg": 59, "require_url": [1, 9, 95], "required_kei": [1, 9, 30, 32, 34, 95], "requiredfieldnotfounderror": [11, 30, 32], "res_dict": 98, "res_of_dict_input": 99, "res_of_string_input": 99, "reserv": 95, "reset": [14, 15, 81, 82, 100], "reset_audi": [1, 2], "reset_glb_var": 81, "resetexcept": 82, "resili": 90, "resolv": 105, "resourc": [90, 100, 103], "respect": [46, 48], "respond": [30, 34, 93, 98, 101], "respons": [0, 1, 2, 3, 4, 7, 8, 10, 11, 17, 18, 29, 30, 31, 32, 33, 34, 38, 39, 40, 46, 57, 71, 74, 86, 90, 92, 93, 95, 96, 97, 99, 100, 105, 106], "responseformat": 10, "responseparsingerror": 11, "responsestub": [39, 40], "rest": [46, 70, 101], "result": [1, 2, 7, 46, 51, 57, 59, 61, 62, 63, 67, 68, 69, 70, 71, 85, 86, 93, 95, 98, 99, 101], "results_per_pag": [46, 68], "resurrect": 93, "retain": 95, "retri": [1, 4, 18, 26, 46, 69, 88, 108], "retriev": [14, 16, 46, 81, 82, 86, 99, 100], "retrieve_by_embed": [14, 16, 100], "retrieve_from_list": [46, 55, 99], "retry_interv": [18, 26], "return": [1, 2, 3, 4, 7, 8, 9, 14, 15, 16, 17, 18, 20, 21, 22, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 36, 37, 39, 40, 43, 45, 46, 48, 49, 51, 52, 53, 55, 56, 59, 61, 62, 63, 65, 67, 68, 69, 70, 71, 73, 74, 75, 77, 82, 84, 85, 86, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105], "return_typ": 100, "return_var": 86, "reus": 103, "reusabl": 99, "reveal": 93, "revers": [14, 16], "rewrit": 17, "risk": [46, 48], "rm": [46, 49], "rm_audienc": [1, 2], "rn": [46, 67], "robust": [88, 90, 108], "role": [1, 2, 3, 9, 13, 17, 18, 20, 21, 24, 46, 65, 82, 92, 95, 98, 100, 101], "round": 93, "rout": 86, "rpc": [1, 2, 7, 17, 43, 45, 88, 90], "rpcagent": [1, 7, 17, 42], "rpcagentcli": [17, 39, 40], "rpcagentserverlaunch": [43, 44, 103], "rpcagentservic": [39, 42, 43, 45], "rpcagentstub": [39, 42], "rpcmsg": [39, 43, 45], "rpcserversidewrapp": [43, 45], "rule": [93, 98, 101], "run": [0, 1, 2, 7, 46, 48, 81, 85, 90, 91, 97, 99, 103], "run_app": 81, "run_dir": 72, "runnabl": 85, "runtim": [0, 72, 90, 100, 103], "runtime_id": 0, "safeti": [46, 48], "sai": 93, "sambert": 46, "same": [0, 29, 73, 75, 86, 98, 99, 101, 102, 103], "sample_r": 46, "sampler": 46, "sanit": 85, "sanitize_node_data": 85, "satisfi": [46, 65], "save": [0, 12, 14, 15, 16, 17, 38, 39, 40, 46, 69, 93, 98], "save_api_invok": 0, "save_cod": 0, "save_dir": [0, 46], "save_log": 0, "scale": 103, "scan": 104, "scenario": [17, 18, 20, 24, 28, 96, 100, 101], "scene": 99, "schema": [30, 32, 46, 59, 98, 99], "scienc": [46, 68], "score": [46, 55], "score_func": [46, 55], "scratch": 106, "script": [90, 91, 92, 97], "search": [0, 46, 59, 67, 68, 72, 86, 88, 99], "search_queri": [46, 67], "search_result": [46, 68], "second": [18, 20, 43, 44, 46, 48, 74, 101], "secondari": 95, "secretli": 93, "section": [92, 93, 96, 98, 101], "secur": [46, 48], "sed": [46, 49], "see": [1, 2, 93, 94, 101, 105], "seed": [18, 20, 22, 24, 25, 28, 77, 97], "seek": 104, "seem": [93, 103], "seen": [17, 86, 103], "seen_ag": 86, "seer": [93, 98], "segment": [14, 15, 16], "select": [46, 71, 81, 96, 100], "selected_tags_text": [46, 71], "self": [17, 46, 59, 93, 95, 96, 97, 98, 99, 100], "self_define_func": [46, 71], "self_parse_func": [46, 71], "selim": [46, 68], "sell": [46, 70], "send": [13, 17, 74, 81, 82, 100, 103], "send_audio": 81, "send_imag": 81, "send_messag": 81, "send_msg": 82, "send_player_input": 82, "send_reset_msg": 82, "sender": [17, 92, 100], "sent": [74, 93, 103], "separ": [98, 102, 103, 105], "sequenc": [0, 1, 2, 7, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 37, 46, 55, 71, 86, 90, 95, 96, 100], "sequenti": [35, 37, 85, 86, 92], "sequentialpipelin": [35, 36, 37, 92, 93], "sequentialpipelinenod": 86, "seral": [39, 40], "seri": [1, 7, 46, 68, 86, 90, 98, 102], "serial": [14, 16, 17, 39, 40, 46, 52, 99, 100], "serv": [86, 93, 95, 96, 102], "server": [1, 2, 7, 17, 24, 39, 40, 42, 46, 61, 62, 88], "server_id": [43, 44, 45], "servic": [1, 8, 39, 42, 43, 86, 88, 92, 93, 95, 103, 106, 108], "service_bot": 95, "service_func": [46, 59], "service_toolkit": [1, 6, 99], "servicebot": 95, "serviceexecstatu": [46, 57, 58, 65, 67, 68, 70, 99], "serviceexestatu": [46, 57, 99], "servicefactori": [46, 59], "servicefunct": [46, 59], "servicercontext": [43, 45], "servicerespons": [46, 48, 49, 51, 52, 53, 55, 56, 57, 59, 61, 62, 63, 65, 67, 68, 69, 70, 71, 74], "servicetoolkit": [1, 6, 46, 59, 99], "session": [46, 49], "set": [0, 1, 2, 3, 4, 7, 9, 14, 16, 17, 18, 22, 25, 28, 33, 38, 39, 40, 43, 44, 46, 48, 68, 73, 75, 84, 85, 86, 91, 96, 97, 98, 99, 100, 102, 103], "set_pars": [1, 4, 98], "set_quota": [73, 75, 102], "set_respons": [39, 40], "setitim": [46, 48, 74], "setup": [13, 90, 94, 96, 103], "setup_logg": 13, "sever": [90, 93, 95], "share": [0, 29, 96, 103, 104], "she": 93, "shell": [46, 49], "should": [0, 1, 2, 13, 14, 15, 17, 18, 20, 21, 22, 23, 24, 25, 26, 28, 30, 31, 32, 38, 46, 59, 90, 92, 93, 97, 98, 99, 100, 101], "shouldn": [17, 18, 24], "show": [46, 48, 51, 90, 103, 104], "shown": [91, 98, 101], "shrink": [10, 38, 101], "shrink_polici": 38, "shrinkpolici": [10, 38], "shutdown": [43, 44], "side": 93, "sig": 99, "signal": [46, 48, 74, 82], "signatur": 99, "signific": 86, "similar": [46, 93, 96, 98, 99, 100, 101, 103], "similarli": 103, "simpl": [1, 3, 18, 21, 92, 94, 98, 101, 103], "simplic": 101, "simplifi": [90, 93, 96, 99, 101], "simultan": 103, "sinc": [46, 48, 74, 101], "singapor": [46, 68], "singl": [18, 20, 21, 24, 28, 46, 90, 98, 100, 101], "singleton": [73, 75], "siu": [46, 68], "siu53274": [46, 68], "size": [1, 2, 14, 15, 16, 43, 44, 45, 46, 97, 100, 101], "slower": 94, "small": 97, "smoothli": 101, "snippet": [46, 70, 93, 105], "so": [1, 4, 18, 22, 30, 34, 46, 49, 59, 70, 91, 98, 99, 101, 103], "social": 93, "socket": [43, 44, 77], "solut": [18, 20, 101, 103], "solv": [6, 90, 95], "some": [1, 2, 7, 8, 10, 46, 48, 59, 70, 80, 95, 96, 97, 98, 101, 102, 103, 105], "some_messag": 96, "someon": [46, 70], "someth": [93, 94], "sometim": [93, 101], "song": [46, 68], "soon": [98, 99], "sophist": 93, "sort": 85, "sourc": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 48, 49, 51, 52, 53, 55, 56, 57, 58, 59, 61, 62, 63, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 81, 82, 84, 85, 86, 87, 92, 95, 97, 98, 100, 103], "source_kwarg": 86, "source_path": [46, 51], "space": 38, "sparrow": [46, 68], "speak": [1, 2, 4, 6, 9, 18, 21, 33, 93, 95, 98, 101], "speaker": [94, 100, 101], "special": [35, 37, 55, 93, 94, 95, 103], "specif": [0, 1, 2, 9, 14, 16, 18, 23, 30, 33, 34, 39, 40, 43, 45, 46, 48, 73, 75, 82, 85, 86, 90, 91, 92, 94, 95, 97, 98, 99, 100, 101, 102, 103], "specifi": [1, 4, 5, 14, 15, 18, 23, 25, 28, 43, 44, 46, 48, 51, 59, 69, 74, 77, 86, 92, 93, 95, 96, 97, 98, 99, 100, 101, 102, 103], "speech": 92, "spoken": [1, 2, 9], "sql": [46, 62, 99], "sqlite": [46, 61, 73, 75, 99], "sqlite3": 102, "sqlite_cursor": 75, "sqlite_transact": 75, "sqlitemonitor": [75, 102], "src": 90, "stabil": [88, 108], "stage": [98, 102], "stai": [24, 97, 104], "stand": [92, 94], "standalon": [92, 96], "standard": [46, 48, 93, 94, 100], "star": 104, "start": [1, 2, 7, 18, 20, 24, 43, 44, 46, 67, 68, 72, 84, 90, 94, 95, 97, 98, 101, 102, 103, 105], "start_workflow": 84, "startup": 103, "state": [46, 49, 90, 94, 95, 103], "static": 42, "statu": [46, 57, 58, 59, 67, 68, 70, 99], "stderr": [13, 94], "stem": [46, 48], "step": [1, 6, 85, 91, 92, 95, 96, 98, 99, 105, 109], "step1": 109, "step2": 109, "step3": 109, "still": [38, 93, 94, 102], "stop": [1, 7], "storag": 90, "store": [1, 2, 4, 7, 9, 14, 15, 16, 30, 31, 32, 33, 34, 46, 71, 81, 95, 98, 100], "stori": 98, "str": [0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 38, 39, 40, 43, 44, 45, 46, 48, 49, 51, 52, 53, 57, 59, 61, 62, 63, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 81, 82, 84, 85, 86, 87, 95, 97, 98, 99, 100], "straightforward": [18, 21, 92], "strateg": 93, "strategi": [10, 18, 20, 21, 22, 24, 28, 90, 93, 96, 98, 106], "streamlin": [88, 96, 108], "strengthen": 90, "string": [1, 2, 3, 9, 14, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 28, 30, 32, 38, 46, 48, 49, 59, 67, 68, 70, 71, 74, 77, 84, 85, 87, 94, 99, 100], "string_input": 99, "strong": [18, 22], "structur": [15, 46, 68, 86, 92, 96, 98, 100, 101, 109], "stub": [39, 40], "studio": [0, 11, 13, 43, 44, 45, 80], "studio_url": [0, 43, 44, 45], "studioerror": 11, "studioregistererror": 11, "style": [38, 46, 59, 77, 99, 101], "sub": [1, 2, 39, 40, 103], "subclass": [1, 5, 7, 43, 44, 86, 90, 95, 96, 100, 101], "submit": 104, "subprocess": [43, 44], "subsequ": [86, 103], "subset": [46, 71], "substanc": [46, 70, 100], "substr": [18, 25], "substrings_in_vision_models_nam": [18, 25], "success": [0, 13, 46, 51, 52, 53, 57, 58, 65, 68, 70, 71, 73, 74, 75, 94, 99], "successfulli": [46, 65, 94, 98], "sucess": [46, 49], "sugar": 90, "suggest": [46, 59, 104, 105], "suit": 85, "suitabl": [18, 20, 24, 28, 88, 95, 98, 100, 101, 108], "summar": [10, 38, 46, 95, 99, 101], "summari": [38, 46, 65, 93], "summarize_model": 38, "sunni": 101, "sunset": 46, "super": [97, 100], "superclass": 95, "suppli": 96, "support": [18, 20, 46, 48, 49, 57, 61, 67, 73, 75, 85, 88, 90, 93, 95, 96, 98, 99, 101, 102, 103, 104, 106, 108], "suppos": [102, 103], "sure": [97, 102, 103], "surviv": 93, "survivor": 93, "suspect": 93, "suspici": 93, "switch": [35, 36, 37, 86, 96, 98], "switch_result": 96, "switchpipelin": [35, 36, 37], "switchpipelinenod": 86, "symposium": [46, 68], "syntact": 90, "synthesi": [18, 20, 97], "sys_prompt": [1, 2, 3, 4, 6, 92, 93, 95], "sys_python_guard": 48, "syst": [46, 68], "system": [1, 2, 3, 4, 6, 12, 17, 18, 20, 24, 28, 38, 46, 48, 65, 71, 90, 93, 95, 100, 101, 102, 103], "system_prompt": [38, 46, 65, 101], "sythesi": 97, "t": [1, 2, 7, 8, 14, 16, 17, 18, 24, 73, 75, 93, 94, 98, 100, 102, 103], "tabl": [75, 95, 96, 99, 106], "table_nam": 75, "tag": [11, 30, 31, 32, 34, 46, 71, 98], "tag_begin": [30, 31, 32, 34, 98], "tag_end": [30, 31, 32, 34, 98], "tag_lines_format": [30, 34], "tagged_cont": [30, 34], "taggedcont": [30, 34, 98], "tagnotfounderror": 11, "tailor": [93, 95], "take": [1, 2, 14, 15, 16, 46, 55, 73, 75, 90, 92, 93, 95, 98, 99, 101], "taken": [1, 2, 7, 8, 93, 96], "tan": [46, 68], "tang": [46, 68], "target": [38, 42, 93, 98, 101, 103], "task": [1, 2, 7, 8, 17, 43, 45, 90, 95, 97], "task_id": [17, 43, 45], "task_msg": [43, 45], "teammat": 93, "teardown": 96, "technic": 103, "technolog": [46, 68], "tell": [17, 100], "temperatur": [18, 20, 22, 23, 24, 25, 28, 93, 97], "templat": [35, 37, 95], "temporari": [14, 16, 74], "temporarymemori": [14, 16], "tensorflow": 90, "term": [46, 70, 92, 96, 102], "termin": [24, 43, 44, 46, 48, 92, 93, 103], "test": [48, 90, 101], "text": [1, 4, 8, 18, 20, 27, 30, 31, 32, 33, 34, 46, 59, 65, 71, 81, 82, 86, 92, 95, 97, 98, 99, 100, 101], "text_cmd": [46, 59], "text_to_audio": 46, "texttoimageag": [1, 8, 86, 95], "texttoimageagentnod": 86, "textual": [1, 4], "than": [18, 20, 46, 65, 93, 94, 98, 100, 101, 103], "thank": [94, 101], "thei": [38, 92, 93, 96, 98, 103], "them": [1, 7, 17, 35, 37, 46, 49, 93, 94, 95, 97, 98, 99, 101, 102, 105], "themselv": [93, 96], "therefor": [101, 103], "thi": [0, 1, 2, 3, 4, 6, 7, 8, 9, 14, 15, 16, 17, 18, 20, 21, 23, 24, 25, 27, 28, 29, 30, 34, 39, 40, 43, 44, 46, 48, 55, 67, 70, 73, 74, 75, 84, 85, 86, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 105], "thing": [46, 70, 103], "think": [82, 93], "third": [92, 99, 101], "those": 102, "thought": [1, 2, 7, 8, 17, 93, 98], "thread": [13, 39, 40], "three": [0, 29, 43, 45, 88, 90, 98, 108], "thrive": 105, "through": [86, 92, 93, 95, 96, 97, 100, 103], "throw": 102, "thrown": [98, 102], "tht": 17, "thu": [96, 98], "ti": [46, 67], "time": [1, 2, 9, 17, 43, 44, 45, 46, 48, 73, 74, 75, 86, 93, 100, 101, 103, 104, 105], "timeout": [1, 2, 7, 9, 18, 23, 26, 28, 39, 40, 42, 43, 44, 46, 48, 69, 71, 75, 82], "timeouterror": [1, 9], "timer": 74, "timestamp": [17, 94, 100], "titl": [46, 67, 68, 70, 98, 105], "to_all_continu": 93, "to_all_r": 93, "to_all_vot": 93, "to_cont": [30, 32, 33, 34, 98], "to_dialog_str": 77, "to_dist": [1, 2, 95], "to_mem": [14, 15, 16, 100], "to_memori": [30, 32, 33, 34, 98], "to_metadata": [30, 32, 33, 34, 98], "to_openai_dict": 77, "to_seer": 93, "to_seer_result": 93, "to_str": [17, 100], "to_witch_resurrect": 93, "to_wolv": 93, "to_wolves_r": 93, "to_wolves_vot": 93, "todai": [18, 20, 24, 46, 101], "todo": [1, 8, 15, 38], "togeth": 93, "toke": 23, "token": [46, 65, 76, 98, 102], "token_limit_prompt": [46, 65], "token_num": 102, "token_num_us": 102, "toler": [88, 90, 98, 108], "tongyi": [18, 20], "tongyi_chat": [18, 20], "tonight": 93, "too": [10, 38, 46, 61, 62, 98], "took": 92, "tool": [1, 6, 46, 59, 90, 91, 99], "toolkit": [46, 59], "tools_calling_format": [46, 59, 99], "tools_instruct": [46, 59, 99], "top": [46, 55, 90, 91, 92, 93, 94, 95, 96, 97, 99, 100, 101, 102, 103, 104, 105], "top_k": [14, 16, 46, 55], "topic": 93, "topolog": 85, "total": [18, 25, 93, 102], "touch": 94, "townsfolk": 93, "trace": [0, 13, 94], "track": [86, 94, 102], "tracker": 105, "transact": 75, "transform": [46, 68, 97], "transmiss": 90, "transpar": 98, "travers": 86, "treat": [1, 4, 101], "trigger": [35, 36, 37, 73, 75], "true": [0, 1, 2, 3, 4, 6, 7, 8, 11, 14, 15, 16, 30, 32, 33, 34, 35, 36, 37, 43, 44, 46, 55, 71, 92, 93, 95, 96, 98, 100, 103], "truncat": [10, 38], "try": [93, 95, 99, 100, 102], "tupl": [1, 2, 3, 4, 6, 7, 8, 9, 30, 34, 43, 44, 45, 46, 53, 59], "turbo": [18, 22, 23, 25, 92, 93, 97, 101, 102], "turn": [46, 59, 93], "tutori": [1, 2, 4, 90, 92, 93, 94, 95, 99, 100, 102, 103], "twice": 103, "two": [46, 48, 55, 56, 67, 70, 92, 93, 96, 97, 98, 99, 100, 101, 103], "txt": 53, "type": [1, 2, 3, 7, 9, 11, 14, 15, 16, 18, 20, 21, 22, 23, 24, 25, 26, 28, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 48, 49, 51, 52, 53, 55, 56, 59, 61, 62, 63, 65, 67, 68, 69, 70, 71, 73, 74, 75, 77, 85, 86, 92, 95, 96, 97, 99, 100, 103], "typic": [46, 52, 95, 100, 106], "u": [18, 21, 46, 70, 93, 99, 104, 105], "ui": [72, 81, 82], "uid": [13, 81, 82], "uncertain": 11, "under": [38, 91, 94, 97, 102, 103], "underli": 101, "underpin": 95, "understand": [46, 59, 94, 96, 99, 106], "undetect": 93, "unexpect": 94, "unfold": 93, "unifi": [0, 18, 22, 95, 101], "unintend": 96, "union": [0, 1, 2, 7, 9, 14, 15, 16, 17, 18, 20, 21, 22, 24, 25, 26, 28, 29, 30, 32, 33, 34, 46, 48, 72, 95, 96, 100], "uniqu": [1, 2, 43, 45, 46, 70, 73, 75, 86, 92, 95, 100, 102], "unit": [14, 16, 17, 73, 75, 102], "unittest": [73, 75, 90], "univers": [46, 68], "unix": [46, 48, 74], "unless": 93, "unlik": 100, "unlock": 93, "unoccupi": 77, "unset": 92, "until": [92, 93, 96], "untrust": [46, 48], "up": [84, 91, 102, 104], "updat": [18, 21, 23, 73, 75, 93, 95, 100, 101, 104], "update_alive_play": 93, "update_config": [14, 15], "update_monitor": [18, 23], "update_valu": 17, "upon": [96, 100], "url": [0, 1, 9, 17, 18, 20, 26, 27, 43, 44, 45, 46, 68, 69, 71, 74, 90, 92, 95, 97, 99, 100, 101], "url_to_png1": 101, "url_to_png2": 101, "url_to_png3": 101, "urlpars": 71, "us": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 14, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31, 32, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 48, 49, 55, 57, 59, 61, 62, 63, 65, 70, 71, 73, 75, 77, 80, 82, 85, 86, 88, 90, 92, 93, 94, 95, 96, 97, 100, 101, 103, 105, 106, 108], "usabl": 90, "usag": [1, 4, 17, 46, 59, 68, 70, 73, 75, 90, 92, 93, 95, 99, 100, 101, 106], "use_dock": [46, 48], "use_memori": [1, 2, 3, 4, 8, 93, 95], "use_monitor": [0, 102], "user": [1, 3, 4, 9, 17, 18, 20, 21, 24, 33, 38, 46, 55, 62, 65, 77, 81, 82, 88, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 104, 108], "user_ag": 92, "user_agent_config": 95, "user_input": [82, 101], "user_messag": 101, "user_proxy_ag": 95, "userag": [1, 9, 43, 44, 86, 92], "useragentnod": 86, "usernam": [46, 62, 99, 105], "usual": 99, "util": [13, 87, 88, 90, 92, 93, 94, 98, 99, 102], "uuid": 82, "uuid4": 100, "v1": [46, 70, 97], "v2": 97, "v4": 28, "valid": [1, 4, 11, 71, 85], "valu": [0, 10, 13, 14, 16, 17, 18, 20, 23, 30, 32, 33, 34, 38, 39, 40, 43, 44, 46, 58, 59, 73, 75, 86, 98, 99, 100, 101, 102, 103], "valueerror": [1, 2, 85], "variabl": [18, 21, 22, 25, 28, 46, 67, 70, 81, 92, 93, 97, 101, 103], "varieti": [46, 70, 90, 93], "variou": [46, 48, 57, 85, 88, 95, 97, 99, 101, 102, 103, 108], "ve": [93, 105], "vector": [14, 16], "venu": [46, 68, 99], "verbos": [1, 6], "veri": [0, 29, 46, 49, 98], "version": [1, 2, 35, 36, 46, 65, 95, 105], "versu": 96, "vertex": [18, 21], "via": [1, 4, 92, 93, 94, 98], "video": [17, 46, 57, 90, 92, 95, 99, 100], "villag": [93, 98], "vim": [46, 49], "virtual": [95, 109], "visibl": 98, "vision": [18, 25], "visual": 94, "vl": [18, 20, 46, 97, 101], "vllm": [18, 26, 93, 97], "voic": 95, "vote": [93, 98], "vote_r": 93, "wa": [98, 100], "wai": [17, 18, 22, 94, 100, 102, 103], "wait": [43, 44, 103, 105], "wait_for_readi": 42, "wait_until_termin": [43, 44, 103], "want": [46, 49, 97, 102], "wanx": [46, 97], "warn": [0, 13, 46, 48, 94], "watch": 104, "wbcd": [46, 68], "we": [0, 1, 6, 17, 18, 20, 21, 29, 30, 34, 38, 46, 55, 57, 61, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 101, 103, 104, 105], "weak": 98, "weather": [46, 101], "web": [0, 46, 72, 88, 90, 94, 99, 100, 101], "web_text_or_url": [46, 71], "webpag": [46, 71], "websit": [1, 9, 17, 92, 95, 100], "webui": [88, 90, 108, 109], "weimin": [46, 68], "welcom": [18, 21, 93, 94, 104, 105], "well": [46, 59, 65, 93, 99, 101], "werewolf": [1, 4], "werewolv": 93, "what": [0, 18, 20, 24, 29, 30, 32, 46, 70, 92, 98, 101, 109], "when": [0, 1, 2, 4, 7, 10, 11, 14, 15, 16, 17, 18, 20, 26, 35, 36, 37, 38, 46, 48, 49, 59, 73, 75, 77, 85, 86, 90, 93, 94, 97, 98, 99, 100, 101, 102, 103, 105], "where": [1, 4, 17, 18, 20, 21, 22, 24, 25, 26, 28, 46, 51, 52, 53, 71, 74, 85, 86, 92, 93, 95, 96, 98, 99, 100, 101], "whether": [0, 1, 2, 3, 4, 6, 7, 8, 9, 14, 16, 17, 18, 30, 34, 35, 36, 37, 43, 44, 45, 46, 48, 52, 53, 55, 59, 62, 63, 65, 71, 72, 73, 75, 82, 87, 93, 98, 100, 102, 105], "which": [0, 1, 2, 3, 4, 6, 8, 9, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 28, 30, 31, 33, 34, 35, 36, 37, 39, 40, 46, 59, 67, 70, 73, 74, 75, 86, 90, 92, 93, 94, 95, 96, 97, 98, 100, 101, 102, 103], "while": [35, 37, 46, 59, 86, 92, 93, 94, 96, 98, 99, 101, 103], "whilelooppipelin": [35, 36, 37], "whilelooppipelinenod": 86, "who": [17, 46, 70, 91, 93, 97, 100], "whole": [30, 32, 33, 34, 98], "whose": [85, 98, 101, 103], "why": 109, "wide": 103, "win": 93, "window": [46, 48, 91], "witch": [93, 98], "witch_nam": 93, "within": [1, 6, 46, 48, 61, 62, 63, 86, 90, 92, 93, 95, 96, 98, 100], "without": [0, 1, 2, 7, 29, 86, 93, 95, 96, 98, 101, 103], "wolf": 93, "wolv": 93, "won": 93, "wonder": [18, 20], "work": [1, 4, 46, 51, 55, 74, 93, 100, 101, 105], "workflow": [33, 35, 37, 85, 86, 87, 103], "workflownod": 86, "workflownodetyp": 86, "workshop": [46, 68], "world": [94, 98], "worri": 103, "worth": 96, "would": 93, "wrap": [1, 2, 18, 21, 46, 57, 99], "wrapper": [1, 7, 18, 20, 21, 22, 23, 24, 25, 26, 28, 43, 44, 90, 99, 101, 106], "write": [14, 16, 46, 51, 53, 74, 86, 99, 103, 105], "write_fil": 74, "write_json_fil": [46, 52, 99], "write_text_fil": [46, 53, 99], "writetextservicenod": 86, "written": [14, 16, 46, 52, 53, 74, 99, 103], "wrong": 94, "www": [46, 70], "x": [1, 2, 3, 4, 6, 7, 8, 9, 17, 35, 36, 37, 39, 40, 92, 93, 95, 96, 98, 99, 103], "x1": [0, 29], "x2": [0, 29], "x_in": 85, "xxx": [92, 93, 97, 99, 101], "xxx1": 101, "xxx2": 101, "xxxagent": [1, 2], "xxxxx": [46, 71], "ye": 98, "year": [46, 68], "yet": [46, 49, 103], "yield": 75, "you": [1, 6, 14, 16, 17, 18, 20, 21, 22, 23, 24, 30, 31, 38, 43, 44, 46, 48, 49, 65, 71, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105], "your": [1, 2, 3, 6, 17, 18, 22, 23, 46, 59, 70, 73, 75, 88, 91, 92, 98, 99, 101, 102, 104, 106, 108, 109], "your_": [30, 31], "your_api_kei": [23, 97], "your_config_nam": 97, "your_cse_id": [46, 70], "your_google_api_kei": [46, 70], "your_json_dictionari": [30, 32], "your_json_object": [30, 32], "your_organ": [23, 97], "your_python_cod": 98, "your_save_path": 94, "yourag": 99, "yu": [46, 68], "yusefi": [46, 68], "yutztch23": [46, 68], "ywjjzgvm": 101, "yyi": 97, "zero": [102, 103], "zh": [18, 20, 46], "zhang": [46, 68], "zhichu": 46, "zhipuai": [18, 28, 101], "zhipuai_chat": [18, 28, 97], "zhipuai_embed": [18, 28, 97], "zhipuaichatwrapp": [18, 28, 97], "zhipuaiembeddingwrapp": [18, 28, 97], "zhipuaiwrapperbas": [18, 28], "ziwei": [46, 68], "\u00f6mer": [46, 68], "\u7701\u7565\u4ee3\u7801\u4ee5\u7b80\u5316": 100, "\u9489\u9489": 107}, "titles": ["agentscope", "agentscope.agents", "agentscope.agents.agent", "agentscope.agents.dialog_agent", "agentscope.agents.dict_dialog_agent", "agentscope.agents.operator", "agentscope.agents.react_agent", "agentscope.agents.rpc_agent", "agentscope.agents.text_to_image_agent", "agentscope.agents.user_agent", "agentscope.constants", "agentscope.exception", "agentscope.file_manager", "agentscope.logging", "agentscope.memory", "agentscope.memory.memory", "agentscope.memory.temporary_memory", "agentscope.message", "agentscope.models", "agentscope.models.config", "agentscope.models.dashscope_model", "agentscope.models.gemini_model", "agentscope.models.litellm_model", "agentscope.models.model", "agentscope.models.ollama_model", "agentscope.models.openai_model", "agentscope.models.post_model", "agentscope.models.response", "agentscope.models.zhipu_model", "agentscope.msghub", "agentscope.parsers", "agentscope.parsers.code_block_parser", "agentscope.parsers.json_object_parser", "agentscope.parsers.parser_base", "agentscope.parsers.tagged_content_parser", "agentscope.pipelines", "agentscope.pipelines.functional", "agentscope.pipelines.pipeline", "agentscope.prompt", "agentscope.rpc", "agentscope.rpc.rpc_agent_client", "agentscope.rpc.rpc_agent_pb2", "agentscope.rpc.rpc_agent_pb2_grpc", "agentscope.server", "agentscope.server.launcher", "agentscope.server.servicer", "agentscope.service", "agentscope.service.execute_code", "agentscope.service.execute_code.exec_python", "agentscope.service.execute_code.exec_shell", "agentscope.service.file", "agentscope.service.file.common", "agentscope.service.file.json", "agentscope.service.file.text", "agentscope.service.retrieval", "agentscope.service.retrieval.retrieval_from_list", "agentscope.service.retrieval.similarity", "agentscope.service.service_response", "agentscope.service.service_status", "agentscope.service.service_toolkit", "agentscope.service.sql_query", "agentscope.service.sql_query.mongodb", "agentscope.service.sql_query.mysql", "agentscope.service.sql_query.sqlite", "agentscope.service.text_processing", "agentscope.service.text_processing.summarization", "agentscope.service.web", "agentscope.service.web.arxiv", "agentscope.service.web.dblp", "agentscope.service.web.download", "agentscope.service.web.search", "agentscope.service.web.web_digest", "agentscope.studio", "agentscope.utils", "agentscope.utils.common", "agentscope.utils.monitor", "agentscope.utils.token_utils", "agentscope.utils.tools", "agentscope.web", "agentscope.web.gradio", "agentscope.web.gradio.constants", "agentscope.web.gradio.studio", "agentscope.web.gradio.utils", "agentscope.web.workstation", "agentscope.web.workstation.workflow", "agentscope.web.workstation.workflow_dag", "agentscope.web.workstation.workflow_node", "agentscope.web.workstation.workflow_utils", "AgentScope Documentation", "agentscope", "About AgentScope", "Installation", "Quick Start", "Crafting Your First Application", "Logging and WebUI", "Customizing Your Own Agent", "Pipeline and MsgHub", "Model", "Model Response Parser", "Service", "Memory", "Prompt Engineering", "Monitor", "Distribution", "Joining AgentScope Community", "Contribute to AgentScope", "Advanced Exploration", "Get Involved", "Welcome to AgentScope Tutorial Hub", "Getting Started"], "titleterms": {"1": [93, 103], "2": [93, 103], "3": 93, "4": 93, "5": 93, "For": 105, "Will": 101, "about": [90, 99, 100, 101, 103], "actor": 103, "ad": 96, "advanc": [88, 102, 103, 106, 108], "agent": [1, 2, 3, 4, 5, 6, 7, 8, 9, 90, 92, 93, 95, 98, 103], "agentbas": 95, "agentpool": 95, "agentscop": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 93, 102, 104, 105, 108], "an": 102, "api": [88, 93, 97, 102], "applic": [93, 103], "arxiv": 67, "ask": 105, "background": 98, "basic": [97, 102], "branch": 105, "broadcast": 96, "budget": 102, "bug": 105, "build": 97, "built": [99, 101], "case": 98, "categori": 96, "challeng": 101, "chang": 105, "chat": [94, 97], "child": 103, "class": [100, 101], "clone": 105, "code": [90, 105], "code_block_pars": 31, "codebas": 105, "combin": 96, "commit": 105, "common": [51, 74], "commun": 104, "compon": 101, "concept": 90, "conda": 91, "config": [19, 93], "configur": 97, "constant": [10, 80], "construct": 101, "content": 98, "contribut": 105, "convers": 92, "convert": 103, "craft": 93, "creat": [91, 92, 96, 97, 99, 105], "custom": [95, 98], "dashscop": 97, "dashscope_model": 20, "dashscopechatwrapp": 101, "dashscopemultimodalwrapp": 101, "dblp": 68, "defin": 93, "delet": 96, "deprec": 101, "design": 90, "detail": 97, "dialog_ag": 3, "dialogag": 95, "dict_dialog_ag": 4, "dictionari": 98, "dingtalk": 104, "discord": 104, "distinguish": 102, "distribut": 103, "document": 88, "download": 69, "dynam": 101, "each": 93, "engin": 101, "environ": 91, "exampl": 99, "except": 11, "exec_python": 48, "exec_shel": 49, "execute_cod": [47, 48, 49], "explor": [88, 95, 106, 108], "featur": [101, 105], "file": [50, 51, 52, 53], "file_manag": 12, "first": 93, "flow": 103, "fork": 105, "forlooppipelin": 96, "format": [97, 98, 101], "from": [91, 95, 97], "function": [36, 98, 99], "futur": 101, "game": [93, 98], "gemini": 97, "gemini_model": 21, "geminichatwrapp": 101, "get": [88, 93, 102, 107, 108, 109], "github": 104, "gradio": [79, 80, 81, 82], "handl": 102, "how": [90, 99], "hub": [88, 108], "i": 90, "ifelsepipelin": 96, "implement": [93, 103], "independ": 103, "indic": 88, "inform": 94, "initi": [93, 98, 101], "instal": 91, "instanc": 102, "instruct": 98, "integr": 94, "involv": [88, 107, 108], "its": 103, "join": [101, 104], "json": [52, 98], "json_object_pars": 32, "kei": [90, 101], "launcher": 44, "leverag": 93, "list": 101, "litellm": 97, "litellm_model": 22, "litellmchatwrapp": 101, "log": [13, 94], "logger": 94, "logic": 93, "make": 105, "markdowncodeblockpars": 98, "markdownjsondictpars": 98, "markdownjsonobjectpars": 98, "memori": [14, 15, 16, 100], "memorybas": 100, "messag": [17, 90, 94, 96, 100], "messagebas": 100, "metric": 102, "mode": 103, "model": [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 92, 93, 97, 98, 101, 103], "modul": 98, "mongodb": 61, "monitor": [75, 102], "msg": 100, "msghub": [29, 93, 96], "multitaggedcontentpars": 98, "mysql": 62, "navig": [88, 108], "new": [99, 105], "next": 93, "non": 101, "note": 94, "object": 98, "ollama": 97, "ollama_model": 24, "ollamachatwrapp": 101, "ollamagenerationwrapp": 101, "openai": 97, "openai_model": 25, "openaichatwrapp": 101, "oper": 5, "orchestr": 103, "output": 101, "overview": 98, "own": [95, 97], "paramet": 97, "pars": 98, "parser": [30, 31, 32, 33, 34, 98], "parser_bas": 33, "particip": 96, "pip": 91, "pipelin": [35, 36, 37, 93, 96], "placehold": 103, "post": 97, "post_model": 26, "prefix": 102, "prepar": [92, 93], "process": 103, "prompt": [38, 101], "promptengin": 101, "pull": 105, "python": 98, "quick": [92, 94], "quota": 102, "react": 98, "react_ag": 6, "refer": 88, "regist": 102, "remov": 102, "report": 105, "repositori": 105, "request": [97, 105], "reset": 102, "respons": [27, 98], "retriev": [54, 55, 56, 102], "retrieval_from_list": 55, "review": 105, "role": 93, "rpc": [39, 40, 41, 42], "rpc_agent": 7, "rpc_agent_cli": 40, "rpc_agent_pb2": 41, "rpc_agent_pb2_grpc": 42, "run": [93, 94], "scratch": 97, "search": 70, "sequentialpipelin": 96, "server": [43, 44, 45, 103], "servic": [45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 90, 97, 99], "service_respons": 57, "service_statu": 58, "service_toolkit": 59, "servicerespons": 99, "set": [93, 94], "similar": 56, "sourc": 91, "sql_queri": [60, 61, 62, 63], "sqlite": 63, "start": [88, 92, 93, 108, 109], "step": [93, 103], "step1": 92, "step2": 92, "step3": 92, "strategi": 101, "string": [98, 101], "structur": 90, "studio": [72, 81], "submit": 105, "summar": 65, "support": 97, "switchpipelin": 96, "system": 94, "tabl": [88, 98], "tagged_content_pars": 34, "templat": 98, "temporary_memori": 16, "temporarymemori": 100, "text": 53, "text_process": [64, 65], "text_to_image_ag": 8, "to_dist": 103, "token_util": 76, "tool": [77, 98], "toolkit": 99, "tutori": [88, 108], "type": [98, 101], "typic": 98, "understand": [95, 102], "up": [93, 94], "updat": 102, "us": [91, 98, 99, 102], "usag": [96, 98, 102, 103], "user_ag": 9, "userag": 95, "util": [73, 74, 75, 76, 77, 82], "valid": 98, "version": 103, "virtual": 91, "virtualenv": 91, "vision": 101, "wai": 101, "web": [66, 67, 68, 69, 70, 71, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87], "web_digest": 71, "webui": 94, "welcom": [88, 108], "werewolf": [93, 98], "what": 90, "whilelooppipelin": 96, "why": 90, "workflow": [84, 90], "workflow_dag": 85, "workflow_nod": 86, "workflow_util": 87, "workstat": [83, 84, 85, 86, 87], "wrapper": 97, "your": [93, 95, 97, 103, 105], "zhipu_model": 28, "zhipuai": 97, "zhipuaichatwrapp": 101, "\u9489\u9489": 104}})
\ No newline at end of file
diff --git a/zh_CN/.doctrees/agentscope.agents.agent.doctree b/zh_CN/.doctrees/agentscope.agents.agent.doctree
index aec457595..2a1decad2 100644
Binary files a/zh_CN/.doctrees/agentscope.agents.agent.doctree and b/zh_CN/.doctrees/agentscope.agents.agent.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.agents.doctree b/zh_CN/.doctrees/agentscope.agents.doctree
index a035d13ae..87c62f491 100644
Binary files a/zh_CN/.doctrees/agentscope.agents.doctree and b/zh_CN/.doctrees/agentscope.agents.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.agents.user_agent.doctree b/zh_CN/.doctrees/agentscope.agents.user_agent.doctree
index b55ee4bfd..425a5f0a3 100644
Binary files a/zh_CN/.doctrees/agentscope.agents.user_agent.doctree and b/zh_CN/.doctrees/agentscope.agents.user_agent.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.doctree b/zh_CN/.doctrees/agentscope.doctree
index 7eed35eca..0488b1feb 100644
Binary files a/zh_CN/.doctrees/agentscope.doctree and b/zh_CN/.doctrees/agentscope.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.exception.doctree b/zh_CN/.doctrees/agentscope.exception.doctree
index 7dd2afba6..6747dd2b4 100644
Binary files a/zh_CN/.doctrees/agentscope.exception.doctree and b/zh_CN/.doctrees/agentscope.exception.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.utils.logging_utils.doctree b/zh_CN/.doctrees/agentscope.logging.doctree
similarity index 74%
rename from zh_CN/.doctrees/agentscope.utils.logging_utils.doctree
rename to zh_CN/.doctrees/agentscope.logging.doctree
index bbcab54d4..1f49e9b9d 100644
Binary files a/zh_CN/.doctrees/agentscope.utils.logging_utils.doctree and b/zh_CN/.doctrees/agentscope.logging.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.message.doctree b/zh_CN/.doctrees/agentscope.message.doctree
index d28ae7f0e..7830c62bc 100644
Binary files a/zh_CN/.doctrees/agentscope.message.doctree and b/zh_CN/.doctrees/agentscope.message.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.server.doctree b/zh_CN/.doctrees/agentscope.server.doctree
index c0192528c..4101c88b0 100644
Binary files a/zh_CN/.doctrees/agentscope.server.doctree and b/zh_CN/.doctrees/agentscope.server.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.server.launcher.doctree b/zh_CN/.doctrees/agentscope.server.launcher.doctree
index 0d8b51337..5ee0b2bfd 100644
Binary files a/zh_CN/.doctrees/agentscope.server.launcher.doctree and b/zh_CN/.doctrees/agentscope.server.launcher.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.server.servicer.doctree b/zh_CN/.doctrees/agentscope.server.servicer.doctree
index 7744f6fe1..4b72f46e4 100644
Binary files a/zh_CN/.doctrees/agentscope.server.servicer.doctree and b/zh_CN/.doctrees/agentscope.server.servicer.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.studio.doctree b/zh_CN/.doctrees/agentscope.studio.doctree
new file mode 100644
index 000000000..276c0898a
Binary files /dev/null and b/zh_CN/.doctrees/agentscope.studio.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.utils.doctree b/zh_CN/.doctrees/agentscope.utils.doctree
index 72ec0a15a..671919c25 100644
Binary files a/zh_CN/.doctrees/agentscope.utils.doctree and b/zh_CN/.doctrees/agentscope.utils.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.utils.tools.doctree b/zh_CN/.doctrees/agentscope.utils.tools.doctree
index 47ed1c0c9..da9018a42 100644
Binary files a/zh_CN/.doctrees/agentscope.utils.tools.doctree and b/zh_CN/.doctrees/agentscope.utils.tools.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.web.doctree b/zh_CN/.doctrees/agentscope.web.doctree
index c9c542355..00c253931 100644
Binary files a/zh_CN/.doctrees/agentscope.web.doctree and b/zh_CN/.doctrees/agentscope.web.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.web.studio.constants.doctree b/zh_CN/.doctrees/agentscope.web.gradio.constants.doctree
similarity index 80%
rename from zh_CN/.doctrees/agentscope.web.studio.constants.doctree
rename to zh_CN/.doctrees/agentscope.web.gradio.constants.doctree
index 7ee2e3465..7b4845606 100644
Binary files a/zh_CN/.doctrees/agentscope.web.studio.constants.doctree and b/zh_CN/.doctrees/agentscope.web.gradio.constants.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.web.studio.doctree b/zh_CN/.doctrees/agentscope.web.gradio.doctree
similarity index 82%
rename from zh_CN/.doctrees/agentscope.web.studio.doctree
rename to zh_CN/.doctrees/agentscope.web.gradio.doctree
index f1a6b4c44..b4c42a755 100644
Binary files a/zh_CN/.doctrees/agentscope.web.studio.doctree and b/zh_CN/.doctrees/agentscope.web.gradio.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.web.studio.studio.doctree b/zh_CN/.doctrees/agentscope.web.gradio.studio.doctree
similarity index 81%
rename from zh_CN/.doctrees/agentscope.web.studio.studio.doctree
rename to zh_CN/.doctrees/agentscope.web.gradio.studio.doctree
index b1e6df005..aa6d737f4 100644
Binary files a/zh_CN/.doctrees/agentscope.web.studio.studio.doctree and b/zh_CN/.doctrees/agentscope.web.gradio.studio.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.web.studio.utils.doctree b/zh_CN/.doctrees/agentscope.web.gradio.utils.doctree
similarity index 85%
rename from zh_CN/.doctrees/agentscope.web.studio.utils.doctree
rename to zh_CN/.doctrees/agentscope.web.gradio.utils.doctree
index ba266e07a..377217e31 100644
Binary files a/zh_CN/.doctrees/agentscope.web.studio.utils.doctree and b/zh_CN/.doctrees/agentscope.web.gradio.utils.doctree differ
diff --git a/zh_CN/.doctrees/agentscope.web.workstation.workflow_dag.doctree b/zh_CN/.doctrees/agentscope.web.workstation.workflow_dag.doctree
index 1ceba0034..1359cc98c 100644
Binary files a/zh_CN/.doctrees/agentscope.web.workstation.workflow_dag.doctree and b/zh_CN/.doctrees/agentscope.web.workstation.workflow_dag.doctree differ
diff --git a/zh_CN/.doctrees/environment.pickle b/zh_CN/.doctrees/environment.pickle
index 26de8fbb2..d67973c9d 100644
Binary files a/zh_CN/.doctrees/environment.pickle and b/zh_CN/.doctrees/environment.pickle differ
diff --git a/zh_CN/.doctrees/index.doctree b/zh_CN/.doctrees/index.doctree
index d0fc34829..c041d6b1e 100644
Binary files a/zh_CN/.doctrees/index.doctree and b/zh_CN/.doctrees/index.doctree differ
diff --git a/zh_CN/_modules/agentscope/_init.html b/zh_CN/_modules/agentscope/_init.html
index faf775f08..66c2a8f9b 100644
--- a/zh_CN/_modules/agentscope/_init.html
+++ b/zh_CN/_modules/agentscope/_init.html
@@ -109,11 +109,12 @@ agentscope._init 源代码
from .agents import AgentBase
from ._runtime import _runtime
from .file_manager import file_manager
-from .utils.logging_utils import LOG_LEVEL, setup_logger
+from .logging import LOG_LEVEL, setup_logger
from .utils.monitor import MonitorFactory
from .models import read_model_configs
from .constants import _DEFAULT_DIR
from .constants import _DEFAULT_LOG_LEVEL
+from .studio._client import _studio_client
# init setting
_INIT_SETTINGS = {}
@@ -133,6 +134,7 @@ agentscope._init 源代码
logger_level: LOG_LEVEL = _DEFAULT_LOG_LEVEL,
runtime_id: Optional[str] = None,
agent_configs: Optional[Union[str, list, dict]] = None,
+ studio_url: Optional[str] = None,
) -> Sequence[AgentBase]:
"""A unified entry to initialize the package, including model configs,
runtime names, saving directories and logging settings.
@@ -168,6 +170,8 @@ agentscope._init 源代码
which can be loaded by json.loads(). One agent config should
cover the required arguments to initialize a specific agent
object, otherwise the default values will be used.
+ studio_url (`Optional[str]`, defaults to `None`):
+ The url of the agentscope studio.
"""
init_process(
model_configs=model_configs,
@@ -179,17 +183,19 @@ agentscope._init 源代码
save_log=save_log,
use_monitor=use_monitor,
logger_level=logger_level,
+ studio_url=studio_url,
)
# save init settings for subprocess
_INIT_SETTINGS["model_configs"] = model_configs
- _INIT_SETTINGS["project"] = project
- _INIT_SETTINGS["name"] = name
+ _INIT_SETTINGS["project"] = _runtime.project
+ _INIT_SETTINGS["name"] = _runtime.name
_INIT_SETTINGS["runtime_id"] = _runtime.runtime_id
_INIT_SETTINGS["save_dir"] = save_dir
_INIT_SETTINGS["save_api_invoke"] = save_api_invoke
_INIT_SETTINGS["save_log"] = save_log
_INIT_SETTINGS["logger_level"] = logger_level
+ _INIT_SETTINGS["use_monitor"] = use_monitor
# Save code if needed
if save_code:
@@ -232,6 +238,7 @@ agentscope._init 源代码
save_log: bool = False,
use_monitor: bool = True,
logger_level: LOG_LEVEL = _DEFAULT_LOG_LEVEL,
+ studio_url: Optional[str] = None,
) -> None:
"""An entry to initialize the package in a process.
@@ -257,12 +264,16 @@ agentscope._init 源代码
Whether to activate the monitor.
logger_level (`LOG_LEVEL`, defaults to `"INFO"`):
The logging level of logger.
+ studio_url (`Optional[str]`, defaults to `None`):
+ The url of the agentscope studio.
"""
# Init the runtime
if project is not None:
_runtime.project = project
+
if name is not None:
_runtime.name = name
+
if runtime_id is not None:
_runtime.runtime_id = runtime_id
@@ -282,6 +293,19 @@ agentscope._init 源代码
db_path=file_manager.path_db,
impl_type="sqlite" if use_monitor else "dummy",
)
+
+ # Init studio client, which will push messages to web ui and fetch user
+ # inputs from web ui
+ if studio_url is not None:
+ _studio_client.initialize(_runtime.runtime_id, studio_url)
+ # Register in AgentScope Studio
+ _studio_client.register_running_instance(
+ project=_runtime.project,
+ name=_runtime.name,
+ timestamp=_runtime.timestamp,
+ run_dir=file_manager.dir_root,
+ pid=os.getpid(),
+ )
diff --git a/zh_CN/_modules/agentscope/agents/agent.html b/zh_CN/_modules/agentscope/agents/agent.html
index 8042b5c29..f7ced5db9 100644
--- a/zh_CN/_modules/agentscope/agents/agent.html
+++ b/zh_CN/_modules/agentscope/agents/agent.html
@@ -113,6 +113,7 @@ agentscope.agents.agent 源代码
from loguru import logger
from agentscope.agents.operator import Operator
+from agentscope.message import Msg
from agentscope.models import load_model_by_config_name
from agentscope.memory import TemporaryMemory
@@ -436,10 +437,33 @@ agentscope.agents.agent 源代码
[文档]
def speak(
self,
- content: Union[str, dict],
+ content: Union[str, Msg],
) -> None:
- """Speak out the content generated by the agent."""
- logger.chat(content)
+ """
+ Speak out the message generated by the agent. If a string is given,
+ a Msg object will be created with the string as the content.
+
+ Args:
+ content (`Union[str, Msg]`):
+ The content of the message to be spoken out. If a string is
+ given, a Msg object will be created with the agent's name, role
+ as "assistant", and the given string as the content.
+ """
+ if isinstance(content, str):
+ msg = Msg(
+ name=self.name,
+ content=content,
+ role="assistant",
+ )
+ elif isinstance(content, Msg):
+ msg = content
+ else:
+ raise TypeError(
+ "From version 0.0.5, the speak method only accepts str or Msg "
+ f"object, got {type(content)} instead.",
+ )
+
+ logger.chat(msg)
diff --git a/zh_CN/_modules/agentscope/agents/rpc_agent.html b/zh_CN/_modules/agentscope/agents/rpc_agent.html
index 54d7308eb..995a91be1 100644
--- a/zh_CN/_modules/agentscope/agents/rpc_agent.html
+++ b/zh_CN/_modules/agentscope/agents/rpc_agent.html
@@ -110,6 +110,7 @@ agentscope.agents.rpc_agent 源代码
)
from agentscope.rpc import RpcAgentClient
from agentscope.server.launcher import RpcAgentServerLauncher
+from agentscope.studio._client import _studio_client
@@ -175,6 +176,9 @@ agentscope.agents.rpc_agent 源代码
launch_server = port is None
if launch_server:
self.host = "localhost"
+ studio_url = None
+ if _studio_client.active:
+ studio_url = _studio_client.studio_url
self.server_launcher = RpcAgentServerLauncher(
host=self.host,
port=port,
@@ -182,6 +186,7 @@ agentscope.agents.rpc_agent 源代码
max_timeout_seconds=max_timeout_seconds,
local_mode=local_mode,
custom_agents=[agent_class],
+ studio_url=studio_url,
)
if not lazy_launch:
self._launch_server()
diff --git a/zh_CN/_modules/agentscope/agents/user_agent.html b/zh_CN/_modules/agentscope/agents/user_agent.html
index 96892d9b4..4a0f46b04 100644
--- a/zh_CN/_modules/agentscope/agents/user_agent.html
+++ b/zh_CN/_modules/agentscope/agents/user_agent.html
@@ -107,8 +107,9 @@ agentscope.agents.user_agent 源代码
from loguru import logger
from agentscope.agents import AgentBase
+from agentscope.studio._client import _studio_client
from agentscope.message import Msg
-from agentscope.web.studio.utils import user_input
+from agentscope.web.gradio.utils import user_input
@@ -173,25 +174,41 @@ agentscope.agents.user_agent 源代码
if self.memory:
self.memory.add(x)
- # TODO: To avoid order confusion, because `input` print much quicker
- # than logger.chat
- time.sleep(0.5)
- content = user_input(timeout=timeout)
-
- kwargs = {}
- if required_keys is not None:
- if isinstance(required_keys, str):
- required_keys = [required_keys]
-
- for key in required_keys:
- kwargs[key] = input(f"{key}: ")
-
- # Input url of file, image, video, audio or website
- url = None
- if self.require_url:
- url = input("URL (or Enter to skip): ")
- if url == "":
- url = None
+ if _studio_client.active:
+ logger.info(
+ f"Waiting for input from:\n\n"
+ f" * {_studio_client.get_run_detail_page_url()}\n",
+ )
+ raw_input = _studio_client.get_user_input(
+ agent_id=self.agent_id,
+ name=self.name,
+ require_url=self.require_url,
+ required_keys=required_keys,
+ )
+
+ print("Python: receive ", raw_input)
+ content = raw_input["content"]
+ url = raw_input["url"]
+ kwargs = {}
+ else:
+ # TODO: To avoid order confusion, because `input` print much
+ # quicker than logger.chat
+ time.sleep(0.5)
+ content = user_input(timeout=timeout)
+ kwargs = {}
+ if required_keys is not None:
+ if isinstance(required_keys, str):
+ required_keys = [required_keys]
+
+ for key in required_keys:
+ kwargs[key] = input(f"{key}: ")
+
+ # Input url of file, image, video, audio or website
+ url = None
+ if self.require_url:
+ url = input("URL (or Enter to skip): ")
+ if url == "":
+ url = None
# Add additional keys
msg = Msg(
@@ -215,10 +232,35 @@ agentscope.agents.user_agent 源代码
[文档]
def speak(
self,
- content: Union[str, dict],
+ content: Union[str, Msg],
) -> None:
- """Speak the content to the audience."""
- logger.chat(content, disable_studio=True)
+ """
+ Speak out the message generated by the agent. If a string is given,
+ a Msg object will be created with the string as the content.
+
+ Args:
+ content (`Union[str, Msg]`):
+ The content of the message to be spoken out. If a string is
+ given, a Msg object will be created with the agent's name, role
+ as "user", and the given string as the content.
+
+ """
+ if isinstance(content, str):
+ msg = Msg(
+ name=self.name,
+ content=content,
+ role="assistant",
+ )
+ _studio_client.push_message(msg)
+ elif isinstance(content, Msg):
+ msg = content
+ else:
+ raise TypeError(
+ "From version 0.0.5, the speak method only accepts str or Msg "
+ f"object, got {type(content)} instead.",
+ )
+
+ logger.chat(msg)
diff --git a/zh_CN/_modules/agentscope/exception.html b/zh_CN/_modules/agentscope/exception.html
index 6cb4a4d1d..a0e11137d 100644
--- a/zh_CN/_modules/agentscope/exception.html
+++ b/zh_CN/_modules/agentscope/exception.html
@@ -239,6 +239,30 @@ agentscope.exception 源代码
class ArgumentTypeError(FunctionCallError):
"""The exception class for argument type error."""
+
+
+
+[文档]
+class StudioError(Exception):
+ """The base class for exception raising during interaction with agentscope
+ studio."""
+
+
+
+
+ def __str__(self) -> str:
+ return f"{self.__class__.__name__}: {self.message}"
+
+
+
+
+[文档]
+class StudioRegisterError(StudioError):
+ """The exception class for error when registering to agentscope studio."""
+
diff --git a/zh_CN/_modules/agentscope/utils/logging_utils.html b/zh_CN/_modules/agentscope/logging.html
similarity index 90%
rename from zh_CN/_modules/agentscope/utils/logging_utils.html
rename to zh_CN/_modules/agentscope/logging.html
index 62d9b666c..1743fe0c7 100644
--- a/zh_CN/_modules/agentscope/utils/logging_utils.html
+++ b/zh_CN/_modules/agentscope/logging.html
@@ -1,30 +1,30 @@
-
+
- agentscope.utils.logging_utils — AgentScope 文档
-
-
-
+ agentscope.logging — AgentScope 文档
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
+
+
+
@@ -35,43 +35,43 @@
-
+
AgentScope
-
-- agentscope
-- agentscope.message
-- agentscope.models
-- agentscope.agents
-- agentscope.memory
-- agentscope.parsers
-- agentscope.exception
-- agentscope.pipelines
-- agentscope.service
-- agentscope.rpc
-- agentscope.server
-- agentscope.web
-- agentscope.prompt
-- agentscope.utils
+- agentscope
+- agentscope.message
+- agentscope.models
+- agentscope.agents
+- agentscope.memory
+- agentscope.parsers
+- agentscope.exception
+- agentscope.pipelines
+- agentscope.service
+- agentscope.rpc
+- agentscope.server
+- agentscope.web
+- agentscope.prompt
+- agentscope.utils
@@ -80,16 +80,16 @@
@@ -98,17 +98,18 @@
- agentscope.utils.logging_utils 源代码
+ agentscope.logging 源代码
# -*- coding: utf-8 -*-
"""Logging utilities."""
import json
import os
import sys
-from typing import Optional, Literal, Union, Any
+from typing import Optional, Literal, Any
from loguru import logger
-from agentscope.web.studio.utils import (
+from agentscope.studio._client import _studio_client
+from agentscope.web.gradio.utils import (
generate_image_from_name,
send_msg,
get_reset_msg,
@@ -171,20 +172,25 @@ agentscope.utils.logging_utils 源代码
# add chat function for logger
def _chat(
- message: Union[str, dict],
+ message: dict,
*args: Any,
disable_studio: bool = False,
**kwargs: Any,
) -> None:
- """Log a chat message with the format of"<speaker>: <content>".
+ """
+ Log a chat message with the format of"<speaker>: <content>". If the
+ running instance is registered in the studio, the message will be sent
+ and display in the studio.
Args:
- message (`Union[str, dict]`):
- The message to be logged. If it is a string, it will be logged
- directly. If it's a dict, it should have "name"(or "role") and
- "content" keys, and the message will be logged as "<name/role>:
- <content>".
+ message (`dict`):
+ The message to be logged as "<name/role>: <content>", which must
+ be an object of Msg class.
"""
+ # Push message to studio if it is active
+ if _studio_client.active:
+ _studio_client.push_message(message)
+
# Save message into chat file, add default to ignore not serializable
# objects
logger.log(
@@ -246,7 +252,7 @@ agentscope.utils.logging_utils 源代码
-[文档]
+[文档]
def log_studio(message: dict, uid: str, **kwargs: Any) -> None:
"""Send chat message to studio.
@@ -319,7 +325,7 @@ agentscope.utils.logging_utils 源代码
-[文档]
+[文档]
def setup_logger(
path_log: Optional[str] = None,
level: LOG_LEVEL = "INFO",
diff --git a/zh_CN/_modules/agentscope/message.html b/zh_CN/_modules/agentscope/message.html
index 35b0f7cce..4a97cf386 100644
--- a/zh_CN/_modules/agentscope/message.html
+++ b/zh_CN/_modules/agentscope/message.html
@@ -162,10 +162,7 @@ agentscope.message 源代码
self.content = content
self.role = role
- if url:
- self.url = url
- else:
- self.url = None
+ self.url = url
self.update(kwargs)
@@ -382,7 +379,7 @@ agentscope.message 源代码
[文档]
-class PlaceholderMessage(MessageBase):
+class PlaceholderMessage(Msg):
"""A placeholder for the return message of RpcAgent."""
PLACEHOLDER_ATTRS = {
diff --git a/zh_CN/_modules/agentscope/server/launcher.html b/zh_CN/_modules/agentscope/server/launcher.html
index 36de7aa12..60436fd80 100644
--- a/zh_CN/_modules/agentscope/server/launcher.html
+++ b/zh_CN/_modules/agentscope/server/launcher.html
@@ -102,11 +102,12 @@ agentscope.server.launcher 源代码
# -*- coding: utf-8 -*-
""" Server of distributed agent"""
import os
-from multiprocessing import Process, Event, Pipe
-from multiprocessing.synchronize import Event as EventClass
import asyncio
import signal
import argparse
+import time
+from multiprocessing import Process, Event, Pipe
+from multiprocessing.synchronize import Event as EventClass
from typing import Type
from concurrent import futures
from loguru import logger
@@ -124,14 +125,10 @@ agentscope.server.launcher 源代码
import_error,
"distribute",
)
-
import agentscope
from agentscope.server.servicer import AgentServerServicer
from agentscope.agents.agent import AgentBase
-from agentscope.utils.tools import (
- _get_timestamp,
- check_port,
-)
+from agentscope.utils.tools import check_port, generate_id_from_seed
def _setup_agent_server(
@@ -145,6 +142,7 @@ agentscope.server.launcher 源代码
local_mode: bool = True,
max_pool_size: int = 8192,
max_timeout_seconds: int = 1800,
+ studio_url: str = None,
custom_agents: list = None,
) -> None:
"""Setup agent server.
@@ -157,7 +155,7 @@ agentscope.server.launcher 源代码
server_id (`str`):
The id of the server.
init_settings (`dict`, defaults to `None`):
- Init settings for agentscope.init.
+ Init settings for _init_server.
start_event (`EventClass`, defaults to `None`):
An Event instance used to determine whether the child process
has been started.
@@ -172,6 +170,8 @@ agentscope.server.launcher 源代码
Max number of agent replies that the server can accommodate.
max_timeout_seconds (`int`, defaults to `1800`):
Timeout for agent replies.
+ studio_url (`str`, defaults to `None`):
+ URL of the AgentScope Studio.
custom_agents (`list`, defaults to `None`):
A list of custom agent classes that are not in `agentscope.agents`.
"""
@@ -187,6 +187,7 @@ agentscope.server.launcher 源代码
local_mode=local_mode,
max_pool_size=max_pool_size,
max_timeout_seconds=max_timeout_seconds,
+ studio_url=studio_url,
custom_agents=custom_agents,
),
)
@@ -203,6 +204,7 @@ agentscope.server.launcher 源代码
local_mode: bool = True,
max_pool_size: int = 8192,
max_timeout_seconds: int = 1800,
+ studio_url: str = None,
custom_agents: list = None,
) -> None:
"""Setup agent server in an async way.
@@ -215,7 +217,7 @@ agentscope.server.launcher 源代码
server_id (`str`):
The id of the server.
init_settings (`dict`, defaults to `None`):
- Init settings for agentscope.init.
+ Init settings for _init_server.
start_event (`EventClass`, defaults to `None`):
An Event instance used to determine whether the child process
has been started.
@@ -234,6 +236,8 @@ agentscope.server.launcher 源代码
max_timeout_seconds (`int`, defaults to `1800`):
Maximum time for reply messages to be cached in the server.
Note that expired messages will be deleted.
+ studio_url (`str`, defaults to `None`):
+ URL of the AgentScope Studio.
custom_agents (`list`, defaults to `None`):
A list of custom agent classes that are not in `agentscope.agents`.
"""
@@ -244,6 +248,8 @@ agentscope.server.launcher 源代码
servicer = AgentServerServicer(
host=host,
port=port,
+ server_id=server_id,
+ studio_url=studio_url,
max_pool_size=max_pool_size,
max_timeout_seconds=max_timeout_seconds,
)
@@ -321,6 +327,7 @@ agentscope.server.launcher 源代码
local_mode: bool = False,
custom_agents: list = None,
server_id: str = None,
+ studio_url: str = None,
agent_class: Type[AgentBase] = None,
agent_args: tuple = (),
agent_kwargs: dict = None,
@@ -348,6 +355,8 @@ agentscope.server.launcher 源代码
server_id (`str`, defaults to `None`):
The id of the agent server. If not specified, a random id
will be generated.
+ studio_url (`Optional[str]`, defaults to `None`):
+ The url of the agentscope studio.
agent_class (`Type[AgentBase]`, deprecated):
The AgentBase subclass encapsulated by this wrapper.
agent_args (`tuple`, deprecated): The args tuple used to
@@ -365,8 +374,11 @@ agentscope.server.launcher 源代码
self.parent_con = None
self.custom_agents = custom_agents
self.server_id = (
- self.generate_server_id() if server_id is None else server_id
+ RpcAgentServerLauncher.generate_server_id(self.host, self.port)
+ if server_id is None
+ else server_id
)
+ self.studio_url = studio_url
if (
agent_class is not None
or len(agent_args) > 0
@@ -380,9 +392,10 @@ agentscope.server.launcher 源代码
[文档]
- def generate_server_id(self) -> str:
+ @classmethod
+ def generate_server_id(cls, host: str, port: int) -> str:
"""Generate server id"""
- return f"{self.host}:{self.port}-{_get_timestamp('%y%m%d-%H:%M:%S')}"
+ return generate_id_from_seed(f"{host}:{port}:{time.time()}", length=8)
def _launch_in_main(self) -> None:
@@ -399,6 +412,7 @@ agentscope.server.launcher 源代码
max_timeout_seconds=self.max_timeout_seconds,
local_mode=self.local_mode,
custom_agents=self.custom_agents,
+ studio_url=self.studio_url,
),
)
@@ -422,6 +436,7 @@ agentscope.server.launcher 源代码
"max_pool_size": self.max_pool_size,
"max_timeout_seconds": self.max_timeout_seconds,
"local_mode": self.local_mode,
+ "studio_url": self.studio_url,
"custom_agents": self.custom_agents,
},
)
@@ -541,7 +556,7 @@ agentscope.server.launcher 源代码
type=bool,
default=False,
help=(
- "If `True`, only listen to requests from 'localhost', otherwise, "
+ "if `True`, only listen to requests from 'localhost', otherwise, "
"listen to requests from all hosts."
),
)
@@ -550,21 +565,51 @@ agentscope.server.launcher 源代码
type=str,
help="path to the model config json file",
)
+ parser.add_argument(
+ "--server-id",
+ type=str,
+ default=None,
+ help="id of the server, used to register to the studio, generated"
+ " randomly if not specified.",
+ )
+ parser.add_argument(
+ "--studio-url",
+ type=str,
+ default=None,
+ help="the url of agentscope studio",
+ )
+ parser.add_argument(
+ "--no-log",
+ action="store_true",
+ help="whether to disable log",
+ )
+ parser.add_argument(
+ "--save-api-invoke",
+ action="store_true",
+ help="whether to save api invoke",
+ )
+ parser.add_argument(
+ "--use-monitor",
+ action="store_true",
+ help="whether to use monitor",
+ )
args = parser.parse_args()
agentscope.init(
project="agent_server",
name=f"server_{args.host}:{args.port}",
- runtime_id=_get_timestamp(
- "server_{}_{}_%y%m%d-%H%M%S",
- ).format(args.host, args.port),
+ save_log=not args.no_log,
+ save_api_invoke=args.save_api_invoke,
model_configs=args.model_config_path,
+ use_monitor=args.use_monitor,
)
launcher = RpcAgentServerLauncher(
host=args.host,
port=args.port,
+ server_id=args.server_id,
max_pool_size=args.max_pool_size,
max_timeout_seconds=args.max_timeout_seconds,
local_mode=args.local_mode,
+ studio_url=args.studio_url,
)
launcher.launch(in_subprocess=False)
launcher.wait_until_terminate()
diff --git a/zh_CN/_modules/agentscope/server/servicer.html b/zh_CN/_modules/agentscope/server/servicer.html
index a113fa7da..ebd3e013f 100644
--- a/zh_CN/_modules/agentscope/server/servicer.html
+++ b/zh_CN/_modules/agentscope/server/servicer.html
@@ -107,6 +107,7 @@ agentscope.server.servicer 源代码
import traceback
from concurrent import futures
from loguru import logger
+import requests
try:
import dill
@@ -126,7 +127,10 @@ agentscope.server.servicer 源代码
"distribute",
)
+from .._runtime import _runtime
+from ..studio._client import _studio_client
from ..agents.agent import AgentBase
+from ..exception import StudioRegisterError
from ..rpc.rpc_agent_pb2_grpc import RpcAgentServicer
from ..message import (
Msg,
@@ -135,6 +139,24 @@ agentscope.server.servicer 源代码
)
+def _register_to_studio(
+ studio_url: str,
+ server_id: str,
+ host: str,
+ port: int,
+) -> None:
+ """Register a server to studio."""
+ url = f"{studio_url}/api/servers/register"
+ resp = requests.post(
+ url,
+ json={"server_id": server_id, "host": host, "port": port},
+ timeout=10, # todo: configurable timeout
+ )
+ if resp.status_code != 200:
+ logger.error(f"Failed to register server: {resp.text}")
+ raise StudioRegisterError(f"Failed to register server: {resp.text}")
+
+
[文档]
class AgentServerServicer(RpcAgentServicer):
@@ -146,6 +168,8 @@ agentscope.server.servicer 源代码
self,
host: str = "localhost",
port: int = None,
+ server_id: str = None,
+ studio_url: str = None,
max_pool_size: int = 8192,
max_timeout_seconds: int = 1800,
):
@@ -156,6 +180,10 @@ agentscope.server.servicer 源代码
Hostname of the rpc agent server.
port (`int`, defaults to `None`):
Port of the rpc agent server.
+ server_id (`str`, defaults to `None`):
+ Server id of the rpc agent server.
+ studio_url (`str`, defaults to `None`):
+ URL of the AgentScope Studio.
max_pool_size (`int`, defaults to `8192`):
The max number of agent reply messages that the server can
accommodate. Note that the oldest message will be deleted
@@ -166,6 +194,17 @@ agentscope.server.servicer 源代码
"""
self.host = host
self.port = port
+ self.server_id = server_id
+ self.studio_url = studio_url
+ if studio_url is not None:
+ _register_to_studio(
+ studio_url=studio_url,
+ server_id=server_id,
+ host=host,
+ port=port,
+ )
+ _studio_client.initialize(_runtime.runtime_id, studio_url)
+
self.result_pool = ExpiringDict(
max_len=max_pool_size,
max_age_seconds=max_timeout_seconds,
diff --git a/zh_CN/_modules/agentscope/studio/_app.html b/zh_CN/_modules/agentscope/studio/_app.html
new file mode 100644
index 000000000..51d0e055e
--- /dev/null
+++ b/zh_CN/_modules/agentscope/studio/_app.html
@@ -0,0 +1,834 @@
+
+
+
+
+
+
+ agentscope.studio._app — AgentScope 文档
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - 模块代码
+ - agentscope.studio._app
+ -
+
+
+
+
+
+
+
+ agentscope.studio._app 源代码
+# -*- coding: utf-8 -*-
+"""The Web Server of the AgentScope Studio."""
+import json
+import os
+import re
+import subprocess
+import tempfile
+import threading
+import traceback
+from datetime import datetime
+from typing import Tuple, Union, Any, Optional
+from pathlib import Path
+
+from flask import (
+ Flask,
+ request,
+ jsonify,
+ render_template,
+ Response,
+ abort,
+ send_file,
+)
+from flask_cors import CORS
+from flask_sqlalchemy import SQLAlchemy
+from flask_socketio import SocketIO, join_room, leave_room
+
+from agentscope._runtime import _runtime
+from agentscope.constants import _DEFAULT_SUBDIR_CODE, _DEFAULT_SUBDIR_INVOKE
+from agentscope.utils.tools import _is_process_alive
+
+_app = Flask(__name__)
+
+# Set the cache directory
+_cache_dir = str(Path.home() / ".cache" / "agentscope-studio")
+os.makedirs(_cache_dir, exist_ok=True)
+_app.config[
+ "SQLALCHEMY_DATABASE_URI"
+] = f"sqlite:////{_cache_dir}/agentscope.db"
+_db = SQLAlchemy(_app)
+
+_socketio = SocketIO(_app)
+
+# This will enable CORS for all routes
+CORS(_app)
+
+_RUNS_DIRS = []
+
+
+class _UserInputRequestQueue:
+ """A queue to store the user input requests."""
+
+ _requests = {}
+ """The user input requests in the queue."""
+
+ @classmethod
+ def add_request(cls, run_id: str, agent_id: str, data: dict) -> None:
+ """Add a new user input request into queue.
+
+ Args:
+ run_id (`str`):
+ The id of the runtime instance.
+ agent_id (`str`):
+ The id of the agent that requires user input.
+ data (`dict`):
+ The data of the user input request.
+ """
+ if run_id not in cls._requests:
+ cls._requests[run_id] = {agent_id: data}
+ else:
+ # We ensure that the agent_id is unique here
+ cls._requests[run_id][agent_id] = data
+
+ @classmethod
+ def fetch_a_request(cls, run_id: str) -> Optional[dict]:
+ """Fetch a user input request from the queue.
+
+ Args:
+ run_id (`str`):
+ The id of the runtime instance.
+ """
+ if run_id in cls._requests and len(cls._requests[run_id]) > 0:
+ # Fetch the oldest request
+ agent_id = list(cls._requests[run_id].keys())[0]
+ return cls._requests[run_id][agent_id]
+ else:
+ return None
+
+ @classmethod
+ def close_a_request(cls, run_id: str, agent_id: str) -> None:
+ """Close a user input request in the queue.
+
+ Args:
+ run_id (`str`):
+ The id of the runtime instance.
+ agent_id (`str`):
+ The id of the agent that requires user input.
+ """
+ if run_id in cls._requests:
+ cls._requests[run_id].pop(agent_id)
+
+
+class _RunTable(_db.Model): # type: ignore[name-defined]
+ """Runtime object."""
+
+ run_id = _db.Column(_db.String, primary_key=True)
+ project = _db.Column(_db.String)
+ name = _db.Column(_db.String)
+ timestamp = _db.Column(_db.String)
+ run_dir = _db.Column(_db.String)
+ pid = _db.Column(_db.Integer)
+ status = _db.Column(_db.String, default="finished")
+
+
+class _ServerTable(_db.Model): # type: ignore[name-defined]
+ """Server object."""
+
+ id = _db.Column(_db.String, primary_key=True)
+ host = _db.Column(_db.String)
+ port = _db.Column(_db.Integer)
+ create_time = _db.Column(_db.DateTime, default=datetime.now)
+
+
+class _MessageTable(_db.Model): # type: ignore[name-defined]
+ """Message object."""
+
+ id = _db.Column(_db.Integer, primary_key=True)
+ run_id = _db.Column(
+ _db.String,
+ _db.ForeignKey("run_table.run_id"),
+ nullable=False,
+ )
+ name = _db.Column(_db.String)
+ role = _db.Column(_db.String)
+ content = _db.Column(_db.String)
+ url = _db.Column(_db.String)
+ meta = _db.Column(_db.String)
+ timestamp = _db.Column(_db.String)
+
+
+def _get_all_runs_from_dir() -> dict:
+ """Get all runs from the directory."""
+ global _RUNS_DIRS
+ runtime_configs_from_dir = {}
+ if _RUNS_DIRS is not None:
+ for runs_dir in set(_RUNS_DIRS):
+ for runtime_dir in os.listdir(runs_dir):
+ path_runtime = os.path.join(runs_dir, runtime_dir)
+ path_config = os.path.join(path_runtime, ".config")
+ if os.path.exists(path_config):
+ with open(path_config, "r", encoding="utf-8") as file:
+ runtime_config = json.load(file)
+
+ # Default status is finished
+ # Note: this is only for local runtime instances
+ if "pid" in runtime_config and _is_process_alive(
+ runtime_config["pid"],
+ runtime_config["timestamp"],
+ ):
+ runtime_config["status"] = "running"
+ else:
+ runtime_config["status"] = "finished"
+
+ if "run_dir" not in runtime_config:
+ runtime_config["run_dir"] = path_runtime
+
+ if "id" in runtime_config:
+ runtime_config["run_id"] = runtime_config["id"]
+ del runtime_config["id"]
+
+ runtime_id = runtime_config.get("run_id")
+ runtime_configs_from_dir[runtime_id] = runtime_config
+
+ return runtime_configs_from_dir
+
+
+def _remove_file_paths(error_trace: str) -> str:
+ """
+ Remove the real traceback when exception happens.
+ """
+ path_regex = re.compile(r'File "(.*?)(?=agentscope|app\.py)')
+ cleaned_trace = re.sub(path_regex, 'File "[hidden]/', error_trace)
+
+ return cleaned_trace
+
+
+def _convert_to_py( # type: ignore[no-untyped-def]
+ content: str,
+ **kwargs,
+) -> Tuple:
+ """
+ Convert json config to python code.
+ """
+ from agentscope.web.workstation.workflow_dag import build_dag
+
+ try:
+ cfg = json.loads(content)
+ return "True", build_dag(cfg).compile(**kwargs)
+ except Exception as e:
+ return "False", _remove_file_paths(
+ f"Error: {e}\n\n" f"Traceback:\n" f"{traceback.format_exc()}",
+ )
+
+
+@_app.route("/workstation")
+def _workstation() -> str:
+ """Render the workstation page."""
+ return render_template("workstation.html")
+
+
+@_app.route("/api/runs/register", methods=["POST"])
+def _register_run() -> Response:
+ """Registers a running instance of an agentscope application."""
+
+ # Extract the input data from the request
+ data = request.json
+ run_id = data.get("run_id")
+
+ # check if the run_id is already in the database
+ if _RunTable.query.filter_by(run_id=run_id).first():
+ abort(400, f"RUN_ID {run_id} already exists")
+
+ # Add into the database
+ _db.session.add(
+ _RunTable(
+ run_id=run_id,
+ project=data.get("project"),
+ name=data.get("name"),
+ timestamp=data.get("timestamp"),
+ run_dir=data.get("run_dir"),
+ pid=data.get("pid"),
+ status="running",
+ ),
+ )
+ _db.session.commit()
+
+ return jsonify(status="ok")
+
+
+@_app.route("/api/servers/register", methods=["POST"])
+def _register_server() -> Response:
+ """
+ Registers an agent server.
+ """
+ data = request.json
+ server_id = data.get("server_id")
+ host = data.get("host")
+ port = data.get("port")
+
+ if _ServerTable.query.filter_by(id=server_id).first():
+ _app.logger.error(f"Server id {server_id} already exists.")
+ abort(400, f"run_id [{server_id}] already exists")
+
+ _db.session.add(
+ _ServerTable(
+ id=server_id,
+ host=host,
+ port=port,
+ ),
+ )
+ _db.session.commit()
+
+ _app.logger.info(f"Register server id {server_id}")
+ return jsonify(status="ok")
+
+
+@_app.route("/api/messages/push", methods=["POST"])
+def _push_message() -> Response:
+ """Receive a message from the agentscope application, and display it on
+ the web UI."""
+ _app.logger.debug("Flask: receive push_message")
+ data = request.json
+
+ run_id = data["run_id"]
+ name = data["name"]
+ role = data["role"]
+ content = data["content"]
+ metadata = data["metadata"]
+ timestamp = data["timestamp"]
+ url = data["url"]
+
+ try:
+ new_message = _MessageTable(
+ run_id=run_id,
+ name=name,
+ role=role,
+ content=content,
+ # Before storing into the database, we need to convert the url into
+ # a string
+ meta=json.dumps(metadata),
+ url=json.dumps(url),
+ timestamp=timestamp,
+ )
+ _db.session.add(new_message)
+ _db.session.commit()
+ except Exception as e:
+ abort(400, "Fail to put message with error: " + str(e))
+
+ data = {
+ "run_id": run_id,
+ "name": name,
+ "role": role,
+ "content": content,
+ "url": url,
+ "metadata": metadata,
+ "timestamp": timestamp,
+ }
+
+ _socketio.emit(
+ "display_message",
+ data,
+ room=run_id,
+ )
+ _app.logger.debug("Flask: send display_message")
+ return jsonify(status="ok")
+
+
+@_app.route("/api/messages/run/<run_id>", methods=["GET"])
+def _get_messages(run_id: str) -> Response:
+ """Get the history messages of specific run_id."""
+ # From registered runtime instances
+ if len(_RunTable.query.filter_by(run_id=run_id).all()) > 0:
+ messages = _MessageTable.query.filter_by(run_id=run_id).all()
+ msgs = [
+ {
+ "name": message.name,
+ "role": message.role,
+ "content": message.content,
+ "url": json.loads(message.url),
+ "metadata": json.loads(message.meta),
+ "timestamp": message.timestamp,
+ }
+ for message in messages
+ ]
+ return jsonify(msgs)
+
+ # From the local file
+ run_dir = request.args.get("run_dir", default=None, type=str)
+
+ # Search the run_dir from the registered runtime instances if not provided
+ if run_dir is None:
+ runtime_configs_from_dir = _get_all_runs_from_dir()
+ if run_id in runtime_configs_from_dir:
+ run_dir = runtime_configs_from_dir[run_id]["run_dir"]
+
+ # Load the messages from the local file
+ path_messages = os.path.join(run_dir, "logging.chat")
+ if run_dir is None or not os.path.exists(path_messages):
+ return jsonify([])
+ else:
+ with open(path_messages, "r", encoding="utf-8") as file:
+ msgs = [json.loads(_) for _ in file.readlines()]
+ return jsonify(msgs)
+
+
+@_app.route("/api/runs/get/<run_id>", methods=["GET"])
+def _get_run(run_id: str) -> Response:
+ """Get a specific run's detail."""
+ run = _RunTable.query.filter_by(run_id=run_id).first()
+ if not run:
+ abort(400, f"run_id [{run_id}] not exists")
+ return jsonify(
+ {
+ "run_id": run.run_id,
+ "project": run.project,
+ "name": run.name,
+ "timestamp": run.timestamp,
+ "run_dir": run.run_dir,
+ "pid": run.pid,
+ "status": run.status,
+ },
+ )
+
+
+@_app.route("/api/runs/all", methods=["GET"])
+def _get_all_runs() -> Response:
+ """Get all runs."""
+ # Update the status of the registered runtimes
+ # Note: this is only for the applications running on the local machine
+ for run in _RunTable.query.filter(
+ _RunTable.status.in_(["running", "waiting"]),
+ ).all():
+ if not _is_process_alive(run.pid, run.timestamp):
+ _RunTable.query.filter_by(run_id=run.run_id).update(
+ {"status": "finished"},
+ )
+ _db.session.commit()
+
+ # From web connection
+ runtime_configs_from_register = {
+ _.run_id: {
+ "run_id": _.run_id,
+ "project": _.project,
+ "name": _.name,
+ "timestamp": _.timestamp,
+ "run_dir": _.run_dir,
+ "pid": _.pid,
+ "status": _.status,
+ }
+ for _ in _RunTable.query.all()
+ }
+
+ # From directory
+ runtime_configs_from_dir = _get_all_runs_from_dir()
+
+ # Remove duplicates between two sources
+ clean_runtimes = {
+ **runtime_configs_from_dir,
+ **runtime_configs_from_register,
+ }
+
+ runs = list(clean_runtimes.values())
+
+ return jsonify(runs)
+
+
+@_app.route("/api/invocation", methods=["GET"])
+def _get_invocations() -> Response:
+ """Get all API invocations in a run instance."""
+ run_dir = request.args.get("run_dir")
+ path_invocations = os.path.join(run_dir, _DEFAULT_SUBDIR_INVOKE)
+
+ invocations = []
+ if os.path.exists(path_invocations):
+ for filename in os.listdir(path_invocations):
+ with open(
+ os.path.join(path_invocations, filename),
+ "r",
+ encoding="utf-8",
+ ) as file:
+ invocations.append(json.load(file))
+ return jsonify(invocations)
+
+
+@_app.route("/api/code", methods=["GET"])
+def _get_code() -> Response:
+ """Get the python code from the run directory."""
+ run_dir = request.args.get("run_dir")
+
+ dir_code = os.path.join(run_dir, _DEFAULT_SUBDIR_CODE)
+
+ codes = {}
+ if os.path.exists(dir_code):
+ for filename in os.listdir(dir_code):
+ with open(
+ os.path.join(dir_code, filename),
+ "r",
+ encoding="utf-8",
+ ) as file:
+ codes[filename] = "".join(file.readlines())
+ return jsonify(codes)
+
+
+@_app.route("/api/file", methods=["GET"])
+def _get_file() -> Any:
+ """Get the local file via the url."""
+ file_path = request.args.get("path", None)
+
+ if file_path is not None:
+ try:
+ file = send_file(file_path)
+ return file
+ except FileNotFoundError:
+ return jsonify({"error": "File not found."})
+ return jsonify({"error": "File not found."})
+
+
+@_app.route("/convert-to-py", methods=["POST"])
+def _convert_config_to_py() -> Response:
+ """
+ Convert json config to python code and send back.
+ """
+ content = request.json.get("data")
+ status, py_code = _convert_to_py(content)
+ return jsonify(py_code=py_code, is_success=status)
+
+
+def _cleanup_process(proc: subprocess.Popen) -> None:
+ """Clean up the process for running application started by workstation."""
+ proc.wait()
+ _app.logger.debug(f"The process with pid {proc.pid} is closed")
+
+
+@_app.route("/convert-to-py-and-run", methods=["POST"])
+def _convert_config_to_py_and_run() -> Response:
+ """
+ Convert json config to python code and run.
+ """
+ content = request.json.get("data")
+ studio_url = request.url_root.rstrip("/")
+ run_id = _runtime.generate_new_runtime_id()
+ status, py_code = _convert_to_py(
+ content,
+ runtime_id=run_id,
+ studio_url=studio_url,
+ )
+
+ if status == "True":
+ try:
+ with tempfile.NamedTemporaryFile(
+ delete=False,
+ suffix=".py",
+ mode="w+t",
+ ) as tmp:
+ tmp.write(py_code)
+ tmp.flush()
+ proc = subprocess.Popen( # pylint: disable=R1732
+ ["python", tmp.name],
+ )
+ threading.Thread(target=_cleanup_process, args=(proc,)).start()
+ except Exception as e:
+ status, py_code = "False", _remove_file_paths(
+ f"Error: {e}\n\n" f"Traceback:\n" f"{traceback.format_exc()}",
+ )
+ return jsonify(py_code=py_code, is_success=status, run_id=run_id)
+
+
+@_app.route("/read-examples", methods=["POST"])
+def _read_examples() -> Response:
+ """
+ Read tutorial examples from local file.
+ """
+ lang = request.json.get("lang")
+ file_index = request.json.get("data")
+
+ if not os.path.exists(
+ os.path.join(
+ _app.root_path,
+ "static",
+ "workstation_templates",
+ f"{lang}{file_index}.json",
+ ),
+ ):
+ lang = "en"
+
+ with open(
+ os.path.join(
+ _app.root_path,
+ "static",
+ "workstation_templates",
+ f"{lang}{file_index}.json",
+ ),
+ "r",
+ encoding="utf-8",
+ ) as jf:
+ data = json.load(jf)
+ return jsonify(json=data)
+
+
+@_app.route("/")
+def _home() -> str:
+ """Render the home page."""
+ return render_template("index.html")
+
+
+@_socketio.on("request_user_input")
+def _request_user_input(data: dict) -> None:
+ """Request user input"""
+ _app.logger.debug("Flask: receive request_user_input")
+
+ run_id = data["run_id"]
+ agent_id = data["agent_id"]
+
+ # Change the status into waiting
+ _db.session.query(_RunTable).filter_by(run_id=run_id).update(
+ {"status": "waiting"},
+ )
+ _db.session.commit()
+
+ # Record into the queue
+ _UserInputRequestQueue.add_request(run_id, agent_id, data)
+
+ # Ask for user input from the web ui
+ _socketio.emit(
+ "enable_user_input",
+ data,
+ room=run_id,
+ )
+
+ _app.logger.debug("Flask: send enable_user_input")
+
+
+@_socketio.on("user_input_ready")
+def _user_input_ready(data: dict) -> None:
+ """Get user input and send to the agent"""
+ _app.logger.debug(f"Flask: receive user_input_ready: {data}")
+
+ run_id = data["run_id"]
+ agent_id = data["agent_id"]
+ content = data["content"]
+ url = data["url"]
+
+ _db.session.query(_RunTable).filter_by(run_id=run_id).update(
+ {"status": "running"},
+ )
+ _db.session.commit()
+
+ # Return to AgentScope application
+ _socketio.emit(
+ "fetch_user_input",
+ {
+ "agent_id": agent_id,
+ "name": data["name"],
+ "run_id": run_id,
+ "content": content,
+ "url": None if url in ["", []] else url,
+ },
+ room=run_id,
+ )
+
+ # Close the request in the queue
+ _UserInputRequestQueue.close_a_request(run_id, agent_id)
+
+ # Fetch a new user input request for this run_id if exists
+ new_request = _UserInputRequestQueue.fetch_a_request(run_id)
+ if new_request is not None:
+ _socketio.emit(
+ "enable_user_input",
+ new_request,
+ room=run_id,
+ )
+
+ _app.logger.debug("Flask: send fetch_user_input")
+
+
+@_socketio.on("connect")
+def _on_connect() -> None:
+ """Execute when a client is connected."""
+ _app.logger.info("New client connected")
+
+
+@_socketio.on("disconnect")
+def _on_disconnect() -> None:
+ """Execute when a client is disconnected."""
+ _app.logger.info("Client disconnected")
+
+
+@_socketio.on("join")
+def _on_join(data: dict) -> None:
+ """Join a websocket room"""
+ run_id = data["run_id"]
+ join_room(run_id)
+
+ new_request = _UserInputRequestQueue.fetch_a_request(run_id)
+ if new_request is not None:
+ _socketio.emit(
+ "enable_user_input",
+ new_request,
+ room=run_id,
+ )
+
+
+@_socketio.on("leave")
+def _on_leave(data: dict) -> None:
+ """Leave a websocket room"""
+ run_id = data["run_id"]
+ leave_room(run_id)
+
+
+
+[文档]
+def init(
+ host: str = "127.0.0.1",
+ port: int = 5000,
+ run_dirs: Optional[Union[str, list[str]]] = None,
+ debug: bool = False,
+) -> None:
+ """Start the AgentScope Studio web UI with the given configurations.
+
+ Args:
+ host (str, optional):
+ The host of the web UI. Defaults to "127.0.0.1"
+ port (int, optional):
+ The port of the web UI. Defaults to 5000.
+ run_dirs (`Optional[Union[str, list[str]]]`, defaults to `None`):
+ The directories to search for the history of runtime instances.
+ debug (`bool`, optional):
+ Whether to enable the debug mode. Defaults to False.
+ """
+
+ # Set the history directories
+ if isinstance(run_dirs, str):
+ run_dirs = [run_dirs]
+
+ global _RUNS_DIRS
+ _RUNS_DIRS = run_dirs
+
+ # Create the cache directory
+ with _app.app_context():
+ _db.create_all()
+
+ if debug:
+ _app.logger.setLevel("DEBUG")
+ else:
+ _app.logger.setLevel("INFO")
+
+ _socketio.run(
+ _app,
+ host=host,
+ port=port,
+ debug=debug,
+ allow_unsafe_werkzeug=True,
+ )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/zh_CN/_modules/agentscope/utils/monitor.html b/zh_CN/_modules/agentscope/utils/monitor.html
index 4b6038668..146fe3a53 100644
--- a/zh_CN/_modules/agentscope/utils/monitor.html
+++ b/zh_CN/_modules/agentscope/utils/monitor.html
@@ -567,7 +567,7 @@ agentscope.utils.monitor 源代码
self.db_path = db_path
self.table_name = table_name
self._create_monitor_table(drop_exists)
- logger.info(
+ logger.debug(
f"SqliteMonitor initialization completed at [{self.db_path}]",
)
@@ -598,8 +598,8 @@ agentscope.utils.monitor 源代码
END;
""",
)
- logger.info(f"Init [{self.table_name}] as the monitor table")
- logger.info(
+ logger.debug(f"Init [{self.table_name}] as the monitor table")
+ logger.debug(
f"Init [{self.table_name}_quota_exceeded] as the monitor trigger",
)
diff --git a/zh_CN/_modules/agentscope/utils/tools.html b/zh_CN/_modules/agentscope/utils/tools.html
index 17fa9630b..dd354e969 100644
--- a/zh_CN/_modules/agentscope/utils/tools.html
+++ b/zh_CN/_modules/agentscope/utils/tools.html
@@ -108,12 +108,13 @@ agentscope.utils.tools 源代码
import secrets
import string
import socket
+import hashlib
+import random
from typing import Any, Literal, List, Optional
from urllib.parse import urlparse
-
+import psutil
import requests
-from loguru import logger
def _get_timestamp(
@@ -144,9 +145,7 @@ agentscope.utils.tools 源代码
if "content" in item:
clean_dict["content"] = _convert_to_str(item["content"])
else:
- logger.warning(
- f"Message {item} doesn't have `content` field for " f"OpenAI API.",
- )
+ raise ValueError("The content of the message is missing.")
return clean_dict
@@ -195,17 +194,10 @@ agentscope.utils.tools 源代码
"""
if port is None:
new_port = find_available_port()
- logger.warning(
- "agent server port is not provided, automatically select "
- f"[{new_port}] as the port number.",
- )
return new_port
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
if s.connect_ex(("localhost", port)) == 0:
new_port = find_available_port()
- logger.warning(
- f"Port [{port}] is occupied, use [{new_port}] instead",
- )
return new_port
return port
@@ -330,7 +322,7 @@ agentscope.utils.tools 源代码
file.write(chunk)
return True
else:
- logger.warning(
+ raise RuntimeError(
f"Failed to download file from {url} (status code: "
f"{response.status_code}). Retry {n_retry}/{max_retries}.",
)
@@ -354,6 +346,28 @@ agentscope.utils.tools 源代码
return "".join(secrets.choice(characters) for i in range(length))
+
+[文档]
+def generate_id_from_seed(seed: str, length: int = 8) -> str:
+ """Generate random id from seed str.
+
+ Args:
+ seed (`str`): seed string.
+ length (`int`): generated id length.
+ """
+ hasher = hashlib.sha256()
+ hasher.update(seed.encode("utf-8"))
+ hash_digest = hasher.hexdigest()
+
+ random.seed(hash_digest)
+ id_chars = [
+ random.choice(string.ascii_letters + string.digits)
+ for _ in range(length)
+ ]
+ return "".join(id_chars)
+
+
+
def _is_json_serializable(obj: Any) -> bool:
"""Check if the given object is json serializable."""
try:
@@ -491,6 +505,70 @@ agentscope.utils.tools 源代码
)
raise ImportError(err_msg)
+
+
+def _get_process_creation_time() -> datetime.datetime:
+ """Get the creation time of the process."""
+ pid = os.getpid()
+ # Find the process by pid
+ current_process = psutil.Process(pid)
+ # Obtain the process creation time
+ create_time = current_process.create_time()
+ # Change the timestamp to a readable format
+ return datetime.datetime.fromtimestamp(create_time)
+
+
+def _is_process_alive(
+ pid: int,
+ create_time_str: str,
+ create_time_format: str = "%Y-%m-%d %H:%M:%S",
+ tolerance_seconds: int = 10,
+) -> bool:
+ """Check if the process is alive by comparing the actual creation time of
+ the process with the given creation time.
+
+ Args:
+ pid (`int`):
+ The process id.
+ create_time_str (`str`):
+ The given creation time string.
+ create_time_format (`str`, defaults to `"%Y-%m-%d %H:%M:%S"`):
+ The format of the given creation time string.
+ tolerance_seconds (`int`, defaults to `10`):
+ The tolerance seconds for comparing the actual creation time with
+ the given creation time.
+
+ Returns:
+ `bool`: True if the process is alive, False otherwise.
+ """
+ try:
+ # Try to create a process object by pid
+ proc = psutil.Process(pid)
+ # Obtain the actual creation time of the process
+ actual_create_time_timestamp = proc.create_time()
+
+ # Convert the given creation time string to a datetime object
+ given_create_time_datetime = datetime.datetime.strptime(
+ create_time_str,
+ create_time_format,
+ )
+
+ # Calculate the time difference between the actual creation time and
+ time_difference = abs(
+ actual_create_time_timestamp
+ - given_create_time_datetime.timestamp(),
+ )
+
+ # Compare the actual creation time with the given creation time
+ if time_difference <= tolerance_seconds:
+ return True
+
+ except (psutil.NoSuchProcess, psutil.AccessDenied, psutil.ZombieProcess):
+ # If the process is not found, access is denied, or the process is a
+ # zombie process, return False
+ return False
+
+ return False
diff --git a/zh_CN/_modules/agentscope/web/_app.html b/zh_CN/_modules/agentscope/web/_app.html
deleted file mode 100644
index 25d45b434..000000000
--- a/zh_CN/_modules/agentscope/web/_app.html
+++ /dev/null
@@ -1,256 +0,0 @@
-
-
-
-
-
-
- agentscope.web._app — AgentScope 文档
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - 模块代码
- - agentscope.web._app
- -
-
-
-
-
-
-
-
- agentscope.web._app 源代码
-# -*- coding: utf-8 -*-
-"""The main entry point of the web UI."""
-import json
-import os
-
-from flask import Flask, jsonify, render_template, Response
-from flask_cors import CORS
-from flask_socketio import SocketIO
-
-app = Flask(__name__)
-socketio = SocketIO(app)
-CORS(app) # This will enable CORS for all routes
-
-
-PATH_SAVE = ""
-
-
-@app.route("/getProjects", methods=["GET"])
-def get_projects() -> Response:
- """Get all the projects in the runs directory."""
- cfgs = []
- for run_dir in os.listdir(PATH_SAVE):
- print(run_dir)
- path_cfg = os.path.join(PATH_SAVE, run_dir, ".config")
- if os.path.exists(path_cfg):
- with open(path_cfg, "r", encoding="utf-8") as file:
- cfg = json.load(file)
- cfg["dir"] = run_dir
- cfgs.append(cfg)
-
- # Filter the same projects
- project_names = list({_["project"] for _ in cfgs})
-
- return jsonify(
- {
- "names": project_names,
- "runs": cfgs,
- },
- )
-
-
-@app.route("/")
-def home() -> str:
- """Render the home page."""
- return render_template("home.html")
-
-
-@app.route("/run/<run_dir>")
-def run_detail(run_dir: str) -> str:
- """Render the run detail page."""
- path_run = os.path.join(PATH_SAVE, run_dir)
-
- # Find the logging and chat file by suffix
- path_log = os.path.join(path_run, "logging.log")
- path_dialog = os.path.join(path_run, "logging.chat")
-
- if os.path.exists(path_log):
- with open(path_log, "r", encoding="utf-8") as file:
- logging_content = ["".join(file.readlines())]
- else:
- logging_content = None
-
- if os.path.exists(path_dialog):
- with open(path_dialog, "r", encoding="utf-8") as file:
- dialog_content = file.readlines()
- dialog_content = [json.loads(_) for _ in dialog_content]
- else:
- dialog_content = []
-
- path_cfg = os.path.join(PATH_SAVE, run_dir, ".config")
- if os.path.exists(path_cfg):
- with open(path_cfg, "r", encoding="utf-8") as file:
- cfg = json.load(file)
- else:
- cfg = {
- "project": "-",
- "name": "-",
- "id": "-",
- "timestamp": "-",
- }
-
- logging_and_dialog = {
- "config": cfg,
- "logging": logging_content,
- "dialog": dialog_content,
- }
-
- return render_template("run.html", runInfo=logging_and_dialog)
-
-
-@socketio.on("connect")
-def on_connect() -> None:
- """Execute when a client is connected."""
- print("Client connected")
-
-
-@socketio.on("disconnect")
-def on_disconnect() -> None:
- """Execute when a client is disconnected."""
- print("Client disconnected")
-
-
-
-[文档]
-def init(
- path_save: str,
- host: str = "127.0.0.1",
- port: int = 5000,
- debug: bool = False,
-) -> None:
- """Start the web UI."""
- global PATH_SAVE
-
- if not os.path.exists(path_save):
- raise FileNotFoundError(f"The path {path_save} does not exist.")
-
- PATH_SAVE = path_save
- socketio.run(
- app,
- host=host,
- port=port,
- debug=debug,
- allow_unsafe_werkzeug=True,
- )
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/zh_CN/_modules/agentscope/web/studio/studio.html b/zh_CN/_modules/agentscope/web/gradio/studio.html
similarity index 96%
rename from zh_CN/_modules/agentscope/web/studio/studio.html
rename to zh_CN/_modules/agentscope/web/gradio/studio.html
index ad91c295b..7a18fbc71 100644
--- a/zh_CN/_modules/agentscope/web/studio/studio.html
+++ b/zh_CN/_modules/agentscope/web/gradio/studio.html
@@ -4,7 +4,7 @@
- agentscope.web.studio.studio — AgentScope 文档
+ agentscope.web.gradio.studio — AgentScope 文档
@@ -46,8 +46,8 @@
- 模块代码
- - agentscope.web.studio.studio
+ - agentscope.web.gradio.studio
-
@@ -98,7 +98,7 @@
- agentscope.web.studio.studio 源代码
+ agentscope.web.gradio.studio 源代码
# -*- coding: utf-8 -*-
"""run web ui"""
import argparse
@@ -120,7 +120,7 @@ agentscope.web.studio.studio 源代码
except ImportError:
mgr = None
-from agentscope.web.studio.utils import (
+from agentscope.web.gradio.utils import (
send_player_input,
get_chat_msg,
SYS_MSG_PREFIX,
@@ -133,14 +133,14 @@ agentscope.web.studio.studio 源代码
thread_local_data,
cycle_dots,
)
-from agentscope.web.studio.constants import _SPEAK
+from agentscope.web.gradio.constants import _SPEAK
MAX_NUM_DISPLAY_MSG = 20
FAIL_COUNT_DOWN = 30
-[文档]
+[文档]
def init_uid_list() -> list:
"""Initialize an empty list for storing user IDs."""
return []
@@ -153,7 +153,7 @@ agentscope.web.studio.studio 源代码
@@ -89,7 +89,7 @@
@@ -86,9 +86,9 @@
@@ -86,9 +86,9 @@
@@ -86,9 +86,9 @@
@@ -86,9 +86,9 @@
@@ -86,9 +86,9 @@
@@ -88,7 +88,7 @@
@@ -88,7 +88,7 @@