Class: Zavudev::Models::Senders::Agent::AgentDocument
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::Senders::Agent::AgentDocument
- Defined in:
- lib/zavudev/models/senders/agent/agent_document.rb
Instance Attribute Summary collapse
-
#chunk_count ⇒ Integer
Number of chunks created from this document.
-
#content_length ⇒ Integer
Length of the document content in characters.
- #created_at ⇒ Time
- #id ⇒ String
-
#is_processed ⇒ Boolean
Whether the document has been processed for RAG.
- #knowledge_base_id ⇒ String
- #title ⇒ String
- #updated_at ⇒ Time
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
This class inherits a constructor from Zavudev::Internal::Type::BaseModel
Instance Attribute Details
#chunk_count ⇒ Integer
Number of chunks created from this document.
17 |
# File 'lib/zavudev/models/senders/agent/agent_document.rb', line 17 required :chunk_count, Integer, api_name: :chunkCount |
#content_length ⇒ Integer
Length of the document content in characters.
23 |
# File 'lib/zavudev/models/senders/agent/agent_document.rb', line 23 required :content_length, Integer, api_name: :contentLength |
#created_at ⇒ Time
28 |
# File 'lib/zavudev/models/senders/agent/agent_document.rb', line 28 required :created_at, Time, api_name: :createdAt |
#id ⇒ String
11 |
# File 'lib/zavudev/models/senders/agent/agent_document.rb', line 11 required :id, String |
#is_processed ⇒ Boolean
Whether the document has been processed for RAG.
34 |
# File 'lib/zavudev/models/senders/agent/agent_document.rb', line 34 required :is_processed, Zavudev::Internal::Type::Boolean, api_name: :isProcessed |
#knowledge_base_id ⇒ String
39 |
# File 'lib/zavudev/models/senders/agent/agent_document.rb', line 39 required :knowledge_base_id, String, api_name: :knowledgeBaseId |
#title ⇒ String
44 |
# File 'lib/zavudev/models/senders/agent/agent_document.rb', line 44 required :title, String |
#updated_at ⇒ Time
49 |
# File 'lib/zavudev/models/senders/agent/agent_document.rb', line 49 required :updated_at, Time, api_name: :updatedAt |