-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into stabilization
- Loading branch information
Showing
50 changed files
with
3,850 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Check Generated Files | ||
|
||
on: push | ||
|
||
jobs: | ||
check-diff: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Install Dependencies | ||
if: always() | ||
run: | | ||
python -m pip install --upgrade pip | ||
# Install your project dependencies here if necessary | ||
- name: Run generate script | ||
if: always() | ||
run: python docs/v1/examples/notebooks/generate.py | ||
|
||
- name: Check for differences | ||
if: always() | ||
run: | | ||
if [[ `git status --porcelain` ]]; then | ||
echo "Notebooks have been changed without being regenerated. Please run `python docs/v1/examples/notebooks/generate.py`." | ||
exit 1 | ||
else | ||
echo "No changes were detected. Notebooks up to date 💅🏻" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: 'Langchain Example' | ||
description: 'Using the Langchain Callback Handler' | ||
mode: "wide" | ||
--- | ||
_View Notebook on <a href={'https://github.com/AgentOps-AI/agentops/blob/48ae12d4e4e085eed57346f1c40a054097431937/examples/langchain_examples.ipynb'} target={'_blank'}>Github</a>_ | ||
|
||
<iframe id="iframe" src={'notebooks/langchain_examples.html'}></iframe> | ||
|
||
<script type="module" src="/scripts/full_iframe.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: 'Multi-Agent Example' | ||
description: 'How to track events from multiple different agents' | ||
mode: "wide" | ||
--- | ||
_View Notebook on <a href={'https://github.com/AgentOps-AI/agentops/blob/main/examples/multi_agent_example.ipynb'} target={'_blank'}>Github</a>_ | ||
|
||
<iframe id="iframe" src={'notebooks/multi_agent_example.html'}></iframe> | ||
|
||
<script type="module" src="/scripts/full_iframe.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: 'Multi-Session Example' | ||
description: 'Handling multiple sessions at the same time' | ||
mode: "wide" | ||
--- | ||
_View Notebook on <a href={'https://github.com/AgentOps-AI/agentops/blob/48ae12d4e4e085eed57346f1c40a054097431937/examples/multi_session_llm.ipynb'} target={'_blank'}>Github</a>_ | ||
|
||
<iframe id="iframe" src={'notebooks/multi_session_llm.html'}></iframe> | ||
|
||
<script type="module" src="/scripts/full_iframe.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: 'Multion Examples' | ||
description: 'Tracking Multion usage with AgentOps' | ||
mode: "wide" | ||
--- | ||
|
||
<iframe id="iframe" src={'notebooks/multion/Autonomous_web_browsing.html'}></iframe> | ||
<iframe id="iframe" src={'notebooks/multion/Sample_browsing_agent.html'}></iframe> | ||
<iframe id="iframe" src={'notebooks/multion/Step_by_step_web_browsing.html'}></iframe> | ||
<iframe id="iframe" src={'notebooks/multion/Webpage_data_retrieval.html'}></iframe> | ||
|
||
<script type="module" src="/scripts/full_iframe.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Generate Notebooks in Docs | ||
|
||
1. `brew install pandoc` | ||
2. `python generate.py` | ||
|
||
This generates HTML versions of the notebooks. | ||
|
||
Make sure there is a corresponding |
Oops, something went wrong.