Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
gtarpenning committed Oct 30, 2024
2 parents 52e3131 + e833226 commit aff33c1
Show file tree
Hide file tree
Showing 209 changed files with 30,724 additions and 1,256 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
scopes: |
ui
weave
weave_ts
weave_query
app
dev
wip: false
requireScope: true
validateSingleCommit: false
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ jobs:
'mistral1',
'notdiamond',
'openai',
'scorers_tests',
'pandas-test',
]
fail-fast: false
services:
Expand Down Expand Up @@ -291,6 +293,9 @@ jobs:
WF_CLICKHOUSE_HOST: weave_clickhouse
WEAVE_SERVER_DISABLE_ECOSYSTEM: 1
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
nox -e "tests-${{ matrix.python-version-major }}.${{ matrix.python-version-minor }}(shard='${{ matrix.nox-shard }}')"
trace-tests-matrix-check: # This job does nothing and is only used for the branch protection
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/weave-node-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Node.js Tests

on:
push:

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
cache-dependency-path: sdks/node/pnpm-lock.yaml
- name: Install dependencies
run: pnpm install
working-directory: sdks/node
- name: Run tests
run: pnpm test
working-directory: sdks/node
env:
WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ gha-creds-*.json
.nox
*.log
*/file::memory:?cache=shared
weave/trace_server/model_providers
2 changes: 2 additions & 0 deletions docs/docs/guides/core-types/media.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ make_audio_file_streaming("Hello, how are you?")
This audio will be logged to weave and automatically displayed in the UI, with an audio player. The player can be expanded to view the raw audio waveform, in addition to a download button.

![Screenshot of audio trace view](imgs/audio-trace.png)

Try our cookbook for [Audio Logging](/reference/gen_notebooks/audio_with_weave) or <a href="https://colab.research.google.com/github/wandb/weave/blob/master/docs/./notebooks/audio_with_weave.ipynb" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link button button--secondary button--med margin-right--sm notebook-cta-button"><div><img src="https://upload.wikimedia.org/wikipedia/commons/archive/d/d0/20221103151430%21Google_Colaboratory_SVG_Logo.svg" alt="Open In Colab" height="20px" /><div>Open in Colab</div></div></a>. The cookbook also includes an advanced example of a Real Time Audio API based assistant integrated with Weave.
Loading

0 comments on commit aff33c1

Please sign in to comment.