agentscope¶
The agentscope serialization module
- init(project=None, name=None, logging_path=None, logging_level='INFO', studio_url=None, tracing_url=None)[source]¶
Initialize the agentscope library.
- Parameters:
project (str | None, optional) – The project name.
name (str | None, optional) – The name of the run.
logging_path (str | None, optional) – The path to saving the log file. If not provided, logs will not be saved.
logging_level (str | None, optional) – The logging level. Defaults to “INFO”.
studio_url (str | None, optional) – The URL of the AgentScope Studio to connect to.
tracing_url (str | None, optional) – The URL of the tracing endpoint, which can connect to third-party OpenTelemetry tracing platforms like Arize-Phoenix and Langfuse. If not provided and studio_url is provided, it will send traces to the AgentScope Studio’s tracing endpoint.
- Return type:
None