Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge #1

Merged
merged 152 commits into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
d802b7a
Improves clarity and fixes punctuation in README and Multi-agent docu…
juanmacuevas Sep 29, 2023
904b293
make retry_time configurable, add doc (#53)
sonichi Sep 30, 2023
b06919b
Update no_update_context, fix upsert docs (#52)
thinkall Oct 1, 2023
7112da6
Update README.md (#54)
AlyrenN Oct 1, 2023
4adbffa
retrieve_utils.py - Updated.py to have the ability to parse text from…
AaronWard Oct 1, 2023
e4eb7ae
Bump version to 0.1.5 (#60)
thinkall Oct 1, 2023
c39bfca
typing & docstr update (#59)
sonichi Oct 1, 2023
bf65b59
Updated readme.md : seprated AutoGen and EcoOptGen also removed bibte…
priyansh4320 Oct 1, 2023
49ad771
expand faq (#66)
sonichi Oct 2, 2023
b642f69
minor fix (#31)
LittleLittleCloud Oct 2, 2023
0481483
Fixed MD Issue (#72)
kxnalpk Oct 2, 2023
4d85f4d
fix append_oai_message (#47)
yiranwu0 Oct 2, 2023
3b5e627
enable openai workflow on fork branch (#82)
LittleLittleCloud Oct 2, 2023
50cb53c
bump version to 0.1.6 (#85)
sonichi Oct 3, 2023
1131943
spelling error (#84)
shauryr Oct 3, 2023
39c145d
Format issue (#69)
alhridoy Oct 3, 2023
a3547f8
Replace the use of `assert` in non-test code (#80)
cipherself Oct 3, 2023
6ef0124
Bump postcss from 8.4.18 to 8.4.31 in /website (#93)
dependabot[bot] Oct 3, 2023
305dffe
show github stars (#92)
sonichi Oct 3, 2023
dc70b80
Docs: fixed typos and grammar (#94)
masterujjval Oct 3, 2023
5c2a268
openai_utils.py - functionality for instantiating config_list with a …
AaronWard Oct 5, 2023
20d77a1
document about docker (#119)
sonichi Oct 5, 2023
62b6357
docs: typo fixed (#129)
lgersman Oct 7, 2023
a087347
Fix broken link in README.md (#134)
htcrefactor Oct 7, 2023
f863e97
fix doc typo (#123)
HyperCodec Oct 7, 2023
09c9dbe
typo fixed (#127)
SDcodehub Oct 7, 2023
5510e87
bump version to 0.1.7 (#141)
sonichi Oct 7, 2023
5ff85a3
Title: Adjust shell language switch in execute_code for Docker usage …
mrauter1 Oct 7, 2023
50d6d9e
move citation before contributing (#154)
manish7017 Oct 8, 2023
24adfb0
bump version to 0.1.8
qingyun-wu Oct 8, 2023
ae497a0
add twitter account to website (#150)
olaoluwasalami Oct 8, 2023
19f8711
Update num tokens from text (#149)
thinkall Oct 9, 2023
46ab5b8
add twitter account to start page (#159)
olaoluwasalami Oct 9, 2023
95e4c58
Update termination logic (#155)
thinkall Oct 9, 2023
71ac774
Added twitter link to the contributing section (#162)
vidhula17 Oct 9, 2023
fbe82da
fix: replace gpt-35-turbo in model name to gpt-3.5-turbo so the name …
AllenJShi Oct 9, 2023
d8ebf6c
Output a warning if attempting to load the OAI_CONFIG_LIST from a fil…
afourney Oct 9, 2023
4522900
Warn if GroupChat is underpopulatd. (#170)
afourney Oct 9, 2023
9571b7f
Display a warning if use_docker evlauates to True but the python dock…
afourney Oct 9, 2023
72239a6
bump version to 0.1.9 (#177)
sonichi Oct 10, 2023
afdff3e
Warn if oai.Completion is provided with an empty config_list (#178)
afourney Oct 10, 2023
37a07a8
Bump version to 0.1.10 (#181)
thinkall Oct 10, 2023
fa6e2a5
Add support to customized vectordb and embedding functions (#161)
thinkall Oct 10, 2023
688cf44
Fix typo in agentchat_MathChat.ipynb (#191)
eltociear Oct 10, 2023
0a1214f
Make getting started a little easier (#180)
wayliums Oct 11, 2023
d481aeb
Fix edge cases extracting code when the message's content is None (#205)
msaelices Oct 11, 2023
c7dd6ce
Add md for faqs (#194)
gagb Oct 12, 2023
98ca5bc
Fix typo in README.md (#193)
creator0131 Oct 12, 2023
09854e4
Icons not centered in the "autogen_agentchat.png" (#169)
Steellgold Oct 12, 2023
6b14bd6
Addresses issue #199 (#200)
afourney Oct 12, 2023
b61aeb6
Improving logging in oai.completion to show token_count (#179)
yiranwu0 Oct 12, 2023
fbf8fae
Update Getting-Started.md (#213)
javidjamae Oct 12, 2023
04319c9
Added comment about config_list in the README example #216 (#218)
smty2018 Oct 13, 2023
3eda9ed
fix: be compatible with custom model without full response (#222)
jtsang4 Oct 13, 2023
e69916d
Update Installation.md-with detailed explanation on add a period or n…
05hiteshbansal Oct 13, 2023
c46f8e5
Spelling fixes. (#220)
shruti222patel Oct 13, 2023
6156faa
Typo (#234)
qingyun-wu Oct 13, 2023
1394e29
bump version to 0.1.11 (#242)
sonichi Oct 15, 2023
ea8dec7
docstr updated for `use_docker` in `execute_code ` (#233)
Gourav2609 Oct 16, 2023
356f6e5
document retrieve chat (#258)
olaoluwasalami Oct 16, 2023
4fb2f1f
Added figure to notebook (#246)
smty2018 Oct 16, 2023
294e006
Lancgain tool bridge (#262) (#263)
sonichi Oct 16, 2023
f2d7553
Add support to custom text spliter (#270)
thinkall Oct 17, 2023
f594333
Update FAQ.md, elaborate on how to customise docker image and pick 'p…
maxim-saplin Oct 17, 2023
88ebb77
Add group chat and retrieve agent example (#227)
thinkall Oct 17, 2023
45677e3
docs: added virtual environment setup process (#249)
Ayushpanditmoto Oct 17, 2023
47df9d5
Update Getting-Started.md (#275)
maxim-saplin Oct 18, 2023
9e876ab
Bump @babel/traverse from 7.20.1 to 7.23.2 in /website (#283)
dependabot[bot] Oct 18, 2023
bed85a3
Add a blog for RAG agents (#284)
thinkall Oct 18, 2023
8d4afe4
function call filter in group chat (#294)
sonichi Oct 19, 2023
1983575
fix typo in website/blog/2023-05-18-GPT-adaptive-humaneval/index.mdx …
suravkshrestha Oct 19, 2023
af879bd
Organize notebooks into logical groups #273 (#288)
victordibia Oct 19, 2023
749757a
Update docs (#297)
thinkall Oct 19, 2023
4de81d0
Update README.md with Roadmap. (#304)
gagb Oct 19, 2023
67157ab
bump version to 0.1.12 (#301)
sonichi Oct 19, 2023
e20ecfd
doc: Update FAQ.md (#282)
haseeb-xd Oct 20, 2023
a456b51
Fix format and links in documentations (#310)
thinkall Oct 20, 2023
26ff2ce
update oai models (#316)
yiranwu0 Oct 20, 2023
b1e1f41
guidance for contribution (#320)
sonichi Oct 20, 2023
d22b6b2
TeachableAgent (#278)
rickyloynd-microsoft Oct 21, 2023
176987f
bump version to 0.1.13 (#333)
sonichi Oct 21, 2023
fc59da5
add downloads stats in readme (#334)
sonichi Oct 21, 2023
15d85aa
Added Roadmap to Getting-Started.md (#324)
Gourav2609 Oct 21, 2023
df48825
Resolves Typo Correction #336 (#338)
2good4hisowngood Oct 21, 2023
5c4edcd
Update README.md (#321)
IshitaPathak Oct 21, 2023
ec52087
Updating Examples to follow new categorical structure. #273 (#327)
rabbabansh Oct 21, 2023
58b8c52
Update agentchat_auto_feedback_from_code_execution.ipynb (#342)
shruti222patel Oct 21, 2023
ca2e0b8
Update agentchat_MathChat.ipynb (#341)
shruti222patel Oct 21, 2023
15ff52a
Fix grammar and spelling in agentchat_chess.ipynb (#346)
shruti222patel Oct 22, 2023
ec423dd
Improve readability for agentchat_function_call.ipynb (#347)
shruti222patel Oct 22, 2023
61ac640
Improve readability in agentchat_groupchat_research.ipynb (#350)
shruti222patel Oct 22, 2023
c2e0ddf
format (#358)
qingyun-wu Oct 22, 2023
da88d63
Improve readability in oai_openai_utils.ipynb (#365)
shruti222patel Oct 22, 2023
a2aa911
Improve readability in oai_completion.ipynb (#364)
shruti222patel Oct 22, 2023
5c2cd99
Fix grammar for agentchat_web_info.ipynb (#362)
shruti222patel Oct 22, 2023
1c7fbe5
Improve readability for agentchat_two_users.ipynb (#361)
shruti222patel Oct 22, 2023
4c8d4b0
Fix grammar in agentchat_stream.ipynb (#357)
shruti222patel Oct 22, 2023
22635af
Fix grammar and spelling in agentchat_planning.ipynb (#356)
shruti222patel Oct 22, 2023
b43d264
Fix the grammar and spelling in agentchat_human_feedback.ipynb (#354)
shruti222patel Oct 22, 2023
a8da385
Update agentchat_langchain.ipynb (#355)
shruti222patel Oct 22, 2023
6e74e2d
headsup about dependency change (#378)
sonichi Oct 23, 2023
6438625
Add link to OptiGuide #371 (#376)
smty2018 Oct 23, 2023
f9acb69
Update docs in RetrieveChat notebook and Installation (#379)
thinkall Oct 23, 2023
9ed6c8e
config list for test (#395)
sonichi Oct 24, 2023
9932945
Supporting MultiModal Models: an example with LLaVA Notebook (#286)
BeibinLi Oct 24, 2023
3991f86
using thread safe timeout to allow code execution to be compatible wi…
ragyabraham Oct 24, 2023
80954e4
Fix tmp dir not exists (#401)
thinkall Oct 24, 2023
50ac547
feat: Qdrant vector store support (#303)
Anush008 Oct 25, 2023
27e619e
[Blocking Issue] Add tests dependencies for qdrant and fix chromadb e…
thinkall Oct 27, 2023
09bf41a
TeachableAgent blog post (#436)
rickyloynd-microsoft Oct 27, 2023
37deabe
Adds jupyter as a vscode extension, fix validation errors in devconta…
craigomatic Oct 27, 2023
cde99e0
Update FAQ section in documentation (#390)
AaronWard Oct 27, 2023
8c3401d
Add token_count_util (#421)
yiranwu0 Oct 27, 2023
1215017
spelling fix for Update math_user_proxy_agent.py (#431)
codingdrone Oct 27, 2023
dd90756
bump version to 0.1.14 (#400)
sonichi Oct 28, 2023
5694486
Update Installation.md (#456)
gagb Oct 28, 2023
46e8948
Update FAQ with workaround for Issue #251 (#405)
marcgreen Oct 30, 2023
b432c1b
Fix typo in README.md (#481)
eltociear Oct 30, 2023
503c243
Fix/async function and tool execution (#87)
aayushchhabra1999 Oct 31, 2023
957ec00
Adding async support to get_human_input (#466)
bonadio Nov 1, 2023
55d27cc
Added example .txt file for agentchat_langchain sample notebook (#373)
jasondotparse Nov 2, 2023
5089525
Update README.md (#506)
AaadityaG Nov 2, 2023
c4f8b1c
Dev/v0.2 (#393)
sonichi Nov 4, 2023
1c4a5e6
Added a simple Testbed tool for repeatedly running templated Autogen …
afourney Nov 4, 2023
0dd0fc5
Fix typo import autogen (#549)
hung-ngm Nov 4, 2023
f052977
Add support to unstructrued (#501)
thinkall Nov 5, 2023
f51301f
Update TRANSPARENCY_FAQS.md (#492)
gfggithubleet Nov 5, 2023
bdfbca8
Update README.md (#507)
vatsalya-vyas Nov 5, 2023
8593807
fix wrong 'Langchain Provided Tools as Functions' doc ref (#495)
AkariLan Nov 5, 2023
306ac4d
copy dicts before modifying (#551)
sonichi Nov 6, 2023
b41b366
Large Multimodal Models in AgentChat (#554)
BeibinLi Nov 6, 2023
65ec0b1
update version of openai dependency (#588)
sonichi Nov 7, 2023
2a96e4d
Notebook/hierarchy flow (#482)
joshkyh Nov 7, 2023
dfcbea9
seed -> cache_seed (#600)
sonichi Nov 8, 2023
98115e8
Added link to the new notebook (#594)
joshkyh Nov 9, 2023
b2b6d7c
update return type of WolframAlphaAPIWrapper.run() (#523)
1073710317 Nov 9, 2023
5dfbbbd
news update (#609)
sonichi Nov 9, 2023
0b926f4
Add EcoAssistant to the research page (#612)
JieyuZ2 Nov 9, 2023
19ea8b8
Add CompressibleAgent (#443)
yiranwu0 Nov 10, 2023
d5cbc2b
add AutoGen paper info at the beginning of readme (#621)
qingyun-wu Nov 10, 2023
b1e69bf
Update oai_completion.ipynb (#623)
AndreasVolkmann Nov 11, 2023
24807be
Added warnings for some GroupChat misconfigurations and selection err…
afourney Nov 11, 2023
f77ca89
Introducing Experimental GPT Assistant Agent in AutoGen (#616)
IANTHEREAL Nov 11, 2023
8d225db
added twitter(X) banner + link to readme (#615)
malikmmoaz Nov 11, 2023
849feda
Enable streaming support for openai v1 (#597)
Alvaromah Nov 11, 2023
fda7a39
improve readme (#630)
qingyun-wu Nov 11, 2023
6bb7acc
Handled possible unclear IndexError in ConversableAgent.last_message …
jeezrick Nov 11, 2023
805d845
Fix test error of compressible agent (#631)
yiranwu0 Nov 11, 2023
ff41489
Fix docstring of get_or_create (#583)
thinkall Nov 12, 2023
df2cd36
Refactor GPTAssistantAgent (#632)
gagb Nov 12, 2023
c22a322
uncomment test (#640)
qingyun-wu Nov 12, 2023
071857a
Merge branch 'main' into merge
jfischburg-lifemesh Nov 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
{
"extensions": ["ms-python.python", "visualstudioexptteam.vscodeintellicode"],
"dockerFile": "Dockerfile",
"settings": {
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/bin/bash"
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-toolsai.jupyter",
"visualstudioexptteam.vscodeintellicode"
],
"settings": {
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/bin/bash"
}
},
"terminal.integrated.defaultProfile.linux": "bash"
}
},
"terminal.integrated.defaultProfile.linux": "bash"
}
},
"dockerFile": "Dockerfile",
"updateContentCommand": "pip install -e . pre-commit && pre-commit install"
}
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,22 @@ jobs:
python -m pip install --upgrade pip wheel
pip install -e .
python -c "import autogen"
pip install -e.[mathchat,retrievechat] datasets pytest
pip install -e. pytest
pip uninstall -y openai
- name: Install unstructured if not windows
if: matrix.os != 'windows-2019'
run: |
pip install "unstructured[all-docs]"
- name: Test with pytest
if: matrix.python-version != '3.10'
run: |
pytest test
- name: Coverage
if: matrix.python-version == '3.10'
run: |
pip install coverage
coverage run -a -m pytest test
pip install -e .[mathchat,test]
pip uninstall -y openai
coverage run -a -m pytest test --ignore=test/agentchat/contrib
coverage xml
- name: Upload coverage to Codecov
if: matrix.python-version == '3.10'
Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/contrib-lmm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: ContribTests

on:
pull_request:
branches: ['main', 'dev/v0.2']
paths:
- 'autogen/img_utils.py'
- 'autogen/agentchat/contrib/multimodal_conversable_agent.py'
- 'autogen/agentchat/contrib/llava_agent.py'
- 'test/test_img_utils.py'
- 'test/agentchat/contrib/test_lmm.py'
- 'test/agentchat/contrib/test_llava.py'
- '.github/workflows/lmm-test.yml'
- 'setup.py'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
LMMTest:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-2019]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install packages and dependencies for all tests
run: |
python -m pip install --upgrade pip wheel
pip install pytest
- name: Install packages and dependencies for LMM
run: |
pip install -e .[lmm]
pip uninstall -y openai
- name: Test LMM and LLaVA
run: |
pytest test/test_img_utils.py test/agentchat/contrib/test_lmm.py test/agentchat/contrib/test_llava.py
- name: Coverage
if: matrix.python-version == '3.10'
run: |
pip install coverage>=5.3
coverage run -a -m pytest test/test_img_utils.py test/agentchat/contrib/test_lmm.py test/agentchat/contrib/test_llava.py
coverage xml
- name: Upload coverage to Codecov
if: matrix.python-version == '3.10'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
140 changes: 140 additions & 0 deletions .github/workflows/contrib-openai.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
# This workflow will install Python dependencies and run tests
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: OpenAI4ContribTests

on:
pull_request_target:
branches: ['main']
paths:
- 'autogen/**'
- 'test/agentchat/contrib/**'
- '.github/workflows/contrib-openai.yml'
- 'setup.py'

jobs:
RetrieveChatTest:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10"]
runs-on: ${{ matrix.os }}
environment: openai1
steps:
# checkout to pr branch
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install packages and dependencies
run: |
docker --version
python -m pip install --upgrade pip wheel
pip install -e .
python -c "import autogen"
pip install coverage pytest-asyncio
- name: Install packages for test when needed
run: |
pip install docker
pip install qdrant_client[fastembed]
pip install -e .[retrievechat]
- name: Coverage
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
AZURE_OPENAI_API_BASE: ${{ secrets.AZURE_OPENAI_API_BASE }}
OAI_CONFIG_LIST: ${{ secrets.OAI_CONFIG_LIST }}
run: |
coverage run -a -m pytest test/agentchat/contrib/test_retrievechat.py test/agentchat/contrib/test_qdrant_retrievechat.py
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
CompressionTest:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.9"]
runs-on: ${{ matrix.os }}
environment: openai1
steps:
# checkout to pr branch
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install packages and dependencies
run: |
docker --version
python -m pip install --upgrade pip wheel
pip install -e .
python -c "import autogen"
pip install coverage pytest-asyncio
- name: Install packages for test when needed
run: |
pip install docker
- name: Coverage
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
AZURE_OPENAI_API_BASE: ${{ secrets.AZURE_OPENAI_API_BASE }}
OAI_CONFIG_LIST: ${{ secrets.OAI_CONFIG_LIST }}
run: |
coverage run -a -m pytest test/agentchat/contrib/test_compressible_agent.py
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
GPTAssistantAgent:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.11"]
runs-on: ${{ matrix.os }}
environment: openai1
steps:
# checkout to pr branch
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install packages and dependencies
run: |
docker --version
python -m pip install --upgrade pip wheel
pip install -e .
python -c "import autogen"
pip install coverage pytest-asyncio
- name: Install packages for test when needed
run: |
pip install docker
- name: Coverage
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
AZURE_OPENAI_API_BASE: ${{ secrets.AZURE_OPENAI_API_BASE }}
OAI_CONFIG_LIST: ${{ secrets.OAI_CONFIG_LIST }}
run: |
coverage run -a -m pytest test/agentchat/contrib/test_gpt_assistant.py
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
110 changes: 110 additions & 0 deletions .github/workflows/contrib-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: ContribTests

on:
pull_request:
branches: ['main', 'dev/v0.2']
paths:
- 'autogen/**'
- 'test/agentchat/contrib/**'
- '.github/workflows/contrib-tests.yml'
- 'setup.py'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
RetrieveChatTest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-2019]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install packages and dependencies for all tests
run: |
python -m pip install --upgrade pip wheel
pip install pytest
- name: Install qdrant_client when python-version is 3.10
if: matrix.python-version == '3.10' || matrix.python-version == '3.8'
run: |
pip install qdrant_client[fastembed]
- name: Install packages and dependencies for RetrieveChat
run: |
pip install -e .[retrievechat]
pip uninstall -y openai
- name: Test RetrieveChat
run: |
pytest test/test_retrieve_utils.py test/agentchat/contrib/test_retrievechat.py test/agentchat/contrib/test_qdrant_retrievechat.py
- name: Coverage
if: matrix.python-version == '3.10'
run: |
pip install coverage>=5.3
coverage run -a -m pytest test/test_retrieve_utils.py test/agentchat/contrib
coverage xml
- name: Upload coverage to Codecov
if: matrix.python-version == '3.10'
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
CompressionTest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-2019]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install packages and dependencies for all tests
run: |
python -m pip install --upgrade pip wheel
pip install pytest
- name: Install packages and dependencies for Compression
run: |
pip install -e .
pip uninstall -y openai
- name: Test Compression
if: matrix.python-version != '3.10'
run: |
pytest test/agentchat/contrib/test_compressible_agent.py

GPTAssistantAgent:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-2019]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install packages and dependencies for all tests
run: |
python -m pip install --upgrade pip wheel
pip install pytest
- name: Install packages and dependencies for GPTAssistantAgent
run: |
pip install -e .
pip uninstall -y openai
- name: Test GPTAssistantAgent
if: matrix.python-version != '3.10'
run: |
pytest test/agentchat/contrib/test_gpt_assistant.py
Loading
Loading