Currently, tim.opensearch includes three separate methods for indexing, deleting, and updating (adding embeddings to existing records using the 'update' action) records in OpenSearch. While working on PR #370, it became clear that there was a pattern with the three methods and could be refactored to a single method that accepts an action parameter.
Currently,
tim.opensearchincludes three separate methods for indexing, deleting, and updating (adding embeddings to existing records using the 'update' action) records in OpenSearch. While working on PR #370, it became clear that there was a pattern with the three methods and could be refactored to a single method that accepts anactionparameter.