pip
can be used to manage your environment.
Key Components
The SDK is comprised of several key components, each tailored to handle different types of content:- PDF Files
- DOCX Files
- Text Files
- Webpages
- Websites
- YouTube Videos
Using the SearchAgent SDK
The following sections provide a step-by-step guide to using the SearchAgent SDK in your projects.Initializing the SearchAgent
To use the SDK, start by importing and initializing theSearchAgent
class:
Setup Vector Database
Let’s configure Qdrant Vector Database. please intallpip install qdrant_client
Setup Large Language model
Training Search Agent
With theSearchAgent
initialized, you can begin adding content from various sources. The SDK provides methods for integrating different content types, as outlined below.