From 783b66f9b98e48e0b670ce55ffe13598b3fd5728 Mon Sep 17 00:00:00 2001 From: Mikyo King Date: Mon, 23 Dec 2024 15:37:53 -0700 Subject: [PATCH] chore: enable running embeddings, passthrough smtp config (#5820) * chore: enable running embeddings, passthrough smtp config * fix --- app/package.json | 2 ++ requirements/dev.txt | 2 ++ tox.ini | 18 ++++++++++++++++++ 3 files changed, 22 insertions(+) diff --git a/app/package.json b/app/package.json index 73b52bfc3b..fa7af4e0d4 100644 --- a/app/package.json +++ b/app/package.json @@ -120,8 +120,10 @@ "test:e2e": "playwright test", "test:e2e:ui": "playwright test --ui", "dev": "pnpm run dev:server & pnpm run build:static && pnpm run build:relay && vite", + "dev:embeddings": "pnpm run dev:server:embeddings & pnpm run build:static && pnpm run build:relay && vite", "dev:ui": "pnpm run build:static && pnpm run build:relay && vite", "dev:server": "source .env && tox r -e phoenix_main -- --dev serve", + "dev:server:embeddings": "source .env && tox r -e phoenix_main -- --dev serve --with-fixture=chatbot", "dev:server:test": "node ./tests/utils/testServer.mjs", "dev:server:init": "tox r -e phoenix_main -- --dev serve --with-trace-fixtures=llama_index_rag --with-projects=demo_llama_index --force-fixture-ingestion", "typecheck": "tsc --noEmit", diff --git a/requirements/dev.txt b/requirements/dev.txt index fe4451e03a..4c4364fc34 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -4,3 +4,5 @@ anthropic google-generativeai psycopg[binary,pool] uvloop; platform_system != 'Windows' +fast-hdbscan +umap-learn diff --git a/tox.ini b/tox.ini index f4197af8ff..a703ff1e76 100644 --- a/tox.ini +++ b/tox.ini @@ -162,6 +162,24 @@ pass_env= PHOENIX_SQL_DATABASE_SCHEMA PHOENIX_ENABLE_AUTH PHOENIX_SECRET + PHOENIX_OAUTH2_GOOGLE_CLIENT_ID + PHOENIX_OAUTH2_GOOGLE_CLIENT_SECRET + PHOENIX_OAUTH2_GOOGLE_OIDC_CONFIG_URL + PHOENIX_OAUTH_GITHUB_CLIENT_ID + PHOENIX_OAUTH_GITHUB_CLIENT_SECRET + PHOENIX_OAUTH2_AUTH0_CLIENT_ID + PHOENIX_OAUTH2_AUTH0_CLIENT_SECRET + PHOENIX_OAUTH2_AUTH0_OIDC_CONFIG_URL + PHOENIX_OAUTH2_AZURE_AD_OIDC_CONFIG_URL + PHOENIX_OAUTH2_AZURE_AD_CLIENT_ID + PHOENIX_OAUTH2_AZURE_AD_CLIENT_SECRET + PHOENIX_OAUTH2_AWS_COGNITO_CLIENT_ID + PHOENIX_OAUTH2_AWS_COGNITO_CLIENT_SECRET + PHOENIX_OAUTH2_AWS_COGNITO_OIDC_CONFIG_URL + PHOENIX_SMTP_HOSTNAME + PHOENIX_SMTP_PORT + PHOENIX_SMTP_USERNAME + PHOENIX_SMTP_PASSWORD commands_pre = uv tool install arize-phoenix@. \ --reinstall-package arize-phoenix \