* Update LLM Caching link in Optional-Dependencies.md
Fix link to direct to the current location of the LLM Caching doc
* Update Optional-Dependencies.md
---------
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
* Add support for tool calling cohere
* update tool calling code
* make client name configurable with default
* formatting nits
* update docs
---------
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
* Initial commit with ability to add name into content with a transform
* Transforms documentation
* Fix transform links in documentation
---------
Co-authored-by: Li Jiang <bnujli@gmail.com>
* intial commit for aws-bedrock
* format
* converse setup for model req-response
* Renamed to bedrock.py, updated parameter parsing, system message extraction, client class incorporation
* Established Bedrock class based on @astroalek and @ChristianT's code, added ability to disable system prompt separation
* Image parsing and removing access credential checks
* Added tests, added additional parameter support
* Amazon Bedrock documentation
* Moved client parameters to init, align parameter names with Anthropic, spelling fix, remove unnecessary imports, use base and additional parameters, update documentation
* Tidy up comments
* Minor typo fix
* Correct comment re aws_region
---------
Co-authored-by: Mark Sze <mark@sze.family>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
This pull request includes a minor update to the agent_chat.md file to correct the link to the Enhanced Inference.
Co-authored-by: gagb <gagb@users.noreply.github.com>
* Initial commit with ability to add transforms to GroupChat
* Added tests
* Tidy up
* Tidy up of variable names and commented out test
* Tidy up comment
* Update import to relative
* Added documentation topic for transform messages for speaker selection.
* Added handling of non-core module, transforms, in groupchat
* Adjusted parameter if module not loaded.
* Updated groupchat test which failed during CI/CD
---------
Co-authored-by: Li Jiang <bnujli@gmail.com>
* add openai-gemini example
* fix exec numbering
* improve isntructions
* fix br tag
* mention roles/aiplatform.user and fix markdown reference
* remove mentioning the editor role, and only use the Vertex AI User role
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Remove deps on RetrieveAssistantAgent for getting human input
* Terminate when no more context
* Add deprecation warning message
* Clean up RetrieveAssistantAgent, part 1
* Update version
* Clean up docs and notebooks
* fix: message history limiter to support tool calls
* add: pytest and docs for message history limiter for tool calls
* Added keep_first_message for HistoryLimiter transform
* Update to inbetween to between
* Updated keep_first_message to non-optional, logic for history limiter
* Update transforms.py
* Update test_transforms to match utils introduction, add keep_first_message testing
* Update test_transforms.py for pre-commit checks
---------
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Document the usage of the AAD auth. #2880
Added the document for the usage of AAD !
* Update website/docs/topics/llm_configuration.ipynb
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
* Updated Location and Link to Azure OpenAI documentation
* Update AutoTX Link on Gallery.json (#3082)
Co-Authored-By: Qingyun Wu <qingyun0327@gmail.com>
Co-Authored-By: Yiran Wu <32823396+yiranwu0@users.noreply.github.com>
Co-Authored-By: Chi Wang <wang.chi@microsoft.com>
* Making the required changes
Updated function description and parameter description as well. Also, created the corresponding cs file for the t4 file. And created the new test case and updated the checks as well.
* Revert "Making the required changes"
By mistake
* Update llm_configuration.ipynb
---------
Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: Yiran Wu <32823396+yiranwu0@users.noreply.github.com>
* Recreated documentation for Local LLMs - LiteLLM and Ollama
* Added Docker = False for code execution example
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* fix broken reference links that's pointing to a page that doesn't exists
* Fix 2 broken links and use the correct format
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* switch to officially supported Vertex AI message sending + safety setting converion for vertexai
* add system instructions
* switch to officially supported Vertex AI message sending + safety setting converion for vertexai
* fix bug in safety settings conversion
* add missing system instructions
* add safety settings to send message
* add support for credentials objects
* add type checkingchange project_id to project arg
* add more tests
* fix mock creation in test
* extend docstring
* fix errors with gemini message format in chats
* add option for vertexai response validation setting & improve docstring
* readding empty message handling
* add more tests
* extend and improve gemini vertexai jupyter notebook
* rename project arg to project_id and GOOGLE_API_KEY env var to GOOGLE_GEMINI_API_KEY
* adjust docstring formatting
* add notebook for using Gemini with VertexAI
* add missing image
* remove part with workload identity federation
* Spelling
* Capitalisation and tweak on config note.
* autogen gemini gcp image
* fix formatting
* move gemini vertexai notebook to website/docs/topics/non-openai-models
* Adjust license
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* remove auto-generated cell
---------
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* First pass together.ai client class
* Config handling, models and cost
* Added tests, moved param management to create function
* Tests, parameter, validation, logging updates
* Added use of client_utils PR 2949
* Updated to return OAI response
* Notebook example
* Improved function calling, updated tests, updated notebook with Chess example
* Tidied up together client class, better parameter handling, simpler exception capture, warning for no cost, reuse in tests, cleaner tests
* Update of documentation notebook, replacement of old version
* Fix of messages parameter for hide_tools function call
* Update autogen/oai/together.py
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
* Update together.py to fix text
---------
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: Yiran Wu <32823396+yiranwu0@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* add claude 3.5 sonnet to pricing
* Fix import error for client_utils
* fix import order for ruff formatter
* name key is not supported in anthropic message so let's remove it
* Improved tool use message conversion, changed create to return standard response
* Converted tools to messages for speaker selection, moved message conversion to function, corrected bugs
* Minor bracket typo.
* Renaming function
* add groupchat and run notebook
---------
Co-authored-by: Mark Sze <mark@sze.family>
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
* Initial commit of Mistral client class
* Updated to manage final system message for reflection_with_llm
* Add Mistral support to client class
* Add Mistral support across the board (based on Gemini changes)
* Test file for Mistral client
* Updated handling of config, added notebook for documentation
* Added support for additional API parameters
* Remove unneeded code, updated exception raising
* Updated handling of keywords, including type checks, defaults, warnings. Updated notebook example to remove logging warnings.
* Added class description.
* Updated tests to support new config handling.
* Moved parameter parsing to create function, minimised init, added parameter tests
* Refined parameter validation
* Correct spacing
* Fixed string concat in parameter validation
* Corrected upper/lower bound warning
* Use client_tools, tidy up Mistral create, better handle tool call response, tidy tests
* Update of documentation notebook, replacement of old version
* Update to handle multiple tool_call recommendations in a message
* Updated tests to accommodate multiple tool_calls as well as content in message
* Update autogen/oai/mistral.py comment
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
* cleanup, rewrite mock
* update
---------
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: kevin666aa <yrwu000627@gmail.com>
* intial setup for the anthropic client with cost config
* update: other methods added
* fix: formatting
* fix: config unused
* update: changes made in the client
* update: test added to the workflow
* update: added tests to the anthropic client
* fix: errors in workflows and client
* fix
* fix: anthropic tools type
* update: notebook anthropic
* Nonetype fixed
* fix-tests config
* update: tests and client issues
* logger support
* remove sys path
* updated the functioning of the client
* update: type hints and stream
* skip tests- importerror
* fix: anthropic client and tests
* none fix
* Alternating roles, parameter keywords, cost on response,
* update: anthropic notebook
* update: notebook with more details
* devcontainer
* update: added validate_params from the client_utils
* fix: formatting
* fix: minor comment
---------
Co-authored-by: Mark Sze <mark@sze.family>