Run search engine experiments in Vespa from python
Blog post from Vespa
The blog post introduces pyvespa, a Python API for Vespa, highlighting its utility in facilitating fast prototyping and machine learning experiments for Vespa applications. It outlines three primary methods to leverage pyvespa: connecting to a running Vespa application, building and deploying an application using the pyvespa API, and deploying from Vespa configuration files stored on disk. The article provides examples of each method, such as connecting directly to an existing Vespa application or building an application from scratch using the pyvespa API, which can then be deployed to a Docker container. Additionally, it discusses the possibility of deploying applications from existing Vespa configuration files, emphasizing the library's role as an experimental tool for information retrieval rather than a production-ready solution. The flexibility offered by these methods allows for easy experimentation while maintaining the capability to incorporate features not directly available through pyvespa.