Skip to content

Util

BadFilterError

Bases: BackendError

LongMessageContentAndNotPersistentError

Bases: BackendError

MessageEmbeddableContent dataclass

location instance-attribute

message instance-attribute

text instance-attribute

__init__(message, text, location)

fill_location_contents(read_only_uow, content_or_locations) async

Load any location contents from the database to return only the text contents.

make_message_filter(user_id, conversation_uid, thread_uid, embed_type, max_message_age=None, message_types=None, include_long_content=True)

message_payloads_from_messages(text_splitter, messages, user_id, conversation_uid, thread_uid)

Convert a list of messages into the QdrantPayload equivalents.