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

Update test_agents_client.py, test_agents_client_async.py, and conftest.py #38656

Open
wants to merge 208 commits into
base: feature/azure-ai-projects-b2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
208 commits
Select commit Hold shift + click to select a range
618a5fa
init
jhakulin Sep 3, 2024
3875643
update
jhakulin Sep 3, 2024
8b43713
added function call
jhakulin Sep 3, 2024
4f055c4
add user functions to sample
jhakulin Sep 3, 2024
1253289
update samples
jhakulin Sep 6, 2024
658ee6e
update
jhakulin Sep 7, 2024
8b22636
add patch
jhakulin Sep 7, 2024
c410219
update functions
jhakulin Sep 7, 2024
eafd936
update
jhakulin Sep 7, 2024
2146839
add convenience method for runs
jhakulin Sep 7, 2024
1d3bc1c
update sample
jhakulin Sep 7, 2024
9924715
initial stream
jhakulin Sep 8, 2024
0a3958e
update
jhakulin Sep 8, 2024
2483c44
update
jhakulin Sep 8, 2024
24c08a7
update
jhakulin Sep 9, 2024
6ec0b8c
add draft tool set
jhakulin Sep 10, 2024
2d2162b
update
jhakulin Sep 11, 2024
6c50df7
update to tools
jhakulin Sep 11, 2024
8444209
update
jhakulin Sep 11, 2024
d1a2ab4
updates
jhakulin Sep 12, 2024
c99a1b4
update tools
jhakulin Sep 12, 2024
f4837ad
update tool set
jhakulin Sep 12, 2024
e7bb61c
update
jhakulin Sep 12, 2024
10ead92
update functions sample
jhakulin Sep 12, 2024
a7866e0
update functions sample
jhakulin Sep 12, 2024
374dcb5
fixes
jhakulin Sep 13, 2024
793decb
add fix
jhakulin Sep 13, 2024
31b576e
update
jhakulin Sep 13, 2024
37acdf6
fix streaming
jhakulin Sep 13, 2024
df6f1f6
update
jhakulin Sep 13, 2024
e7e0e99
toolset
jhakulin Sep 13, 2024
fc95bc8
update
jhakulin Sep 13, 2024
7c61795
add setup files
jhakulin Sep 13, 2024
e5760f6
add overload for create_assistant for toolset
jhakulin Sep 14, 2024
664fe50
add code intepreter sample
jhakulin Sep 14, 2024
ad95cfe
update code interpreter and patches
jhakulin Sep 14, 2024
8de3ff6
add file search sample
jhakulin Sep 14, 2024
4381e24
update
jhakulin Sep 14, 2024
2e2a80e
update README
jhakulin Sep 14, 2024
2bf65fe
update README
jhakulin Sep 14, 2024
60d1ec4
first round of happy tests for assistantsAPI
sophia-ramsey Sep 24, 2024
e119c2d
First version of client with endpoint operations
dargilco Sep 25, 2024
5edce71
Make Endpoints sample work
dargilco Sep 25, 2024
7f17e49
Create EndpointProperties class. Implement client.endpoints.get_default
dargilco Sep 26, 2024
f41ae25
Support AzureAIClient.from_connection_string()
dargilco Sep 26, 2024
ee2aad6
Make default input argument for .endpoints.get
dargilco Sep 26, 2024
532048e
eventhandler
jhakulin Sep 27, 2024
10518d5
samples and support async with streaming (#37602)
howieleung Sep 28, 2024
9165f62
update
jhakulin Sep 28, 2024
90719b3
update
jhakulin Sep 28, 2024
efdaa79
update
jhakulin Sep 28, 2024
5dd157f
update
jhakulin Sep 28, 2024
9a7b670
update
jhakulin Sep 28, 2024
fb3f8ce
update
jhakulin Sep 28, 2024
d31ddbd
update
jhakulin Sep 29, 2024
fe02332
update
jhakulin Sep 29, 2024
08b6a33
update
jhakulin Sep 29, 2024
c7b6ae7
merge main branch
jhakulin Sep 29, 2024
a9939cf
use shared user_functions.py
jhakulin Sep 29, 2024
b28c47c
file attachments samples, event handler, and made async with await to…
howieleung Oct 2, 2024
072b9d8
tests for assistant client without test recordings
sophia-ramsey Oct 2, 2024
1619243
Re-emit from latest TypeSpec. First attempt to support 3 different en…
dargilco Oct 3, 2024
5b9ecad
Fix construction of the three endpoints
dargilco Oct 3, 2024
8d33253
Re-emit from TypeSpec. Rename host_name to endpoint
dargilco Oct 3, 2024
4640714
Bug fix
dargilco Oct 3, 2024
9fdbccb
Add methods ai_client.inference.get_chat_completions_client() and ai_…
dargilco Oct 4, 2024
a719078
Merge remote-tracking branch 'origin/main' into dargilco/azure-ai-client
dargilco Oct 4, 2024
b1a9215
Adding sample and changing client name (#37724)
singankit Oct 4, 2024
8fe3af6
updated test folder for azure-ai-assistants
sophia-ramsey Oct 4, 2024
6b53fc6
Add .inference.get_embeddings_client() method
dargilco Oct 5, 2024
3043ab1
Jhakulin/azure ai client agents (#37748)
jhakulin Oct 7, 2024
dfbcb3c
Merge remote-tracking branch 'origin/main' into dargilco/azure-ai-client
dargilco Oct 7, 2024
f237671
Create seperate inference samples
dargilco Oct 8, 2024
367f88b
Move SASTokenCredential into .models
dargilco Oct 8, 2024
7bcf705
Add more agents samples (#37777)
jhakulin Oct 8, 2024
ae5a0af
Update _patch.py (#37760)
singankit Oct 8, 2024
b540375
Online Evaluation changes (#37794)
singankit Oct 8, 2024
72cadc3
Patch constructor for async AzureAIClient (#37804)
dargilco Oct 9, 2024
8805675
Merge remote-tracking branch 'origin/main' into dargilco/azure-ai-client
dargilco Oct 9, 2024
8935a4d
Users/singankit/evaluation add data mapping (#37824)
singankit Oct 9, 2024
c4d3540
Fix .inference.get_azure_openai_client() for the async AzureAIClient …
dargilco Oct 10, 2024
a0d1232
Merge remote-tracking branch 'origin/main' into dargilco/azure-ai-client
dargilco Oct 10, 2024
37405e0
migrate async, poll functions, and samples from assistant to agent (#…
howieleung Oct 10, 2024
b2fa08e
[AI Client] adapt Sophia's assistant tests to client repo (#37819)
glharper Oct 11, 2024
1eea304
Took out streaming from create_run, create_and_process_run, and submi…
howieleung Oct 11, 2024
e204002
Miscellaneous updates (#37852)
dargilco Oct 11, 2024
d9f5c3a
Jhakulin/azure ai client pylance (#37887)
jhakulin Oct 14, 2024
d8d3a16
Use List instead of Sequence and fixed samples (#37898)
howieleung Oct 15, 2024
3bf1321
Merge remote-tracking branch 'origin/main' into dargilco/azure-ai-client
dargilco Oct 15, 2024
e672df7
fixed warning for aio and get call function tools for stream within t…
howieleung Oct 16, 2024
e231bc5
Evaluation API Review Feedback (#37915)
singankit Oct 16, 2024
a0db3a8
Fixed poll while loop and sample (#37922)
howieleung Oct 16, 2024
5e48c75
Jhakulin/azure ai client agents updates2 (#37937)
jhakulin Oct 16, 2024
ea5cf16
Merge remote-tracking branch 'origin/main' into dargilco/azure-ai-client
dargilco Oct 17, 2024
4b38a6f
create_vector_store_file_batch_and_poll + samples and update aio usin…
howieleung Oct 17, 2024
0b2a410
Clean up on the Optional (#37971)
howieleung Oct 17, 2024
306cb0e
Switch from .endpoints to .connection (re-emit from latest TypeSpec)
dargilco Oct 18, 2024
879ffe8
updates and minor fixes (#37984)
jhakulin Oct 18, 2024
f3aa098
Clean up (#37985)
howieleung Oct 18, 2024
e69d662
Rename connection string environment variables
dargilco Oct 18, 2024
715c96e
updated codeinterpreter attachment sample (#37990)
jhakulin Oct 18, 2024
7fa5125
Filter parameters, returned by SSE event (#37991)
nick863 Oct 18, 2024
ecd9d80
Evaluation data set id change revert (#38007)
singankit Oct 21, 2024
7cc54a7
Updates to .connection operators (#38024)
dargilco Oct 22, 2024
065849b
Users/singankit/ai project utils (#38033)
singankit Oct 22, 2024
325b965
Merge remote-tracking branch 'origin/main' into dargilco/azure-ai-client
dargilco Oct 22, 2024
99e8ecd
First emit of azure-ai-project (_patch.py, samples and test not yet c…
dargilco Oct 22, 2024
6b38bd9
Copy _patch.py, samples, test, update names
dargilco Oct 22, 2024
a8fe986
Fix wrong import
dargilco Oct 22, 2024
78e6894
M hietala/agent tools updates (#38031)
M-Hietala Oct 22, 2024
5eae9e6
add changes to latest typespec and ai-project changes (#38051)
saikmicro Oct 23, 2024
1282a64
Move agents test to agents folder (#38055)
nick863 Oct 23, 2024
4e950c7
Prep for connection tests. (#38060)
dargilco Oct 23, 2024
6e50ef0
Merge remote-tracking branch 'origin/main' into dargilco/azure-ai-client
dargilco Oct 23, 2024
dfbaaf5
Create azure-ai-projects folder
dargilco Oct 23, 2024
0f9dc5c
Add Inference tests (#38069)
dargilco Oct 24, 2024
01eafd6
re-doing the agent toolu updates after package changes (#38078)
M-Hietala Oct 24, 2024
62f9669
Merge branch 'dargilco/azure-ai-client' of https://github.com/Azure/a…
sophia-ramsey Oct 25, 2024
216258c
Add .diagnostics.enable() method to fetch App Insights connection str…
dargilco Oct 26, 2024
46e18c3
Merge remote-tracking branch 'origin/main' into dargilco/azure-ai-client
dargilco Oct 28, 2024
557f406
Users/singankit/evaluation async samples (#38104)
singankit Oct 28, 2024
cdc3ffb
Fix sphinx docstring and cSpell (#38125)
nick863 Oct 28, 2024
f9967f6
Disable evaluation schedule and remove sampling rate (#38161)
saikmicro Oct 29, 2024
f780407
Add tests for Connection operations (#38156)
dargilco Oct 29, 2024
222a07d
update to get file content (#38165)
jhakulin Oct 29, 2024
9e058c4
update tests for function overloads and tools
sophia-ramsey Oct 29, 2024
83dbacf
Jhakulin/parse messages (#38167)
jhakulin Oct 29, 2024
5513b76
remove azure-ai-assistants
sophia-ramsey Oct 29, 2024
b5744a7
Update README.md (#38173)
howieleung Oct 30, 2024
42a4c8e
update to get file content (#38192)
jhakulin Oct 30, 2024
147e7fa
Enable tracing (#38185)
dargilco Oct 30, 2024
3ed16a7
added validation to tools and tools_resources, added update agent (#3…
howieleung Oct 30, 2024
a395f29
Rename `.diagnostics` to `.telemetry` (#38209)
dargilco Oct 30, 2024
e659c51
Jhakulin/agents get file content async (#38201)
jhakulin Oct 30, 2024
d5e9c96
address changes, add async agent tests
sophia-ramsey Oct 30, 2024
5b4b1b9
Fixed test (#38222)
howieleung Oct 31, 2024
5445d74
Support the new unified models deployed to the AIServices connection
dargilco Oct 31, 2024
9f9b12f
Fixed validation to put AyncFunctionTool into ToolSet and FunctionToo…
howieleung Oct 31, 2024
595ec6d
adding ai agents instrumentor (#38200)
M-Hietala Oct 31, 2024
6c3da41
Jhakulin/user functions updates (#38248)
jhakulin Oct 31, 2024
40f27f1
Connections & Inference test updates to support new unified models
dargilco Nov 1, 2024
a73fd8b
Improve tracing samples and add docs on telemetry.enable (#38257)
lmolkova Nov 1, 2024
59a3228
Jhakulin/user functions optional (#38261)
jhakulin Nov 1, 2024
06d6549
async tests, changes to streaming
sophia-ramsey Nov 1, 2024
99b5b9f
adding content recording control to agents instrumentor api (#38268)
M-Hietala Nov 4, 2024
139ca5d
Howie/save file test (#38306)
howieleung Nov 4, 2024
904c9ef
Mypy fixes for instrumentor (#38302)
nick863 Nov 4, 2024
b8ba93e
Fix handling of SAS token and fix mypy (#38312)
nick863 Nov 4, 2024
a1b6f46
Glharper/ai client new tools (#38202)
glharper Nov 4, 2024
e3a2600
Merge remote-tracking branch 'origin/main' into dargilco/azure-ai-client
dargilco Nov 5, 2024
9328ea6
Merge remote-tracking branch 'origin/main' into dargilco/azure-ai-client
dargilco Nov 5, 2024
4cc537c
Use 'Union' insted of '|' to make it run on Pyton 3.8 and up (#38344)
dargilco Nov 5, 2024
3085358
Fix mypy issues and re generate the code. (#38340)
nick863 Nov 6, 2024
8b6e88f
Use DefaultAzureCredential from azure.identity.aio for async samples …
dargilco Nov 6, 2024
eadeb59
Rename AAD to ENTRA_ID (#38363)
dargilco Nov 6, 2024
cab8379
added agents example section in readme and added tags to samples (#38…
howieleung Nov 7, 2024
a4f0b1d
Fix mypy and do not scan examples (#38375)
nick863 Nov 7, 2024
0fe5ad8
Connections APIs throw instead of returning None if a connection name…
dargilco Nov 7, 2024
2c28298
Add code interpreter file attachment sample and link to readme. Add…
howieleung Nov 7, 2024
b27a145
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Nov 7, 2024
f867954
Fix broken async .telemetry.enable() method, when you don't pass in "…
dargilco Nov 7, 2024
50f8aa1
Sample for thread with resource and document it in readme (#38393)
howieleung Nov 7, 2024
e8e8677
Users/singankit/evaluation test (#38402)
singankit Nov 7, 2024
4479f12
Update how the inference URL is constructed (#38409)
dargilco Nov 8, 2024
c88ab42
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Nov 8, 2024
60ada67
Fix some cspell errors, and link errors (#38420)
dargilco Nov 8, 2024
75a5354
cspell lint --config .vscode/cspell.json --no-summary "sdk/ai/azure-a…
dargilco Nov 8, 2024
267c0f7
Resolved comments from Krista (#38405)
howieleung Nov 8, 2024
db34c99
Add support of Azure asset IDs for the vector store. (#38066)
nick863 Nov 8, 2024
3e48384
Fix PR comment by Krista on async credential in ConnectionProperties …
dargilco Nov 8, 2024
ad6cddf
Black
dargilco Nov 8, 2024
1722934
User/singankit/evaluation spellcheck (#38427)
singankit Nov 8, 2024
f4eb82b
Fix doc string errors
dargilco Nov 8, 2024
c6edff5
Fix typing in samples (#38354)
nick863 Nov 8, 2024
131554f
Run "black" (again)
dargilco Nov 8, 2024
0008861
Fix a few pyright errors, and address a comment in the Python PR (#38…
dargilco Nov 9, 2024
5762680
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Nov 11, 2024
9369a5d
Address some of Krista's PR comments (#38444)
dargilco Nov 11, 2024
2a7d1eb
sdk changes for name change for provisioning state and isEnabled onli…
saikmicro Nov 11, 2024
b31889f
azure-ai-projects: configure otel logging in telemetry.enable() helpe…
lmolkova Nov 11, 2024
a204c17
[ai] fix(pylint): Resolve `W1309`, `W0107`, `W0707`, `R1705`, `W0401`…
kdestin Nov 11, 2024
4ae547e
Add readme for get_message, save_file, get_file_content, tracing, Bin…
howieleung Nov 11, 2024
7a1de64
More fixes to mypy (#38446)
nick863 Nov 11, 2024
d920d44
agents telemetry pyright fixes (#38457)
M-Hietala Nov 11, 2024
479b41c
test changes including streaming
sophia-ramsey Nov 11, 2024
7a66f7e
Fix pyright for agents. (#38464)
nick863 Nov 12, 2024
a629bfa
fix pip install instruction (#38480)
glharper Nov 12, 2024
80f7311
[ai] fix(pylint): Resolve `C0301`, `C4739`, `C4740`, `C4741`, `C4742`…
kdestin Nov 12, 2024
78d345d
Enable test recordings for tests\inference, tests\telemetry and tests…
dargilco Nov 12, 2024
fc77caa
Update cspell.json
dargilco Nov 12, 2024
90e27d4
Removed enterprise and add installation for tracing (#38483)
howieleung Nov 12, 2024
a06c0cc
Fix mypy errors (#38487)
dargilco Nov 12, 2024
6573482
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Nov 12, 2024
4cd7be7
Run black --config ../../../eng/black-pyproject.toml
dargilco Nov 12, 2024
2ce7965
update tests
sophia-ramsey Nov 12, 2024
fb046e2
agents tracing pylint fixes (#38496)
M-Hietala Nov 12, 2024
723c59b
Remove premature adding of asserts.json file
dargilco Nov 12, 2024
abd503a
test updates
sophia-ramsey Nov 12, 2024
37e6d75
Merge branch 'feature/azure-ai-projects' of https://github.com/Azure/…
sophia-ramsey Nov 12, 2024
b0ec1ed
[ai] fix(pylint): Resolving remaining pylint errors (#38500)
kdestin Nov 13, 2024
5c90bde
Merge branch 'feature/azure-ai-projects' of https://github.com/Azure/…
sophia-ramsey Nov 13, 2024
949e408
update tests with user functions
sophia-ramsey Nov 20, 2024
19d1dc2
update b2
sophia-ramsey Nov 20, 2024
2c4c057
update to b2
sophia-ramsey Nov 20, 2024
e7e1c63
Merge branch 'feature/azure-ai-projects-b2' of https://github.com/Azu…
sophia-ramsey Nov 21, 2024
9364f64
update tests and conftest.py
sophia-ramsey Nov 22, 2024
e5dde14
remove old files
sophia-ramsey Nov 22, 2024
a164537
update conftest.py
sophia-ramsey Nov 22, 2024
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
Loading
Loading