From 3606e7f95e06090c8c34dff5355e08580f4423c5 Mon Sep 17 00:00:00 2001 From: Roger Yang <80478925+RogerHYang@users.noreply.github.com> Date: Mon, 16 Sep 2024 14:58:43 -0700 Subject: [PATCH 01/11] ci: cron for python integration test (#4611) --- .github/workflows/python-cron.yml | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/python-cron.yml diff --git a/.github/workflows/python-cron.yml b/.github/workflows/python-cron.yml new file mode 100644 index 0000000000..ff7583698a --- /dev/null +++ b/.github/workflows/python-cron.yml @@ -0,0 +1,40 @@ +name: Python Cron + +on: + schedule: + - cron: "*/15 15-23 * * *" + workflow_dispatch: + +jobs: + integration-test: + runs-on: ubuntu-latest + services: + postgres: + image: postgres:12 + env: + POSTGRES_PASSWORD: phoenix + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + - 5432:5432 + steps: + - uses: actions/checkout@v4 + with: + ref: auth + - uses: actions/setup-python@v5 + with: + python-version: 3.8 + - run: pip install tox-uv==1.11.3 + - run: tox run-parallel --parallel-no-spinner -e py38-test-integration_tests + - uses: slackapi/slack-github-action@v1 + if: failure() + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + with: + payload: | + { + "text": "FAILED Python Integration Test: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" + } From 1ad7b79d95bd362ca15f34f2cebe7e1332a19846 Mon Sep 17 00:00:00 2001 From: Dustin Ngo Date: Mon, 16 Sep 2024 21:09:42 -0400 Subject: [PATCH 02/11] feat: OpenAI support for o1 preview (#4633) --- .../src/phoenix/evals/models/openai.py | 27 ++++++++++++++++--- .../phoenix/evals/functions/test_classify.py | 3 ++- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/packages/phoenix-evals/src/phoenix/evals/models/openai.py b/packages/phoenix-evals/src/phoenix/evals/models/openai.py index 59d87f034d..8ccd4de3d3 100644 --- a/packages/phoenix-evals/src/phoenix/evals/models/openai.py +++ b/packages/phoenix-evals/src/phoenix/evals/models/openai.py @@ -46,6 +46,16 @@ class AzureOptions: azure_ad_token_provider: Optional[Callable[[], str]] +def _model_supports_temperature(model: str) -> bool: + """OpenAI 01 models do not support temperature.""" + return "o1-" not in model + + +def _model_supports_max_tokens(model: str) -> bool: + """OpenAI 01 models do not support max_tokens.""" + return "o1-" not in model + + @dataclass class OpenAIModel(BaseModel): """ @@ -380,15 +390,26 @@ def invocation_params(self) -> Dict[str, Any]: @property def _default_params(self) -> Dict[str, Any]: """Get the default parameters for calling OpenAI API.""" - return { - "temperature": self.temperature, - "max_tokens": self.max_tokens, + params = { "frequency_penalty": self.frequency_penalty, "presence_penalty": self.presence_penalty, "top_p": self.top_p, "n": self.n, "timeout": self.request_timeout, } + if _model_supports_max_tokens(self.model): + params.update( + { + "max_tokens": self.max_tokens, + } + ) + if _model_supports_temperature(self.model): + params.update( + { + "temperature": self.temperature, + } + ) + return params @property def supports_function_calling(self) -> bool: diff --git a/packages/phoenix-evals/tests/phoenix/evals/functions/test_classify.py b/packages/phoenix-evals/tests/phoenix/evals/functions/test_classify.py index 7942a43693..84cb6803d7 100644 --- a/packages/phoenix-evals/tests/phoenix/evals/functions/test_classify.py +++ b/packages/phoenix-evals/tests/phoenix/evals/functions/test_classify.py @@ -368,7 +368,8 @@ def test_llm_classify_prints_to_stdout_with_verbose_flag( assert "Snapped '\\nrelevant ' to rail: relevant" in out, "Snapping events should be printed" assert "Cannot snap 'unparsable' to rails" in out, "Snapping events should be printed" assert "OpenAI invocation parameters" in out, "Model-specific information should be printed" - assert "'model': 'gpt-4', 'temperature': 0.0" in out, "Model information should be printed" + assert "'model': 'gpt-4'" in out, "Model information should be printed" + assert "'temperature': 0.0" in out, "Model information should be printed" assert "sk-0123456789" not in out, "Credentials should not be printed out in cleartext" From a7a5de8ca98cf3a9203b0bb3cfd3be0b1415b662 Mon Sep 17 00:00:00 2001 From: Mikyo King Date: Mon, 16 Sep 2024 19:18:03 -0600 Subject: [PATCH 03/11] chore(main): release arize-phoenix-otel 0.5.1 (#4629) --- .release-please-manifest.json | 2 +- packages/phoenix-otel/CHANGELOG.md | 7 +++++++ packages/phoenix-otel/pyproject.toml | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 59cfbe4959..02ce5e7f83 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{".":"4.33.2","packages/phoenix-evals":"0.15.1","packages/phoenix-otel":"0.5.0"} +{".":"4.33.2","packages/phoenix-evals":"0.15.1","packages/phoenix-otel":"0.5.1"} diff --git a/packages/phoenix-otel/CHANGELOG.md b/packages/phoenix-otel/CHANGELOG.md index 3b802f0094..c03ac7747f 100644 --- a/packages/phoenix-otel/CHANGELOG.md +++ b/packages/phoenix-otel/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.5.1](https://github.com/Arize-ai/phoenix/compare/arize-phoenix-otel-v0.5.0...arize-phoenix-otel-v0.5.1) (2024-09-17) + + +### Bug Fixes + +* Clarify type annotation ([#4626](https://github.com/Arize-ai/phoenix/issues/4626)) ([1931360](https://github.com/Arize-ai/phoenix/commit/1931360e839ee6f18d5722d94cf3a81224348aa8)) + ## [0.5.0](https://github.com/Arize-ai/phoenix/compare/arize-phoenix-otel-v0.4.1...arize-phoenix-otel-v0.5.0) (2024-09-12) diff --git a/packages/phoenix-otel/pyproject.toml b/packages/phoenix-otel/pyproject.toml index 11c6d7bf00..8b9a20bcd9 100644 --- a/packages/phoenix-otel/pyproject.toml +++ b/packages/phoenix-otel/pyproject.toml @@ -21,7 +21,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] -version = "0.5.0" +version = "0.5.1" dependencies = [ "opentelemetry-semantic-conventions", "opentelemetry-exporter-otlp", From 1358d783c3c549ff3515c7bb8433444ca808bd91 Mon Sep 17 00:00:00 2001 From: Mikyo King Date: Mon, 16 Sep 2024 19:21:08 -0600 Subject: [PATCH 04/11] chore(main): release arize-phoenix-evals 0.16.0 (#4574) --- .release-please-manifest.json | 2 +- packages/phoenix-evals/CHANGELOG.md | 12 ++++++++++++ packages/phoenix-evals/pyproject.toml | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 02ce5e7f83..afebec0232 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{".":"4.33.2","packages/phoenix-evals":"0.15.1","packages/phoenix-otel":"0.5.1"} +{".":"4.33.2","packages/phoenix-evals":"0.16.0","packages/phoenix-otel":"0.5.1"} \ No newline at end of file diff --git a/packages/phoenix-evals/CHANGELOG.md b/packages/phoenix-evals/CHANGELOG.md index 9ba1c5c269..3fed7e75f4 100644 --- a/packages/phoenix-evals/CHANGELOG.md +++ b/packages/phoenix-evals/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.16.0](https://github.com/Arize-ai/phoenix/compare/arize-phoenix-evals-v0.15.1...arize-phoenix-evals-v0.16.0) (2024-09-17) + + +### Features + +* OpenAI support for o1 preview ([#4633](https://github.com/Arize-ai/phoenix/issues/4633)) ([1ad7b79](https://github.com/Arize-ai/phoenix/commit/1ad7b79d95bd362ca15f34f2cebe7e1332a19846)) + + +### Bug Fixes + +* Ensure correct dataloader results ordering ([#4524](https://github.com/Arize-ai/phoenix/issues/4524)) ([f9239d6](https://github.com/Arize-ai/phoenix/commit/f9239d63af9d06c04430f9dca808caf08d152d3d)) + ## [0.15.1](https://github.com/Arize-ai/phoenix/compare/arize-phoenix-evals-v0.15.0...arize-phoenix-evals-v0.15.1) (2024-08-27) diff --git a/packages/phoenix-evals/pyproject.toml b/packages/phoenix-evals/pyproject.toml index b9be4c859b..9b08c9c7a6 100644 --- a/packages/phoenix-evals/pyproject.toml +++ b/packages/phoenix-evals/pyproject.toml @@ -21,7 +21,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] -version = "0.15.1" +version = "0.16.0" dependencies = [ "pandas", "tqdm", From 021f4e84442b0b4b298906a0d441472cba98f55e Mon Sep 17 00:00:00 2001 From: Mikyo King Date: Mon, 16 Sep 2024 20:10:33 -0600 Subject: [PATCH 05/11] feat: finer grain last N time range (#4632) --- .../datetime/LastNTimeRangeContext.tsx | 33 ++++++++----------- .../datetime/LastNTimeRangePicker.tsx | 2 +- app/src/components/datetime/constants.ts | 3 ++ app/src/components/datetime/types.ts | 9 ++++- app/src/components/datetime/utils.ts | 24 +++++++++++++- app/src/store/preferencesStore.tsx | 14 ++++++++ 6 files changed, 63 insertions(+), 22 deletions(-) diff --git a/app/src/components/datetime/LastNTimeRangeContext.tsx b/app/src/components/datetime/LastNTimeRangeContext.tsx index 35e0765f2b..2ac6d80323 100644 --- a/app/src/components/datetime/LastNTimeRangeContext.tsx +++ b/app/src/components/datetime/LastNTimeRangeContext.tsx @@ -1,9 +1,6 @@ -import React, { - createContext, - startTransition, - useCallback, - useState, -} from "react"; +import React, { createContext } from "react"; + +import { usePreferencesContext } from "@phoenix/contexts/PreferencesContext"; import { LastNTimeRangeKey } from "./types"; import { getTimeRangeFromLastNTimeRangeKey } from "./utils"; @@ -36,23 +33,21 @@ export function useLastNTimeRange(): LastNTimeRangeContextType { } export function LastNTimeRangeProvider({ - initialTimeRangeKey = "7d", children, }: { - initialTimeRangeKey?: LastNTimeRangeKey; children: React.ReactNode; }) { - const [timeRangeKey, _setTimeRangeKey] = - useState(initialTimeRangeKey); - const [timeRange, _setTimeRange] = useState(() => { - return getTimeRangeFromLastNTimeRangeKey(initialTimeRangeKey); - }); - const setTimeRangeKey = useCallback((key: LastNTimeRangeKey) => { - startTransition(() => { - _setTimeRangeKey(key); - _setTimeRange(getTimeRangeFromLastNTimeRangeKey(key)); - }); - }, []); + const timeRangeKey = usePreferencesContext( + (state) => state.lastNTimeRangeKey + ); + const setTimeRangeKey = usePreferencesContext( + (state) => state.setLastNTimeRangeKey + ); + + // TODO: this caching doesn't move the time forward and is flawed + // Needs refactoring + const timeRange = getTimeRangeFromLastNTimeRangeKey(timeRangeKey); + return ( } />} isDisabled={isDisabled} - defaultSelectedKey={selectedKey} + selectedKey={selectedKey} onSelectionChange={(key: Key) => { onSelectionChange && onSelectionChange(key as LastNTimeRangeKey); }} diff --git a/app/src/components/datetime/constants.ts b/app/src/components/datetime/constants.ts index f5202b8c56..4c09730500 100644 --- a/app/src/components/datetime/constants.ts +++ b/app/src/components/datetime/constants.ts @@ -1,6 +1,9 @@ import { LastNTimeRange, LastNTimeRangeKey } from "./types"; export const LAST_N_TIME_RANGES: LastNTimeRange[] = [ + { key: "15m", label: "Last 15 Min" }, + { key: "1h", label: "Last Hour" }, + { key: "12h", label: "Last 12 Hours" }, { key: "1d", label: "Last Day" }, { key: "7d", label: "Last 7 Days" }, { key: "30d", label: "Last Month" }, diff --git a/app/src/components/datetime/types.ts b/app/src/components/datetime/types.ts index 1804271a40..e75dfe570f 100644 --- a/app/src/components/datetime/types.ts +++ b/app/src/components/datetime/types.ts @@ -1,2 +1,9 @@ -export type LastNTimeRangeKey = "1d" | "7d" | "30d" | "all"; +export type LastNTimeRangeKey = + | "15m" + | "1h" + | "12h" + | "1d" + | "7d" + | "30d" + | "all"; export type LastNTimeRange = { key: LastNTimeRangeKey; label: string }; diff --git a/app/src/components/datetime/utils.ts b/app/src/components/datetime/utils.ts index 733f5091f1..d0a16decdd 100644 --- a/app/src/components/datetime/utils.ts +++ b/app/src/components/datetime/utils.ts @@ -1,4 +1,11 @@ -import { addDays, startOfHour, subDays } from "date-fns"; +import { + addDays, + startOfHour, + startOfMinute, + subDays, + subHours, + subMinutes, +} from "date-fns"; import { assertUnreachable } from "@phoenix/typeUtils"; @@ -12,6 +19,21 @@ export function getTimeRangeFromLastNTimeRangeKey( // We round down to facilitate caching. const end = startOfHour(addDays(now, 365)); switch (key) { + case "15m": + return { + start: startOfMinute(subMinutes(now, 15)), + end, + }; + case "1h": + return { + start: startOfMinute(subHours(now, 1)), + end, + }; + case "12h": + return { + start: startOfHour(subHours(now, 12)), + end, + }; case "1d": return { start: startOfHour(subDays(now, 1)), diff --git a/app/src/store/preferencesStore.tsx b/app/src/store/preferencesStore.tsx index 3d4e8d5fcb..bcabe56a0f 100644 --- a/app/src/store/preferencesStore.tsx +++ b/app/src/store/preferencesStore.tsx @@ -1,6 +1,8 @@ import { create, StateCreator } from "zustand"; import { devtools, persist } from "zustand/middleware"; +import { LastNTimeRangeKey } from "@phoenix/components/datetime/types"; + export type MarkdownDisplayMode = "text" | "markdown"; export interface PreferencesProps { @@ -14,6 +16,10 @@ export interface PreferencesProps { * @default true */ traceStreamingEnabled: boolean; + /** + * The last N time range to load data for + */ + lastNTimeRangeKey: LastNTimeRangeKey; /** * Whether or not to automatically refresh projects * @default true @@ -41,6 +47,10 @@ export interface PreferencesState extends PreferencesProps { * @param traceStreamingEnabled */ setTraceStreamingEnabled: (traceStreamingEnabled: boolean) => void; + /** + * Setter for the last N time range to load data for + */ + setLastNTimeRangeKey: (lastNTimeRangeKey: LastNTimeRangeKey) => void; /** * Setter for enabling/disabling project auto refresh * @param projectsAutoRefreshEnabled @@ -70,6 +80,10 @@ export const createPreferencesStore = ( setTraceStreamingEnabled: (traceStreamingEnabled) => { set({ traceStreamingEnabled }); }, + lastNTimeRangeKey: "7d", + setLastNTimeRangeKey: (lastNTimeRangeKey) => { + set({ lastNTimeRangeKey }); + }, projectsAutoRefreshEnabled: true, setProjectAutoRefreshEnabled: (projectsAutoRefreshEnabled) => { set({ projectsAutoRefreshEnabled }); From 229bfe8f42e23ed88918d7222a84adbe2d2132a6 Mon Sep 17 00:00:00 2001 From: Mikyo King Date: Mon, 16 Sep 2024 20:12:45 -0600 Subject: [PATCH 06/11] chore(main): release arize-phoenix 4.34.0 (#4624) --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ src/phoenix/version.py | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index afebec0232..8264c8d813 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{".":"4.33.2","packages/phoenix-evals":"0.16.0","packages/phoenix-otel":"0.5.1"} \ No newline at end of file +{".":"4.34.0","packages/phoenix-evals":"0.16.0","packages/phoenix-otel":"0.5.1"} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dc1146ca2..edd1c8397d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [4.34.0](https://github.com/Arize-ai/phoenix/compare/arize-phoenix-v4.33.2...arize-phoenix-v4.34.0) (2024-09-17) + + +### Features + +* finer grain last N time range ([#4632](https://github.com/Arize-ai/phoenix/issues/4632)) ([021f4e8](https://github.com/Arize-ai/phoenix/commit/021f4e84442b0b4b298906a0d441472cba98f55e)) + + +### Documentation + +* create groq_tracing_tutorial.ipynb ([#4615](https://github.com/Arize-ai/phoenix/issues/4615)) ([5883c5a](https://github.com/Arize-ai/phoenix/commit/5883c5af296bc77f5249ec955b397ef041041507)) +* **quickstart:** convert Phoenix inferences instructions to notebook ([#4593](https://github.com/Arize-ai/phoenix/issues/4593)) ([1e9541a](https://github.com/Arize-ai/phoenix/commit/1e9541a142bd040be726f78d530ceef796c2593c)) + ## [4.33.2](https://github.com/Arize-ai/phoenix/compare/arize-phoenix-v4.33.1...arize-phoenix-v4.33.2) (2024-09-12) diff --git a/src/phoenix/version.py b/src/phoenix/version.py index 3fb267db76..884ed1d1e5 100644 --- a/src/phoenix/version.py +++ b/src/phoenix/version.py @@ -1 +1 @@ -__version__ = "4.33.2" +__version__ = "4.34.0" From 8140eafba457b443aa4684bd2ecf978ed0dc85df Mon Sep 17 00:00:00 2001 From: JohnGilhuly Date: Mon, 16 Sep 2024 21:18:31 -0700 Subject: [PATCH 07/11] feat: adds o1 testing demo project (#4636) * Adds o1 testing demo project --- src/phoenix/trace/fixtures.py | 8 ++++ tutorials/tracing/groq_tracing_tutorial.ipynb | 47 +++---------------- 2 files changed, 14 insertions(+), 41 deletions(-) diff --git a/src/phoenix/trace/fixtures.py b/src/phoenix/trace/fixtures.py index af41e037dc..fa41a9c612 100644 --- a/src/phoenix/trace/fixtures.py +++ b/src/phoenix/trace/fixtures.py @@ -147,6 +147,13 @@ class TracesFixture: ), ) +demo_o1_preview_timeseries_testing_fixture = TracesFixture( + name="demo_o1_preview_timeseries_evals", + project_name="demo_o1_preview_timeseries", + description="Shows the traces for a timeseries evaluation of o1-preview", + file_name="o1-preview-testing-traces.parquet", +) + demo_llama_index_rag_llm_fixture = TracesFixture( name="demo_llama_index_rag_llm", project_name="demo_llama_index_rag_llm", @@ -252,6 +259,7 @@ class TracesFixture: TRACES_FIXTURES: List[TracesFixture] = [ demo_llama_index_rag_fixture, demo_llama_index_rag_llm_fixture, + demo_o1_preview_timeseries_testing_fixture, llama_index_rag_fixture, llama_index_rag_fixture_with_davinci, langchain_rag_stuff_document_chain_fixture, diff --git a/tutorials/tracing/groq_tracing_tutorial.ipynb b/tutorials/tracing/groq_tracing_tutorial.ipynb index 244bc7c625..f8971c7869 100644 --- a/tutorials/tracing/groq_tracing_tutorial.ipynb +++ b/tutorials/tracing/groq_tracing_tutorial.ipynb @@ -42,13 +42,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "Y52gaK9n_oTZ", - "outputId": "be9068b4-17e8-419e-a393-04d057c2d7ce" - }, + "metadata": {}, "outputs": [], "source": [ "! pip install -q openinference-instrumentation-groq groq arize-phoenix" @@ -57,9 +51,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "id": "Z_II5NGXA3k-" - }, + "metadata": {}, "outputs": [], "source": [ "import os\n", @@ -85,14 +77,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/", - "height": 86 - }, - "id": "9o1L0rXTD_ED", - "outputId": "fa273488-b603-4c2e-d028-d412dc025e46" - }, + "metadata": {}, "outputs": [], "source": [ "import phoenix as px\n", @@ -116,9 +101,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "id": "jdP_j9YF_qAr" - }, + "metadata": {}, "outputs": [], "source": [ "from openinference.instrumentation.groq import GroqInstrumentor\n", @@ -140,9 +123,7 @@ { "cell_type": "code", "execution_count": null, - "metadata": { - "id": "0VE3hHDF_9TB" - }, + "metadata": {}, "outputs": [], "source": [ "from groq import Groq\n", @@ -192,24 +173,8 @@ } ], "metadata": { - "colab": { - "provenance": [] - }, - "kernelspec": { - "display_name": "Python 3", - "name": "python3" - }, "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.10.14" + "name": "python" } }, "nbformat": 4, From 21e1d706ba85ea69bf45833d973f30e553a985e5 Mon Sep 17 00:00:00 2001 From: JohnGilhuly Date: Mon, 16 Sep 2024 21:29:45 -0700 Subject: [PATCH 08/11] Update file name to dodge gcs caching (#4639) --- src/phoenix/trace/fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phoenix/trace/fixtures.py b/src/phoenix/trace/fixtures.py index fa41a9c612..bb63f43ad3 100644 --- a/src/phoenix/trace/fixtures.py +++ b/src/phoenix/trace/fixtures.py @@ -151,7 +151,7 @@ class TracesFixture: name="demo_o1_preview_timeseries_evals", project_name="demo_o1_preview_timeseries", description="Shows the traces for a timeseries evaluation of o1-preview", - file_name="o1-preview-testing-traces.parquet", + file_name="o1-traces-preview-testing.parquet", ) demo_llama_index_rag_llm_fixture = TracesFixture( From 17e3e8e8d9057580640f4b0c56f1b9b7d948691b Mon Sep 17 00:00:00 2001 From: Mikyo King Date: Mon, 16 Sep 2024 22:35:07 -0600 Subject: [PATCH 09/11] chore(main): release arize-phoenix 4.35.0 (#4638) --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ src/phoenix/version.py | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8264c8d813..f8a9e0a2e5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{".":"4.34.0","packages/phoenix-evals":"0.16.0","packages/phoenix-otel":"0.5.1"} \ No newline at end of file +{".":"4.35.0","packages/phoenix-evals":"0.16.0","packages/phoenix-otel":"0.5.1"} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index edd1c8397d..a3fe7687a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [4.35.0](https://github.com/Arize-ai/phoenix/compare/arize-phoenix-v4.34.0...arize-phoenix-v4.35.0) (2024-09-17) + + +### Features + +* adds o1 testing demo project ([#4636](https://github.com/Arize-ai/phoenix/issues/4636)) ([8140eaf](https://github.com/Arize-ai/phoenix/commit/8140eafba457b443aa4684bd2ecf978ed0dc85df)) + ## [4.34.0](https://github.com/Arize-ai/phoenix/compare/arize-phoenix-v4.33.2...arize-phoenix-v4.34.0) (2024-09-17) diff --git a/src/phoenix/version.py b/src/phoenix/version.py index 884ed1d1e5..b70a6d514d 100644 --- a/src/phoenix/version.py +++ b/src/phoenix/version.py @@ -1 +1 @@ -__version__ = "4.34.0" +__version__ = "4.35.0" From f780d3475e50c523f45ab4df5ca32321c748740c Mon Sep 17 00:00:00 2001 From: Roger Yang <80478925+RogerHYang@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:20:25 -0700 Subject: [PATCH 10/11] fix: submodule packaging for bazel (#4643) --- src/phoenix/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/phoenix/__init__.py b/src/phoenix/__init__.py index 989247246b..f462b9c737 100644 --- a/src/phoenix/__init__.py +++ b/src/phoenix/__init__.py @@ -31,6 +31,11 @@ - Explore model performance, drift, and data quality metrics """ +# The following line is needed to ensure that other modules using the +# `phoenix.*` path can be discovered by Bazel. For details, +# see: https://github.com/Arize-ai/openinference/issues/398 +__path__ = __import__("pkgutil").extend_path(__path__, __name__) + __all__ = [ "__version__", "active_session", From 68c9b74551e8739e90ff33e0079068b18380aa41 Mon Sep 17 00:00:00 2001 From: Mikyo King Date: Tue, 17 Sep 2024 10:40:14 -0600 Subject: [PATCH 11/11] chore(main): release arize-phoenix 4.35.1 (#4644) --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ src/phoenix/version.py | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f8a9e0a2e5..8b701c464d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{".":"4.35.0","packages/phoenix-evals":"0.16.0","packages/phoenix-otel":"0.5.1"} \ No newline at end of file +{".":"4.35.1","packages/phoenix-evals":"0.16.0","packages/phoenix-otel":"0.5.1"} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a3fe7687a3..8b8669a754 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [4.35.1](https://github.com/Arize-ai/phoenix/compare/arize-phoenix-v4.35.0...arize-phoenix-v4.35.1) (2024-09-17) + + +### Bug Fixes + +* submodule packaging for bazel ([#4643](https://github.com/Arize-ai/phoenix/issues/4643)) ([f780d34](https://github.com/Arize-ai/phoenix/commit/f780d3475e50c523f45ab4df5ca32321c748740c)) + ## [4.35.0](https://github.com/Arize-ai/phoenix/compare/arize-phoenix-v4.34.0...arize-phoenix-v4.35.0) (2024-09-17) diff --git a/src/phoenix/version.py b/src/phoenix/version.py index b70a6d514d..fecc7adc6f 100644 --- a/src/phoenix/version.py +++ b/src/phoenix/version.py @@ -1 +1 @@ -__version__ = "4.35.0" +__version__ = "4.35.1"