Skip to main content

Module chat_files

Module chat_files 

Source
Expand description

Session-scoped chat file attachments — PDF/text extraction, image sharing, vision ingest.

Structs§

AttachChatFileResult
ChatFileRecord
ChatFileSharing
ParsedDocument
PdfPageExtract

Enums§

FileVisibility
MediaKind

Functions§

attach_chat_file
Attaches a file to a chat.
build_chat_files_context_block
Builds chat-files-context-block.
can_use_in_llm_context
true when able to use-in-llm-context.
can_view_file
true when able to view-file.
default_sharing_for_session
Default sharing for a session.
is_image_extension
true when image-extension.
is_image_record
true when image-record.
list_chat_files
Lists chat files.
parse_document_bytes
Parses document-bytes.
parse_document_bytes_with_dir
Parses document-bytes-with-dir.
read_file_text
Reads a chat file as text.
resolve_chat_file_path
Resolves a chat file path.
set_chat_file_sharing
Sets chat-file-sharing.