From 05ef716e4623b8f4d24c4781492113ead90ce4a9 Mon Sep 17 00:00:00 2001 From: Garance Date: Fri, 18 Oct 2024 15:49:31 -0400 Subject: [PATCH] fix: update fixture import in lancedb examples --- rig-lancedb/examples/vector_search_local_ann.rs | 2 +- rig-lancedb/examples/vector_search_local_enn.rs | 2 +- rig-lancedb/examples/vector_search_s3_ann.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rig-lancedb/examples/vector_search_local_ann.rs b/rig-lancedb/examples/vector_search_local_ann.rs index 23ad47b5..1b7870fb 100644 --- a/rig-lancedb/examples/vector_search_local_ann.rs +++ b/rig-lancedb/examples/vector_search_local_ann.rs @@ -1,7 +1,7 @@ use std::{env, sync::Arc}; use arrow_array::RecordBatchIterator; -use fixtures::{as_record_batch, fake_definitions, schema, FakeDefinition}; +use fixture::{as_record_batch, fake_definitions, schema, FakeDefinition}; use lancedb::index::vector::IvfPqIndexBuilder; use rig::vector_store::VectorStoreIndex; use rig::{ diff --git a/rig-lancedb/examples/vector_search_local_enn.rs b/rig-lancedb/examples/vector_search_local_enn.rs index dc492df4..630acc1a 100644 --- a/rig-lancedb/examples/vector_search_local_enn.rs +++ b/rig-lancedb/examples/vector_search_local_enn.rs @@ -1,7 +1,7 @@ use std::{env, sync::Arc}; use arrow_array::RecordBatchIterator; -use fixtures::{as_record_batch, fake_definitions, schema}; +use fixture::{as_record_batch, fake_definitions, schema}; use rig::{ embeddings::{builder::EmbeddingsBuilder, embedding::EmbeddingModel}, providers::openai::{Client, TEXT_EMBEDDING_ADA_002}, diff --git a/rig-lancedb/examples/vector_search_s3_ann.rs b/rig-lancedb/examples/vector_search_s3_ann.rs index a521153f..8c10409b 100644 --- a/rig-lancedb/examples/vector_search_s3_ann.rs +++ b/rig-lancedb/examples/vector_search_s3_ann.rs @@ -1,7 +1,7 @@ use std::{env, sync::Arc}; use arrow_array::RecordBatchIterator; -use fixtures::{as_record_batch, fake_definitions, schema, FakeDefinition}; +use fixture::{as_record_batch, fake_definitions, schema, FakeDefinition}; use lancedb::{index::vector::IvfPqIndexBuilder, DistanceType}; use rig::{ embeddings::{builder::EmbeddingsBuilder, embedding::EmbeddingModel},