Skip to main content
ExampleDescription
From PathDemonstrates loading knowledge from a local file path using sync and async inserts.
From URLDemonstrates loading knowledge from a URL using sync and async inserts.
From TopicDemonstrates loading topics from Wikipedia and Arxiv using sync and async operations.
From Multiple SourcesDemonstrates loading knowledge from multiple paths and URLs using sync and async operations.
From YouTubeDemonstrates loading knowledge from a YouTube URL using sync and async inserts.
From S3Demonstrates loading knowledge from S3 remote content using sync and async inserts.
From GCSDemonstrates loading knowledge from GCS remote content using sync and async inserts.
Include And Exclude FilesDemonstrates include and exclude filters when loading directory content into knowledge.
Remove ContentDemonstrates removing knowledge content by id and clearing all content, with sync and async APIs.
Remove VectorsDemonstrates removing vectors by metadata and by name using sync and async insert flows.
Skip If ExistsDemonstrates skip-if-exists behavior for repeated knowledge inserts with sync and async APIs.
Skip If Exists With Contents DBDemonstrates adding existing vector content into a contents database using skip-if-exists.
Specify ReaderDemonstrates setting a specific reader during knowledge insertion with sync and async APIs.
Text ContentDemonstrates adding direct text content to knowledge using sync and async APIs.
BatchingDemonstrates knowledge insertion with batch embeddings using sync and async APIs.
Knowledge InstructionsDemonstrates disabling automatic search-knowledge instructions on an agent.
Isolate Vector SearchWhen multiple Knowledge instances share the same vector database, you can use.