Shaokun Zhang
e3a7e8a37e
Update AgentOptimizer BibTeX ( #2578 )
...
* update paper
* update
---------
Co-authored-by: “skzhang1” <“shaokunzhang529@gmail.com”>
Co-authored-by: Jieyu Zhang <jieyuz2@cs.washington.edu>
2024-05-06 00:58:49 +00:00
Xiaoyun Zhang
e878be55a3
[.Net] refactor over streaming version api ( #2461 )
...
* update
* update
* fix comment
2024-05-05 14:51:00 +00:00
Abdur Rahman Nawaz
4711d7bb9c
Fix for http client ( #2579 )
...
* Fix for http client
* fixed constructor to only ignore the http_client while copying
* fixed comment formating
* removed check for http_client and added error message with docs
* fix formatting
* fix formatting
* added test for http-fix
* changed title and content of docs
* changed test func name
2024-05-04 14:12:36 +00:00
Ian
3a4bb088f7
add faq for autogen and openai assistant compatible version ( #2587 )
2024-05-04 06:56:50 +00:00
Eric Zhu
093c1a26e3
Add note in the lfs check action to help contributors fix Git LFS check failure. ( #2563 )
...
* Add note in the lfs check action.
* Update lfs-check.yml
2024-05-03 15:16:59 +00:00
Ian
bf0c49d96f
Add a guide doc for GPTAssistantAgent ( #2562 )
...
* add a oai assistant agent guide
* add a oai assistant agent guide
* polish
* address comments
* remove useless type ingnore comments
* fix ci
---------
Co-authored-by: Ian Zhai <ian@IandeMacBook-Pro.local>
2024-05-03 02:36:48 +00:00
Justin Trugman
10bb25ba7d
Function Calling with GPTAssistantAgent ( #2375 )
...
* Function Calling with GPTAssistantAgent
* Add Link to Notebook in Website
* Add metadata to the notebook
* formatting of H2 and H3 text
* updated to new method of function calling
* Run Pre-commit
* utilize get_function_schema
2024-05-02 16:56:15 +00:00
David Luong
3e693578bf
[.NET] Return ChatCompletions instead of ChatResponseMessage for token usage. ( #2545 )
...
* update
* update
* update
* update
* update
* add sample project
* revert notebook change back
* update
* update interactive version
* add nuget package
* refactor Message
* update example
* add azure nightly build pipeline
* Set up CI with Azure Pipelines
[skip ci]
* Update nightly-build.yml for Azure Pipelines
* add dotnet interactive package
* add dotnet interactive package
* update pipeline
* add nuget feed back
* remove dotnet-tool feed
* remove dotnet-tool feed comment
* update pipeline
* update build name
* Update nightly-build.yml
* Delete .github/workflows/dotnet-ci.yml
* update
* add working_dir to use step
* add initateChat api
* update oai package
* Update dotnet-build.yml
* Update dotnet-run-openai-test-and-notebooks.yml
* update build workflow
* update build workflow
* update nuget feed
* update nuget feed
* update aoai and sk version
* Update InteractiveService.cs
* add support for GPT 4V
* add DalleAndGPT4V example
* update example
* add user proxy agent
* add readme
* bump version
* update example
* add dotnet interactive hook
* update
* udpate tests
* add website
* update index.md
* add docs
* update doc
* move sk dependency out of core package
* udpate doc
* Update Use-function-call.md
* add type safe function call document
* update doc
* update doc
* add dock
* Update Use-function-call.md
* add GenerateReplyOptions
* remove IChatLLM
* update version
* update doc
* update website
* add sample
* fix link
* add middleware agent
* clean up doc
* bump version
* update doc
* update
* add Other Language
* remove warnings
* add sign.props
* add sign step
* fix pipelien
* auth
* real sign
* disable PR trigger
* update
* disable PR trigger
* use microbuild machine
* update build pipeline to add publish to internal feed
* add internal feed
* fix build pipeline
* add dotnet prefix
* update ci
* add build number
* update run number
* update source
* update token
* update
* remove adding source
* add publish to github package
* try again
* try again
* ask for write pacakge
* disable package when branch is not main
* update
* implement streaming agent
* add test for streaming function call
* update
* fix #1588
* enable PR check for dotnet branch
* add website readme
* only publish to dotnet feed when pushing to dotnet branch
* remove openai-test-and-notebooks workflow
* update readme
* update readme
* update workflow
* update getting-start
* upgrade test and sample proejct to use .net 8
* fix global.json format && make loadFromConfig API internal only before implementing
* update
* add support for LM studio
* add doc
* Update README.md
* add push and workflow_dispatch trigger
* disable PR for main
* add dotnet env
* Update Installation.md
* add nuget
* refer to newtonsoft 13
* update branch to dotnet in docfx
* Update Installation.md
* pull out HumanInputMiddleware and FunctionCallMiddleware
* fix tests
* add link to sample folder
* refactor message
* refactor over IMessage
* add more tests
* add more test
* fix build error
* rename header
* add semantic kernel project
* update sk example
* update dotnet version
* add LMStudio function call example
* rename LLaMAFunctin
* remove dotnet run openai test and notebook workflow
* add FunctionContract and test
* update doc
* add documents
* add workflow
* update
* update sample
* fix warning in test
* reult length can be less then maximumOutputToKeep (#1804 )
* merge with main
* add option to retrieve inner agent and middlewares from MiddlewareAgent
* update doc
* adjust namespace
* update readme
* fix test
* use IMessage
* more updates
* update
* fix test
* add comments
* use FunctionContract to replace FunctionDefinition
* move AutoGen contrac to AutoGen.Core
* update installation
* refactor streamingAgent by adding StreamingMessage type
* update sample
* update samples
* update
* update
* add test
* fix test
* bump version
* add openaichat test
* update
* Update Example03_Agent_FunctionCall.cs
* [.Net] improve docs (#1862 )
* add doc
* add doc
* add doc
* add doc
* add doc
* add doc
* update
* fix test error
* fix some error
* fix test
* fix test
* add more tests
* edits
---------
Co-authored-by: ekzhu <ekzhu@users.noreply.github.com>
* [.Net] Add fill form example (#1911 )
* add form filler example
* update
* fix ci error
* [.Net] Add using AutoGen.Core in source generator (#1983 )
* fix using namespace bug in source generator
* remove using in sourcegenerator test
* disable PR test
* Add .idea to .gitignore (#1988 )
* [.Net] publish to nuget.org feed (#1987 )
* publish to nuget
* update ci
* update dotnet-release
* update release pipeline
* add source
* remove empty symbol package
* update pipeline
* remove tag
* update installation guide
* [.Net] Rename some classes && APIs based on doc review (#1980 )
* rename sequential group chat to round robin group chat
* rename to sendInstruction
* rename workflow to graph
* rename some api
* bump version
* move Graph to GroupChat folder
* rename fill application example
* [.Net] Improve package description (#2161 )
* add discord link and update package description
* Update getting-start.md
* [.Net] Fix document comment from the most recent AutoGen.Net engineer sync (#2231 )
* update
* rename RegisterPrintMessageHook to RegisterPrintMessage
* update website
* update update.md
* fix link error
* [.Net] Enable JsonMode and deterministic output in AutoGen.OpenAI OpenAIChatAgent (#2347 )
* update openai version && add sample for json output
* add example in web
* update update.md
* update image url
* [.Net] Add AutoGen.Mistral package (#2330 )
* add mstral client
* enable streaming support
* add mistralClientAgent
* add test for function call
* add extension
* add support for toolcall and toolcall result message
* add support for aggregate message
* implement streaming function call
* track (#2471 )
* [.Net] add mistral example (#2482 )
* update existing examples to use messageCOnnector
* add overview
* add function call document
* add example 14
* add mistral token count usage example
* update version
* Update dotnet-release.yml (#2488 )
* update
* revert gitattributes
* Return ChatCompletions instead of ChatResponseMessage for token usage.
---------
Co-authored-by: XiaoYun Zhang <xiaoyuz@microsoft.com>
Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
Co-authored-by: mhensen <mh@webvize.nl>
Co-authored-by: ekzhu <ekzhu@users.noreply.github.com>
Co-authored-by: Krzysztof Kasprowicz <60486987+Krzysztof318@users.noreply.github.com>
Co-authored-by: luongdavid <luongdavid@microsoft.com>
2024-05-02 01:36:34 +00:00
David Luong
f4a07ff0ed
[.Net] Support raw-data in ImageMessage ( #2552 )
...
* update
* add sample project
* revert notebook change back
* update
* update interactive version
* add nuget package
* refactor Message
* update example
* add azure nightly build pipeline
* Set up CI with Azure Pipelines
[skip ci]
* Update nightly-build.yml for Azure Pipelines
* add dotnet interactive package
* add dotnet interactive package
* update pipeline
* add nuget feed back
* remove dotnet-tool feed
* remove dotnet-tool feed comment
* update pipeline
* update build name
* Update nightly-build.yml
* Delete .github/workflows/dotnet-ci.yml
* update
* add working_dir to use step
* add initateChat api
* update oai package
* Update dotnet-build.yml
* Update dotnet-run-openai-test-and-notebooks.yml
* update build workflow
* update build workflow
* update nuget feed
* update nuget feed
* update aoai and sk version
* Update InteractiveService.cs
* add support for GPT 4V
* add DalleAndGPT4V example
* update example
* add user proxy agent
* add readme
* bump version
* update example
* add dotnet interactive hook
* update
* udpate tests
* add website
* update index.md
* add docs
* update doc
* move sk dependency out of core package
* udpate doc
* Update Use-function-call.md
* add type safe function call document
* update doc
* update doc
* add dock
* Update Use-function-call.md
* add GenerateReplyOptions
* remove IChatLLM
* update version
* update doc
* update website
* add sample
* fix link
* add middleware agent
* clean up doc
* bump version
* update doc
* update
* add Other Language
* remove warnings
* add sign.props
* add sign step
* fix pipelien
* auth
* real sign
* disable PR trigger
* update
* disable PR trigger
* use microbuild machine
* update build pipeline to add publish to internal feed
* add internal feed
* fix build pipeline
* add dotnet prefix
* update ci
* add build number
* update run number
* update source
* update token
* update
* remove adding source
* add publish to github package
* try again
* try again
* ask for write pacakge
* disable package when branch is not main
* update
* implement streaming agent
* add test for streaming function call
* update
* fix #1588
* enable PR check for dotnet branch
* add website readme
* only publish to dotnet feed when pushing to dotnet branch
* remove openai-test-and-notebooks workflow
* update readme
* update readme
* update workflow
* update getting-start
* upgrade test and sample proejct to use .net 8
* fix global.json format && make loadFromConfig API internal only before implementing
* update
* add support for LM studio
* add doc
* Update README.md
* add push and workflow_dispatch trigger
* disable PR for main
* add dotnet env
* Update Installation.md
* add nuget
* refer to newtonsoft 13
* update branch to dotnet in docfx
* Update Installation.md
* pull out HumanInputMiddleware and FunctionCallMiddleware
* fix tests
* add link to sample folder
* refactor message
* refactor over IMessage
* add more tests
* add more test
* fix build error
* rename header
* add semantic kernel project
* update sk example
* update dotnet version
* add LMStudio function call example
* rename LLaMAFunctin
* remove dotnet run openai test and notebook workflow
* add FunctionContract and test
* update doc
* add documents
* add workflow
* update
* update sample
* fix warning in test
* reult length can be less then maximumOutputToKeep (#1804 )
* merge with main
* add option to retrieve inner agent and middlewares from MiddlewareAgent
* update doc
* adjust namespace
* update readme
* fix test
* use IMessage
* more updates
* update
* fix test
* add comments
* use FunctionContract to replace FunctionDefinition
* move AutoGen contrac to AutoGen.Core
* update installation
* refactor streamingAgent by adding StreamingMessage type
* update sample
* update samples
* update
* update
* add test
* fix test
* bump version
* add openaichat test
* update
* Update Example03_Agent_FunctionCall.cs
* [.Net] improve docs (#1862 )
* add doc
* add doc
* add doc
* add doc
* add doc
* add doc
* update
* fix test error
* fix some error
* fix test
* fix test
* add more tests
* edits
---------
Co-authored-by: ekzhu <ekzhu@users.noreply.github.com>
* [.Net] Add fill form example (#1911 )
* add form filler example
* update
* fix ci error
* [.Net] Add using AutoGen.Core in source generator (#1983 )
* fix using namespace bug in source generator
* remove using in sourcegenerator test
* disable PR test
* Add .idea to .gitignore (#1988 )
* [.Net] publish to nuget.org feed (#1987 )
* publish to nuget
* update ci
* update dotnet-release
* update release pipeline
* add source
* remove empty symbol package
* update pipeline
* remove tag
* update installation guide
* [.Net] Rename some classes && APIs based on doc review (#1980 )
* rename sequential group chat to round robin group chat
* rename to sendInstruction
* rename workflow to graph
* rename some api
* bump version
* move Graph to GroupChat folder
* rename fill application example
* [.Net] Improve package description (#2161 )
* add discord link and update package description
* Update getting-start.md
* [.Net] Fix document comment from the most recent AutoGen.Net engineer sync (#2231 )
* update
* rename RegisterPrintMessageHook to RegisterPrintMessage
* update website
* update update.md
* fix link error
* [.Net] Enable JsonMode and deterministic output in AutoGen.OpenAI OpenAIChatAgent (#2347 )
* update openai version && add sample for json output
* add example in web
* update update.md
* update image url
* [.Net] Add AutoGen.Mistral package (#2330 )
* add mstral client
* enable streaming support
* add mistralClientAgent
* add test for function call
* add extension
* add support for toolcall and toolcall result message
* add support for aggregate message
* implement streaming function call
* track (#2471 )
* [.Net] add mistral example (#2482 )
* update existing examples to use messageCOnnector
* add overview
* add function call document
* add example 14
* add mistral token count usage example
* update version
* Update dotnet-release.yml (#2488 )
* update
* revert gitattributes
* WIP : Binary ImageMessage
* WIP : Able to pass unit test
* Add example, cover more usages
* Rename File
---------
Co-authored-by: XiaoYun Zhang <xiaoyuz@microsoft.com>
Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
Co-authored-by: mhensen <mh@webvize.nl>
Co-authored-by: ekzhu <ekzhu@users.noreply.github.com>
Co-authored-by: Krzysztof Kasprowicz <60486987+Krzysztof318@users.noreply.github.com>
Co-authored-by: luongdavid <luongdavid@microsoft.com>
2024-05-02 01:30:42 +00:00
Xiaoyun Zhang
1f501b210c
Update dotnet-build.yml to add merge_group trigger ( #2567 )
...
* Update dotnet-build.yml
* Update dotnet-build.yml
2024-05-02 01:09:45 +00:00
Xiaoyun Zhang
e3ccf228e2
Adding an action to set workflow as success when no change is made in target paths ( #2553 )
...
* update
* Update build.yml
* Update build.yml
* test workflow
* add build_check
* update
2024-05-01 22:44:27 +00:00
asandez1
5fdaf1a8c0
Docker multilanguage executor saver with policy ( #2522 )
...
* feat: update executor saver policy
* feat: languages
* feat: add test _cmd
* fix: try catch
* fix: log
* fix: test docker mock
* fix: invalid path test
* fix: invalid path message
* fix: invalid path message
* fix: is_docker test
* fix: delete old test
* fix: cmd lang
2024-05-01 21:14:09 +00:00
Li Jiang
83f9f3e733
Fix chroma import error ( #2557 )
...
* Fix chroma import error
* fix format
2024-05-01 18:05:45 +00:00
Xiaoyun Zhang
d7dda9be09
use conditional check to replace path filter in build and dotnet-ci workflow ( #2546 )
...
* use conditional check
* update
2024-04-30 21:08:47 +00:00
Gabriel Bezerra Valério
a0fffc815b
feat: add bind_dir arg to DockerCommandLineExecutor + docs update ( #2309 )
...
* add bind_dir arg and update docs
* lint
2024-04-30 20:49:04 +00:00
Jinhua Wang
bcb6117c97
Update token_count_utils.py ( #2531 )
...
* Update token_count_utils.py
Update the token counts of new gpt models
ref: https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4
* format code with pre-commit
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-04-30 20:42:38 +00:00
Arun
ba9ff45adb
Remove unneeded duplicate check for pydantic v1 since we are already checking that in the else block. ( #2467 )
...
* Remove unneeded duplicate check for pydantic v1 since we are already in
the else block.
* fix formatting
2024-04-30 17:26:36 +00:00
Mark Sze
5b6ae324e2
Re-query speaker name when multiple speaker names returned during Group Chat speaker selection ( #2304 )
...
* Added requery_on_multiple_speaker_names to GroupChat and updated _finalize_speaker to requery on multiple speaker names (if enabled)
* Removed unnecessary comments
* Update to current main
* Tweak error message.
* Comment clarity
* Expanded description of Group Chat requery_on_multiple_speaker_names
* Reworked to two-way nested chat for speaker selection with default of 2 retries.
* Adding validation of new GroupChat attributes
* Updates as per @ekzhu's suggestions
* Update groupchat
- Added select_speaker_auto_multiple_template and select_speaker_auto_none_template
- Added max_attempts comment
- Re-instated support for role_for_select_speaker_messages
-
* Update conversable_agent.py
Added ability to force override role for a message to support select speaker prompt.
* Update test_groupchat.py
Updated existing select_speaker test functions as underlying approach has changed, added necessary tests for new functionality.
* Removed block for manual selection in select_speaker function.
* Catered for no-selection during manual selection mode
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-04-30 04:16:08 +00:00
Xiaoyun Zhang
5e29ac84dc
[.Net] fix code ql for dotnet build && update trigger for dotnet workflow ( #2529 )
...
* fix formatting
* update dotnet build pipieline
2024-04-29 20:27:57 +00:00
giorgossideris
11a43421e3
Min tokens in token limiter ( #2400 )
...
* Add minimum token threshold in MessageHistoryLimiter
* Update transforms tests for the threshold
* Move min_threshold_tokens from Message to Token Limiter
* Optimize _check_tokens_threshold
Co-authored-by: Wael Karkoub <wael.karkoub96@gmail.com>
* Apply requested changes (renaming, phrasing, validations)
* Fix format
* Fix _check_tokens_threshold logic
* Update docs and notebook
* Improve phrasing
* Add min_tokens example in notebook
* Add min_tokens example in website docs
* Add min_tokens example in notebook
* Update website docs to be in sync with get_logs change
---------
Co-authored-by: Wael Karkoub <wael.karkoub96@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-04-29 02:11:16 +00:00
Chi Wang
5a007e0d47
tags for config ( #2539 )
2024-04-29 01:35:12 +00:00
Wael Karkoub
a9171211c7
Streamline Testing with `pytest-cov` and `pytest` Defaults ( #2490 )
...
* done
* update docs
* try fix
* update workflows
* undo minor fix
* resolve comments
* adds back pytest-asyncio
* minor fix
* add branch coverage
* restore pip install e.
* test with coverage
* fix mypy
* fix coverage + docker + windows combo
* fix bash command
* formatter
* formatter
* one last fix
* I lied, last fix
* fix
* fix retrieve chat test
* fix windows paths
* change cache seed
* down grade openai version
* fix openai mypy
* better error type
* fix image gen cache test
* fix
* experimenting
* fix lmm
* skip cosmos test
* remove cosmos db
* unused imports
* handle more cosmosdb skips
* fix flaky test
2024-04-29 00:27:34 +00:00
Chi Wang
c94b5c6a61
Use config list in notebook ( #2537 )
2024-04-28 19:47:27 +00:00
Audel Rouhi
1b8d65df0a
2447 fix pgvector tests and notebook ( #2455 )
...
* Re-added missing notebook
* Test installing postgres
* Error handle the connection.
* Fixed import.
* Fixed import.
* Fixed creation of collection without client.
* PGVector portion working. OpenAI untested.
* Fixed prints.
* Added output.
* Fixed pre-commits.
* Run pgvector notebook
* Improve efficiency of get_collection
* Fix delete_collection
* Fixed issues with pytests and validated functions.
* Validated pytests.
* Fixed pre-commits
* Separated extra_requires to allow more logic. Retrieve_chat base dependencies included on pgvector and qdrant.
* Fixed extra newline.
* Added username and password fields.
* URL Encode the connection string parameters to support symbols like %
* Fixed pre-commits.
* Added pgvector service
* pgvector doesn't have health intervals.
* Switched to colon based key values.
* Run on Ubuntu only. Linux is only option with container service support.
* Using default credentials instead.
* Fix postgres setup
* Fix postgres setup
* Don't skip tests on win and mac
* Fix command error
* Try apt install postgresql
* Assert table does not exist when deleted.
* Raise value error on a empty list or None value provided for IDs
* pre-commit
* Add install pgvector
* Add install pgvector
* Reorg test files, create a separate job for test pgvector
* Fix format
* Fix env format
* Simplify job name, enable test_retrieve_config
* Fix test_retrieve_config
* Corrected behavior for get_docs_by_ids with no ids returning all docs.
* Corrected behavior for get_docs_by_ids with no ids returning all docs.
* Fixed pre-commits.
* Added return values for all functions.
* Validated distance search is implemented correctly.
* Validated all pytests
* Removed print.
* Added default clause.
* Make ids optional
* Fix test, make it more robust
* Bump version of openai for the vector_store support
* Added support for choosing the sentence transformer model.
* Added error handling for model name entered.
* Updated model info.
* Added model_name db_config param.
* pre-commit fixes and last link fix.
* Use secrets password.
* fix: link fixed
* updated tests
* Updated config_list.
* pre-commit fix.
* Added chat_result to all output.
Unable to re-run notebooks.
* Pre-commit fix detected this requirement.
* Fix python 3.8 and 3.9 not supported for macos
* Fix python 3.8 and 3.9 not supported for macos
* Fix format
* Reran notebook with MetaLlama3Instruct7BQ4_k_M
* added gpt model.
* Reran notebook
---------
Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Hk669 <hrushi669@gmail.com>
2024-04-28 13:43:02 +00:00
Xiaoyun Zhang
600bd3f2fe
Bring Dotnet AutoGen ( #924 )
...
* update readme
* update
* update
* update
* update
* update
* update
* add sample project
* revert notebook change back
* update
* update interactive version
* add nuget package
* refactor Message
* update example
* add azure nightly build pipeline
* Set up CI with Azure Pipelines
[skip ci]
* Update nightly-build.yml for Azure Pipelines
* add dotnet interactive package
* add dotnet interactive package
* update pipeline
* add nuget feed back
* remove dotnet-tool feed
* remove dotnet-tool feed comment
* update pipeline
* update build name
* Update nightly-build.yml
* Delete .github/workflows/dotnet-ci.yml
* update
* add working_dir to use step
* add initateChat api
* update oai package
* Update dotnet-build.yml
* Update dotnet-run-openai-test-and-notebooks.yml
* update build workflow
* update build workflow
* update nuget feed
* update nuget feed
* update aoai and sk version
* Update InteractiveService.cs
* add support for GPT 4V
* add DalleAndGPT4V example
* update example
* add user proxy agent
* add readme
* bump version
* update example
* add dotnet interactive hook
* update
* udpate tests
* add website
* update index.md
* add docs
* update doc
* move sk dependency out of core package
* udpate doc
* Update Use-function-call.md
* add type safe function call document
* update doc
* update doc
* add dock
* Update Use-function-call.md
* add GenerateReplyOptions
* remove IChatLLM
* update version
* update doc
* update website
* add sample
* fix link
* add middleware agent
* clean up doc
* bump version
* update doc
* update
* add Other Language
* remove warnings
* add sign.props
* add sign step
* fix pipelien
* auth
* real sign
* disable PR trigger
* update
* disable PR trigger
* use microbuild machine
* update build pipeline to add publish to internal feed
* add internal feed
* fix build pipeline
* add dotnet prefix
* update ci
* add build number
* update run number
* update source
* update token
* update
* remove adding source
* add publish to github package
* try again
* try again
* ask for write pacakge
* disable package when branch is not main
* update
* implement streaming agent
* add test for streaming function call
* update
* fix #1588
* enable PR check for dotnet branch
* add website readme
* only publish to dotnet feed when pushing to dotnet branch
* remove openai-test-and-notebooks workflow
* update readme
* update readme
* update workflow
* update getting-start
* upgrade test and sample proejct to use .net 8
* fix global.json format && make loadFromConfig API internal only before implementing
* update
* add support for LM studio
* add doc
* Update README.md
* add push and workflow_dispatch trigger
* disable PR for main
* add dotnet env
* Update Installation.md
* add nuget
* refer to newtonsoft 13
* update branch to dotnet in docfx
* Update Installation.md
* pull out HumanInputMiddleware and FunctionCallMiddleware
* fix tests
* add link to sample folder
* refactor message
* refactor over IMessage
* add more tests
* add more test
* fix build error
* rename header
* add semantic kernel project
* update sk example
* update dotnet version
* add LMStudio function call example
* rename LLaMAFunctin
* remove dotnet run openai test and notebook workflow
* add FunctionContract and test
* update doc
* add documents
* add workflow
* update
* update sample
* fix warning in test
* reult length can be less then maximumOutputToKeep (#1804 )
* merge with main
* add option to retrieve inner agent and middlewares from MiddlewareAgent
* update doc
* adjust namespace
* update readme
* fix test
* use IMessage
* more updates
* update
* fix test
* add comments
* use FunctionContract to replace FunctionDefinition
* move AutoGen contrac to AutoGen.Core
* update installation
* refactor streamingAgent by adding StreamingMessage type
* update sample
* update samples
* update
* update
* add test
* fix test
* bump version
* add openaichat test
* update
* Update Example03_Agent_FunctionCall.cs
* [.Net] improve docs (#1862 )
* add doc
* add doc
* add doc
* add doc
* add doc
* add doc
* update
* fix test error
* fix some error
* fix test
* fix test
* add more tests
* edits
---------
Co-authored-by: ekzhu <ekzhu@users.noreply.github.com>
* [.Net] Add fill form example (#1911 )
* add form filler example
* update
* fix ci error
* [.Net] Add using AutoGen.Core in source generator (#1983 )
* fix using namespace bug in source generator
* remove using in sourcegenerator test
* disable PR test
* Add .idea to .gitignore (#1988 )
* [.Net] publish to nuget.org feed (#1987 )
* publish to nuget
* update ci
* update dotnet-release
* update release pipeline
* add source
* remove empty symbol package
* update pipeline
* remove tag
* update installation guide
* [.Net] Rename some classes && APIs based on doc review (#1980 )
* rename sequential group chat to round robin group chat
* rename to sendInstruction
* rename workflow to graph
* rename some api
* bump version
* move Graph to GroupChat folder
* rename fill application example
* [.Net] Improve package description (#2161 )
* add discord link and update package description
* Update getting-start.md
* [.Net] Fix document comment from the most recent AutoGen.Net engineer sync (#2231 )
* update
* rename RegisterPrintMessageHook to RegisterPrintMessage
* update website
* update update.md
* fix link error
* [.Net] Enable JsonMode and deterministic output in AutoGen.OpenAI OpenAIChatAgent (#2347 )
* update openai version && add sample for json output
* add example in web
* update update.md
* update image url
* [.Net] Add AutoGen.Mistral package (#2330 )
* add mstral client
* enable streaming support
* add mistralClientAgent
* add test for function call
* add extension
* add support for toolcall and toolcall result message
* add support for aggregate message
* implement streaming function call
* track (#2471 )
* [.Net] add mistral example (#2482 )
* update existing examples to use messageCOnnector
* add overview
* add function call document
* add example 14
* add mistral token count usage example
* update version
* Update dotnet-release.yml (#2488 )
* update
* revert gitattributes
---------
Co-authored-by: mhensen <mh@webvize.nl>
Co-authored-by: ekzhu <ekzhu@users.noreply.github.com>
Co-authored-by: Krzysztof Kasprowicz <60486987+Krzysztof318@users.noreply.github.com>
2024-04-26 16:21:46 +00:00
William W Wang
fbcc56c90e
AutoGen cache using Azure Cosmos DB ( #2327 )
...
* Create cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update cosmos_db_cache.py
* Create test_cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update cache.py
* Update cache_factory.py
* Update cache.py
* Update cache_factory.py
* Update test_cache.py
* Update test_cache.py
* Update cache.py
* Update llm-caching.md
* Update cache.py
* Update cache.py
* Update cache.py
* Update cache_factory.py
* Update cosmos_db_cache.py
* Update cache.py
* Update cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update build.yml
* Update build.yml
* Update test_cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update autogen/cache/cache_factory.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Update cache_factory.py
* Update cosmos_db_cache.py
* Update cache.py
* Update cache_factory.py
* Update cosmos_db_cache.py
* Update .github/workflows/build.yml
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Update cache.py
* Update cache.py
* Update cache.py
* Update cache_factory.py
* Update cosmos_db_cache.py
* Update cache.py
* Update cache_factory.py
* Update cosmos_db_cache.py
* Update cache.py
* Update cache_factory.py
* Update cache_factory.py
* Update cache.py
* Update cosmos_db_cache.py
* Update cache.py
* Update cache.py
* Update cache_factory.py
* Update cache.py
* Update cache_factory.py
* Update cosmos_db_cache.py
* Update cache.py
* Update cache_factory.py
* Update cosmos_db_cache.py
* Update cache.py
* Update cache_factory.py
* Update cosmos_db_cache.py
* Update test_cache.py
* Update test_cache.py
* Update test_cache.py
* Update cache.py
* Update cache.py
* Update cache_factory.py
* Update cache.py
* Update cache_factory.py
* Update test_cache.py
* Update test_cache.py
* Update cache.py
* Update cache.py
* Update test_cache.py
* Update cache.py
* Update cache.py
* Update cache_factory.py
* Update cache_factory.py
* Update cache_factory.py
* Update cache_factory.py
* Update cache_factory.py
* Update build.yml
* Update test_cache.py
* Update test_cosmos_db_cache.py
* Update test_cache.py
* Update cache.py
* Update cache_factory.py
* Update cosmos_db_cache.py
* Update test_cache.py
* Update test_cosmos_db_cache.py
* Update test_cache.py
* Update test_cosmos_db_cache.py
* Update build.yml
* Update build.yml
* Update build.yml
* Update build.yml
* Update cache_factory.py
* Update cache.py
* Update cosmos_db_cache.py
* Update cache.py
* Update build.yml
* Update test_cache.py
* Update test_cache.py
* Update test_cache.py
* Update test_cache.py
* Update cache_factory.py
* Update cosmos_db_cache.py
* Update test_cache.py
* Update test_cache.py
* Update test_cache.py
* Update test_cache.py
* Update test_cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update test_cache.py
* Update test_cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update test_cache.py
* Update test_cosmos_db_cache.py
* Update cache.py
* Update cache.py
* Update cache.py
* Update test_cosmos_db_cache.py
* Update test_cosmos_db_cache.py
* Update cache.py
* Update test_cosmos_db_cache.py
* Update cosmos_db_cache.py
* Update cache.py
* Update test_cosmos_db_cache.py
* Update test_cosmos_db_cache.py
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-04-26 15:23:18 +00:00
HRUSHIKESH DOKALA
0d29cfb27e
fix: import fixed ( #2504 )
2024-04-25 20:50:01 +00:00
themataleao
83631b274a
fix typo ( #2497 )
2024-04-25 17:58:38 +00:00
Li Jiang
2a4ccd0622
Fix python not supported in macos ( #2503 )
...
* Fix python 3.8 and 3.9 not supported for macos
* Fix python 3.8 and 3.9 not supported for macos
* Fix format
2024-04-25 14:33:36 +00:00
asandez1
31fe75ad0e
Add support for HTML, CSS and Javascript in LocalCommandLineCodeExecutor with Mapping executor/saver #2303 ( #2464 )
...
* Add support for HTML, CSS and Javascript in LocalCommandLineCodeExecutor
* init branch
* init branch
* feat: test code execution added
* fix: test update
* fix: test
* fix: policy test
* feat: default policy
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-04-24 01:21:24 +00:00
Eduardo Salinas
ebde196d6b
feat: add event logging api and more tracing ( #2478 )
...
* feat: add event logging api and more tracing
* code fmt shenanigans
* fixup
* Update test_agent_logging.py
* Update test_agent_logging.py
* Update test_agent_logging.py
* Update sqlite_logger.py
* Update test_agent_logging.py
* Update sqlite_logger.py
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-04-23 22:27:47 +00:00
Ian
a41182a93f
Support openai assistant v2 API ( #2466 )
...
* adapted to openai assistant v2 api
* fix comments
* format code
* fix ci
* Update autogen/agentchat/contrib/gpt_assistant_agent.py
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-04-23 17:26:06 +00:00
Xiaoyun Zhang
2daae42708
enable lfs support in dotnet workflow ( #2483 )
...
* enable lfs support in dotnet workflow
* Update dotnet-release.yml
* Update dotnet-build.yml
2024-04-23 17:25:11 +00:00
Wael Karkoub
7f1a810630
Adds Message History to a `ConversableAgent` ( #2437 )
...
* updates docstr + fix spelling
* fix docstr
* maybe a lfs fix?
* Revert "maybe a lfs fix?"
This reverts commit 2ea2dade26
.
* revert
* rename arg to chat_messages
* minor fix
2024-04-22 21:44:43 +00:00
luxuncang
4e13f22cbf
Make the port number optional in JupyterConnectionInfo() ( #2473 )
...
* fix: JupyterConnectionInfo port type
* fix: jupyter_client base_url
* fix: JupyterConnectionInfo
2024-04-22 21:43:09 +00:00
Li Jiang
b7366b570f
Update RetrieveChat extra dependencies ( #2449 )
2024-04-20 18:32:57 +00:00
Audel Rouhi
ded2d612c3
[Re-Opened] Support for PGVector Database in Autogen ( #2439 )
...
* PGVector Contrib Initial Commit - KnucklesTeam:autogen:pgvector_contrib fork
* Update website/docs/ecosystem/pgvector.md
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Updated qdrant installation instructions.
* Fixed openai version.
* Added dependencies to install for qdrant and pgvector in contrib tests.
* Added dependencies to install for qdrant and pgvector in contrib tests.
* Cleaned up dependencies.
* Removed flaml out of setup.py. Used only for notebook example.
* Added PGVector notebook link
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-04-18 20:00:03 +00:00
olgavrou
d5e30e09e8
print the response in the warning ( #2438 )
2024-04-18 18:17:09 +00:00
Eric Zhu
4c7107c328
Use latest APIs for tool use, code execution and cache in topic pages ( #2071 )
...
* Use code executors and cache in docs.
* Update topic pages
* clean up imports
* update notebook
* Update notebooks
* format
* format
* Update links
* revert notebook
* update
* format
---------
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
2024-04-18 16:55:42 +00:00
Eric Zhu
9f281dad75
Add Git LFS check action, fix broken lfs files ( #2436 )
...
* Add images to lfs.
* Add github action for lfs check.
2024-04-18 16:50:15 +00:00
Chi Wang
6636689cb9
speed up notebook in CI and fix CI failures ( #2427 )
...
* speed up notebook in CI
* improve notebook
* comment about filter
* bug fix for summary
* bump version to 0.2.26
* restrict openai version
* news update
* add tags in example
2024-04-18 16:43:34 +00:00
saberuster
442c10bd7b
support openai 'sk-proj-' apikey format ( #2426 )
...
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-04-18 15:58:37 +00:00
Eric Zhu
2df0f39b00
Update the auto_feedback_from_code_execution notebook to use code executor ( #2366 )
...
* Use code executors in notebook.
* Add custom code executor guide
* Add to gitignore
* Update
* fix links
* link
* typo
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-04-18 07:53:19 +00:00
Shobhit Vishnoi
8033fc6228
initate chats enhancement ( #2404 )
...
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-04-18 06:20:48 +00:00
Chi Wang
d307818dd9
improve test speed ( #2406 )
...
* improve test speed
* speed up test
* speed up test
2024-04-17 20:10:18 +00:00
Eric Zhu
297904f210
Add link to PromptFlow Sample App ( #2418 )
...
* Update promptflow.md
* Update promptflow.md
2024-04-17 16:53:19 +00:00
Sunil Sattiraju
ba2cd4ed13
add promptflow example ( #2369 )
...
* add promptflow example
* add promptflow example
* add newline and sort imports
* add newline and sort imports
* sort imports
* fix format errors
* update readme
* add ecosystem docs
* update broken link
* update broken link
* removing link to samples folder
* update readme
2024-04-17 16:13:24 +00:00
HRUSHIKESH DOKALA
beb1d03ae9
Update type hints for improved readability and maintainability ( #2408 )
2024-04-17 16:12:34 +00:00
Eric Zhu
3c266c5c01
Fix function call notebook to make sure title is displayed. ( #2403 )
...
* Fix function call notebook to make sure title is displayed.
* Fix formatting
* formatting
2024-04-17 14:02:10 +00:00
Li Jiang
c4e570393d
Support setting vector_db as a param ( #2313 )
...
* Added vectordb base and chromadb
* Remove timer and unused functions
* Added filter by distance
* Added test utils
* Fix format
* Fix type hint of dict
* Rename test
* Add test chromadb
* Fix test no chromadb
* Add coverage
* Don't skip test vectordb utils
* Add types
* Fix tests
* Fix docs build error
* Add types to base
* Update base
* Update utils
* Update chromadb
* Add get_docs_by_ids
* Improve docstring
* Update init params
* Update init vector db
* Add get all docs
* Move chroma_results_to_query_results to utils
* Add init vectordb
* Convert format of results for old version
* Improve type hints
* Update get_context for new query results format
* Fix typo
* Improve init db
* Update default folder
* Update logger
* Update init, add embedding func
* Update distance_threshold
* Fix logger name
* Update qdrant
* Fix init db
* Update notebooks
* Use kwargs to improve readability
* Improve docstring of vectordb, add two attributes
* Add db_config
* Update gitignore
* Update comments
* Add source
* Fix file downloaded from urls have the same name
* Remove files added by mistake
* Improve docstring
* Update docstring
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Update docstring
* Update docstring
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-04-17 08:30:05 +00:00