Announcing Vectara’s Python-SDK
Blog post from Vectara
Vectara has introduced a Python SDK (currently in beta) designed to simplify the development of GenAI applications by providing a Pythonic interface to its APIs, thus enhancing ease of use and adoption. This SDK, developed in collaboration with Fern, mirrors Vectara’s API operations, thereby eliminating the need for developers to manually manage authentication, HTTP requests, and response parsing. It supports multiple authentication methods, including API keys and OAuth, and provides functionality for uploading files, indexing text, executing queries, and facilitating multi-turn chats. By leveraging familiar Python patterns and ensuring feature parity with the REST API, the SDK allows developers to focus on building robust applications more efficiently. The SDK also supports advanced features such as corpus management, user administration, and streaming query capabilities, with the full code accessible in an IPython notebook for further exploration. Vectara encourages users to try the SDK and provide feedback, offering a 30-day free trial for new users.