Skip to content

Commit

Permalink
Updates demo data to have partiion key
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahbenizzy committed Mar 18, 2024
1 parent 455531a commit a5bc532
Show file tree
Hide file tree
Showing 42 changed files with 1,439 additions and 1,422 deletions.
100 changes: 50 additions & 50 deletions burr/tracking/server/demo_data/demo:chatbot/chat-1-giraffe/log.jsonl

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "application_metadata", "partition_key": null}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "application_metadata", "partition_key": null}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "application_metadata", "partition_key": null}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "application_metadata", "partition_key": null}
80 changes: 40 additions & 40 deletions burr/tracking/server/demo_data/demo:chatbot/chat-5-jokes/log.jsonl

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "application_metadata", "partition_key": null}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{"type":"begin_entry","start_time":"2024-03-04T21:05:14.420491","action":"prompt","inputs":{"prompt":"Please draw a giraffe."},"sequence_id":0}
{"type":"end_entry","end_time":"2024-03-04T21:05:14.420716","action":"prompt","result":{"chat_item":{"role":"user","content":"Please draw a giraffe.","type":"text"}},"exception":null,"state":{"chat_history":[{"role":"user","content":"Please draw a giraffe.","type":"text"}],"prompt":"Please draw a giraffe.","__PRIOR_STEP":"prompt"},"sequence_id":0}
{"type":"begin_entry","start_time":"2024-03-04T21:05:14.421023","action":"check_safety","inputs":{},"sequence_id":1}
{"type":"end_entry","end_time":"2024-03-04T21:05:14.421157","action":"check_safety","result":{"safe":true},"exception":null,"state":{"chat_history":[{"role":"user","content":"Please draw a giraffe.","type":"text"}],"prompt":"Please draw a giraffe.","__PRIOR_STEP":"check_safety","__SEQUENCE_ID":1,"safe":true},"sequence_id":1}
{"type":"begin_entry","start_time":"2024-03-04T21:05:14.421497","action":"decide_mode","inputs":{},"sequence_id":2}
{"type":"end_entry","end_time":"2024-03-04T21:05:14.573693","action":"decide_mode","result":null,"exception":"Traceback (most recent call last):\n File \"/Users/elijahbenizzy/dev/dagworks/os/burr/burr/core/application.py\", line 290, in _step\n raise e\n File \"/Users/elijahbenizzy/dev/dagworks/os/burr/burr/core/application.py\", line 280, in _step\n result, new_state = _run_single_step_action(next_action, self._state, inputs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/dev/dagworks/os/burr/burr/core/application.py\", line 180, in _run_single_step_action\n result, new_state = action.run_and_update(state, **inputs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/dev/dagworks/os/burr/burr/core/action.py\", line 409, in run_and_update\n return self._fn(state, **self._bound_params, **run_kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/dev/dagworks/os/burr/examples/gpt/application.py\", line 49, in choose_mode\n result = _get_openai_client().chat.completions.create(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/.pyenv/versions/3.11/envs/burr-3-11/lib/python3.11/site-packages/openai/_utils/_utils.py\", line 271, in wrapper\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/.pyenv/versions/3.11/envs/burr-3-11/lib/python3.11/site-packages/openai/resources/chat/completions.py\", line 659, in create\n return self._post(\n ^^^^^^^^^^^\n File \"/Users/elijahbenizzy/.pyenv/versions/3.11/envs/burr-3-11/lib/python3.11/site-packages/openai/_base_client.py\", line 1180, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/.pyenv/versions/3.11/envs/burr-3-11/lib/python3.11/site-packages/openai/_base_client.py\", line 869, in request\n return self._request(\n ^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/.pyenv/versions/3.11/envs/burr-3-11/lib/python3.11/site-packages/openai/_base_client.py\", line 960, in _request\n raise self._make_status_error_from_response(err.response) from None\nopenai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: fake. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}\n","state":{"chat_history":[{"role":"user","content":"Please draw a giraffe.","type":"text"}],"prompt":"Please draw a giraffe.","__PRIOR_STEP":"check_safety","__SEQUENCE_ID":2,"safe":true},"sequence_id":2}
{"type":"begin_entry","start_time":"2024-03-18T15:40:31.054192","action":"prompt","inputs":{"prompt":"Please draw a giraffe."},"sequence_id":0}
{"type":"end_entry","end_time":"2024-03-18T15:40:31.054293","action":"prompt","result":{"chat_item":{"role":"user","content":"Please draw a giraffe.","type":"text"}},"exception":null,"state":{"chat_history":[{"role":"user","content":"Please draw a giraffe.","type":"text"}],"__SEQUENCE_ID":0,"prompt":"Please draw a giraffe.","__PRIOR_STEP":"prompt"},"sequence_id":0}
{"type":"begin_entry","start_time":"2024-03-18T15:40:31.054344","action":"check_safety","inputs":{},"sequence_id":1}
{"type":"end_entry","end_time":"2024-03-18T15:40:31.054395","action":"check_safety","result":{"safe":true},"exception":null,"state":{"chat_history":[{"role":"user","content":"Please draw a giraffe.","type":"text"}],"__SEQUENCE_ID":1,"prompt":"Please draw a giraffe.","__PRIOR_STEP":"check_safety","safe":true},"sequence_id":1}
{"type":"begin_entry","start_time":"2024-03-18T15:40:31.054492","action":"decide_mode","inputs":{},"sequence_id":2}
{"type":"end_entry","end_time":"2024-03-18T15:40:31.180219","action":"decide_mode","result":null,"exception":"Traceback (most recent call last):\n File \"/Users/elijahbenizzy/dev/dagworks/os/burr/burr/core/application.py\", line 327, in _step\n raise e\n File \"/Users/elijahbenizzy/dev/dagworks/os/burr/burr/core/application.py\", line 317, in _step\n result, new_state = _run_single_step_action(next_action, self._state, inputs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/dev/dagworks/os/burr/burr/core/application.py\", line 187, in _run_single_step_action\n result, new_state = action.run_and_update(state, **inputs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/dev/dagworks/os/burr/burr/core/action.py\", line 442, in run_and_update\n return self._fn(state, **self._bound_params, **run_kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/dev/dagworks/os/burr/examples/gpt/application.py\", line 49, in choose_mode\n result = _get_openai_client().chat.completions.create(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/.pyenv/versions/3.11/envs/burr-3-11/lib/python3.11/site-packages/openai/_utils/_utils.py\", line 271, in wrapper\n return func(*args, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/.pyenv/versions/3.11/envs/burr-3-11/lib/python3.11/site-packages/openai/resources/chat/completions.py\", line 659, in create\n return self._post(\n ^^^^^^^^^^^\n File \"/Users/elijahbenizzy/.pyenv/versions/3.11/envs/burr-3-11/lib/python3.11/site-packages/openai/_base_client.py\", line 1180, in post\n return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/.pyenv/versions/3.11/envs/burr-3-11/lib/python3.11/site-packages/openai/_base_client.py\", line 869, in request\n return self._request(\n ^^^^^^^^^^^^^^\n File \"/Users/elijahbenizzy/.pyenv/versions/3.11/envs/burr-3-11/lib/python3.11/site-packages/openai/_base_client.py\", line 960, in _request\n raise self._make_status_error_from_response(err.response) from None\nopenai.AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key provided: fake. You can find your API key at https://platform.openai.com/account/api-keys.', 'type': 'invalid_request_error', 'param': None, 'code': 'invalid_api_key'}}\n","state":{"chat_history":[{"role":"user","content":"Please draw a giraffe.","type":"text"}],"__SEQUENCE_ID":2,"prompt":"Please draw a giraffe.","__PRIOR_STEP":"check_safety","safe":true},"sequence_id":2}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "application_metadata", "partition_key": null}
Loading

0 comments on commit a5bc532

Please sign in to comment.