services.conversation_formatter#

Module Contents#

Classes#

ConversationFormatter

Represents a way of formatting a conversation with an LLM such that it can response appropriately

API#

class services.conversation_formatter.ConversationFormatter#

Bases: abc.ABC

Represents a way of formatting a conversation with an LLM such that it can response appropriately

abstractmethod format_conversation(conv: list[dict]) str#