API Reference#

Generation#

syndisco.Actor

An abstract class representing an actor which responds according to an underlying LLM instance.

syndisco.BaseModel

Interface for all local LLM wrappers

syndisco.TransformersModel

HuggingFace Transformers model wrapper.

syndisco.OpenAIModel

OpenAI API-compatible model wrapper.

Single Job Management#

syndisco.Discussion

A job conducting a discussion between different actors (Actor).

syndisco.Annotation

An annotation job applied on a single discussion.

syndisco.Logs

A mutable container for comments made in a discussion.

Multi-Job Management#

syndisco.DiscussionExperiment

An experiment that creates, manages, and executes multiple synthetic discussions using LLM-based agents.

syndisco.AnnotationExperiment

An experiment that uses LLM annotators to label synthetic discussion logs.

Turn Management#

syndisco.TurnManager

An abstract class specifying the selection of the next speaker in a Discussion.

syndisco.QueueTurnManager

A simple turn manager which gives priority to the next user in the queue.

syndisco.RespondTurnManager

Enable a participant to reply with a set probability, else randomly select another participant.

syndisco.RandomTurnManager

Randomly chooses the next participant, excluding the last speaker.

Utilities#

syndisco.logging_setup

Create the logger configuration.