Skip to content

Commit

Permalink
simulate streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerHYang committed Nov 16, 2023
1 parent 313f64e commit d8ba773
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/phoenix/server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,11 @@ def _load_items(
daemon=True,
).start()
fixture_evals = get_evals_from_fixture(trace_dataset_name)
for evaluation in fixture_evals:
evals.put(evaluation)
Thread(
target=_load_items,
args=(evals, fixture_evals, simulate_streaming),
daemon=True,
).start()
umap_params_list = args.umap_params.split(",")
umap_params = UMAPParameters(
min_dist=float(umap_params_list[0]),
Expand Down

0 comments on commit d8ba773

Please sign in to comment.