agentle.agents.knowledge.static_knowledgeΒΆ

Functions

Field()

!!! abstract "Usage Documentation"

is_file_path(content[, base_path])

Check if content is a valid file path that exists.

is_url(content)

Check if content is a URL.

validate_content_type(content[, base_path])

Determine and validate the type of content (URL, file path, or raw text).

Classes

BaseModel()

Alias for pydantic.BaseModel.

ParsedFile(*, name, sections[, metadata])

Represents a fully parsed document with its sections and metadata.

StaticKnowledge(*, content[, cache, ...])

Static knowledge is a collection of knowledge that is provided to the agent at the time of creation.

Exceptions

FileValidationError(message, path[, error_code])

Custom exception for file validation errors.