def test_pipeline_with_generic_open_clip_model_properties_localpath(self):
        """index should get created with custom model_properties
        """
        score_threshold = 0.6
        url = "https://github.com/mlfoundations/open_clip/releases/download/v0.2-weights/vit_b_32-quickgelu-laion400m_avg-8a00ab3c.pt"
        target_model = download_pretrained_from_url(url)

        model_name = 'test-model-1'
        model_properties = {"name": "ViT-B-32-quickgelu",
                            "dimensions": 512,
                            "localpath": target_model,
                            "type": "open_clip",
                            }
        tensor_search.create_vector_index(
            index_name=self.index_name_1, config=self.config,
            index_settings={
                "index_defaults": {
                    'model': model_name,
                    'model_properties': model_properties
                }
            }
        )

        docs = [
            {
                "_id": "123",
                "title 1": "content 1",
                "desc 2": "content 2. blah blah blah"
            }]

        self.add_documents(config=self.config, add_docs_params=AddDocsParams(
            index_name=self.index_name_1, docs=docs, device="cpu"))

        assert tensor_search.get_document_by_id(
            config=self.config, index_name=self.index_name_1,
            document_id="123") == {
                "_id": "123",
                "title 1": "content 1",
                "desc 2": "content 2. blah blah blah"
            }

        docs2 = [
            {
                "_id": "321",
                "title 1": "test test test",
                "desc 2": "test again test again test again"
            }]

        self.add_documents(config=self.config, add_docs_params=AddDocsParams(
            index_name=self.index_name_1, docs=docs2, device="cpu"))

        assert tensor_search.get_document_by_id(
            config=self.config, index_name=self.index_name_1,
            document_id="321") == {
                "_id": "321",
                "title 1": "test test test",
                "desc 2": "test again test again test again"
               }

        # Step3 - Search
        search_res = tensor_search.search(config=self.config, index_name=self.index_name_1, text="content 2. blah blah blah", result_count=1)
        assert len(search_res['hits']) == 1
        assert search_res["hits"][0]["_score"] > score_threshold
        assert search_res["hits"][0]["_id"] == "123"
index should get created with custom model_properties
        
tests/integ_tests/s2_inference/test_generic_clip_model.py