Skip to main content
Vrin client methods return plain dicts by default. These dataclasses provide optional typed wrappers with convenience properties. All have a from_dict() classmethod.

Document

Represents a document to be processed and indexed.

Fields

QueryResult

Represents a single search result from the knowledge base.

Fields

Properties

  • title — Document title (from metadata)
  • tags — Document tags (from metadata)
  • source — Source identifier (from metadata)

JobStatus

Represents the status of an async processing job (insertion or upload).

Fields

Properties

  • is_completedTrue when status is "completed"
  • is_failedTrue when status is "failed"
  • is_processingTrue when status is any active state
  • completion_timedatetime from completed_at
  • creation_timedatetime from timestamp

InsertResult

Structured response from an insert operation.

Fields

UploadResult

Structured response from a file upload.

Fields

UserLimits

User plan information and usage limits.

Fields

Conversation

Summary of a conversation session.

Fields