File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/3_evals/2_synthetic_data Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 44
55uv run \
66 --env-file .env \
7- gradio src. 3_evals/2_synthetic_data/gradio_visualize_diversity.py
7+ gradio src/ 3_evals/2_synthetic_data/gradio_visualize_diversity.py
88"""
99
1010from typing import List
1717from sklearn .decomposition import PCA
1818from sklearn .manifold import TSNE
1919
20- from .. .utils import Configs , create_batches , gather_with_progress
21- from .. .utils .langfuse .shared_client import langfuse_client
20+ from src .utils import Configs , create_batches , gather_with_progress
21+ from src .utils .langfuse .shared_client import langfuse_client
2222
2323
2424def reduce_dimensions (
@@ -79,7 +79,7 @@ async def get_projection_plot(
7979 embedding_batch_size : int = 16 ,
8080) -> Figure :
8181 """Obtain projection plot for the given dataset up to `limit` items."""
82- lf_dataset_items = langfuse_client .get_dataset (dataset_name ).items
82+ lf_dataset_items = langfuse_client .get_dataset (dataset_name . strip () ).items
8383
8484 # Generate embeddings
8585 configs = Configs .from_env_var ()
You can’t perform that action at this time.
0 commit comments