19 Commits

Author SHA1 Message Date
siddharth Sambharia
5f87b2802f
Portkey Integration with Autogen (#3395)
* Portkey Integration with Autogen

* Update website/docs/ecosystem/portkey.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

* Update website/docs/ecosystem/portkey.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

* Update website/docs/ecosystem/portkey.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

* Update website/docs/ecosystem/portkey.md

* Update website/docs/ecosystem/portkey.md

* Update website/docs/ecosystem/portkey.md

* Update website/docs/ecosystem/portkey.md

* Update website/docs/ecosystem/portkey.md

* Update portkey.md with changes

* Update website/docs/ecosystem/portkey.md

Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>

* Remove trailing white spaces

* Update portkey.md with mark's note

* remove trailing white spaces line 15 and empty line at end

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-09-09 05:36:48 +00:00
Dev Khant
70a17919c7
Ecosystem Mem0: change title (#3492)
* Ecosyste Mem0: change title

* Update website/docs/ecosystem/mem0.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-09-08 21:46:39 +00:00
Dev Khant
1ff477fefb
Integrate Mem0 for providing long-term memory for AI Agents (#3389)
* Add Mem0 docs

* add notebook link

* add notebook

* formatting

* formatting fix

* resolve comments

* writeup for mem0

---------

Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Aristo <6344553+randombet@users.noreply.github.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-09-06 00:07:06 +00:00
Li Jiang
6ef5c3027d
Update qdrant notebook for new qdrant vectordb (#3140)
* Add qdrant notebook, rename notebooks

* Revert changes of pgvector notebook

* Fix assertion error
2024-07-16 06:44:48 +00:00
William W Wang
f211994331
Update azure_cosmos_db.md (#3043) 2024-07-04 15:16:29 +00:00
William W Wang
5fd2609191
Create azure_cosmos_db in ecosystems.md (#2371)
* Create azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md

* Update azure_cosmos_db.md
2024-06-27 23:34:10 +00:00
Alex Reibman
9b92093b00
LLM Observability documentation fixes: Broken links, grammar, and spelling (#2995)
* update markdown hyperlinks to stable urls

* update notebook images and text

* re-write observability section

* Updated section

* update wording

* added newline

* update styling in image tags to be jsx compatible

* added text

* update link

* simplified text

---------

Co-authored-by: Braelyn Boynton <bboynton97@gmail.com>
2024-06-22 03:05:11 +00:00
Braelyn Boynton
85ad929f34
AgentOps Runtime Logging Implementation (#2682)
* add agentops req

* track conversable agents with agentops

* track tool usage

* track message sending

* remove record from parent

* remove record

* simple example

* notebook example

* remove spacing change

* optional dependency

* documentation

* remove extra import

* optional import

* record if agentops

* if agentops

* wrap function auto name

* install agentops before notebook test

* documentation fixes

* notebook metadata

* notebook metadata

* pre-commit hook changes

* doc link fixes

* git lfs

* autogen tag

* bump agentops version

* log tool events

* notebook fixes

* docs

* formatting

* Updated ecosystem manual

* Update notebook for clarity

* cleaned up notebook

* updated precommit recommendations

* Fixed links to screenshots and examples

* removed unused files

* changed notebook hyperlink

* update docusaurus link path

* reverted setup.py

* change setup again

* undo changes

* revert conversable agent

* removed file not in branch

* Updated notebook to look nicer

* change letter

* revert setup

* revert setup again

* change ref link

* change reflink

* remove optional dependency

* removed duplicated section

* Addressed clarity commetns from howard

* minor updates to wording

* formatting and pr fixes

* added info markdown cell

* better docs

* notebook

* observability docs

* pre-commit fixes

* example images in notebook

* example images in docs

* example images in docs

* delete agentops ong

* doc updates

* docs updates

* docs updates

* use agent as extra_kwarg

* add logging tests

* pass function properly

* create table

* dummy function name

* log chat completion source name

* safe serialize

* test fixes

* formatting

* type checks

---------

Co-authored-by: reibs <areibman@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Howard Gil <howardbgil@gmail.com>
Co-authored-by: Alex Reibman <meta.alex.r@gmail.com>
2024-06-07 06:01:03 +00:00
Diego Colombo
6e8331b754
Add llamaindex agent integration (#2831)
* white spaces

* add llamaindex agent wrapper for autogen

* formatting

* formatting fixes

* add support for llamaindex agents

* fix style

* fix style

* delete file

* re-add file

* fixes pre-commit errors

* feat: Add agentchat_group_chat_with_llamaindex_agents notebook

This commit adds the notebook "agentchat_group_chat_with_llamaindex_agents.ipynb" which demonstrates how to integrate Llamaindex agents into Autogen. The notebook includes code for setting up the API endpoint, creating Llamaindex agents, and setting up a group chat.

* Refactor code

* feat: Add test for LLamaIndexConversableAgent

This commit adds a new test file `test_llamaindex_conversable_agent.py` that contains a test case for the `LLamaIndexConversableAgent` class. The test verifies the functionality of group chat with two MultimodalConversable Agents, limiting the chat by the `max_round` parameter. It also checks if the number of rounds does not exceed the maximum specified rounds.

The purpose of this change is to ensure that the `LLamaIndexConversableAgent` behaves as expected and correctly handles group chats with limited rounds.

Note: This commit includes import statements and setup code necessary for running the test case.

* fix formatting

* feat: Add LlamaIndexAgent job to GitHub Actions workflow

This commit adds a new job called "LlamaIndexAgent" to the GitHub Actions workflow. The job runs on multiple operating systems (ubuntu-latest, macos-latest, windows-2019) and uses Python version 3.11. It sets up the Python environment, installs necessary packages and dependencies for LMM, performs coverage testing using pytest, and uploads the coverage report to Codecov.

The commit also includes changes to the test_llamaindex_conversable_agent.py file. It imports os and sys modules, appends a path to sys.path, and adds skip conditions for tests based on certain conditions.

These changes improve the CI/CD pipeline by adding a new job for LlamaIndexAgent and enhancing test conditions in test_llamaindex_conversable_agent.py.

* fix test yaml

* cleanup tests

* fix test run

* formatting

* add test

* fix yaml

* pr feedback

* add documentation to website

* fixed style

* edit to document page

* newline

* make skip reason easier to see

* compose skip reasons

* fix env variable name

* refactor: Update package installation in contrib workflows

- Replaced specific package installations with more general ones
- Updated the installation of llama-index packages and dependencies
- Added new packages for llama-index and Wikipedia tools

* Update dependencies and add new agents for group chat

- Update dependencies to specific versions
- Add new agent `entertainent_specialist` for discovering entertainment opportunities in a location
- Modify the `test_group_chat_with_llama_index_conversable_agent` function to include the new agent in the group chat

* Update pydantic version requirement in setup.py

- Update pydantic version requirement from "pydantic>=1.10,<3,!=2.6.0" to "pydantic>=1.10,<3"
- Remove comment about issue with pydantic 2.6.0

* Refactor ChatMessage instantiation in _extract_message_and_history()

- Refactored the instantiation of ChatMessage in the _extract_message_and_history() function.
- Added an empty dictionary as additional_kwargs to the ChatMessage constructor.

* Refactor test_llamaindex_conversable_agent.py

- Removed unused import and variable
- Updated OpenAI model to gpt-4
- Reduced max_iterations for location_specialist and entertainment_specialist from 30 to 5
- Changed human_input_mode for user_proxy to "NEVER"
- Added assertion for max_rounds in entertainent_assistant

These changes improve code efficiency and ensure proper functionality.

* Remove entertainment_specialist agent and update user_proxy settings in test_llamaindex_conversable_agent.py

- Remove the creation of entertainent_specialist agent
- Update the max_consecutive_auto_reply setting for user_proxy to 10
- Update the default_auto_reply setting for user_proxy to "Thank you. TERMINATE"

* Refactor installation of LlamaIndex packages and dependencies

- Simplify installation commands for LlamaIndex packages
- Remove specific version numbers from pip install commands

* Update test_llamaindex_conversable_agent.py to include verbose output during pytest.

- Add the -v flag to the pytest command in contrib-openai.yml.
- Print a message when skipping the test due to missing dependencies or key.

* Refactor OpenAI workflow, remove LlamaIndexAgent

This commit removes the LlamaIndexAgent from the OpenAI workflow in order to streamline and simplify the code. The LlamaIndexAgent was no longer necessary and its removal improves overall code organization and maintainability.

* feat: Add test for group chat functionality with LLamaIndexConversableAgent

use mock reactagent in test

* Update Dockerfile for devcontainer

- Updated the Dockerfile for the devcontainer environment.
- Added installation of build-essential, npm, git-lfs, and other packages.
- Upgraded pip and installed pydoc-markdown, pyyaml, and colored libraries.

* Update devcontainer.json with new VS Code extensions and terminal settings

- Updated the list of VS Code extensions in devcontainer.json to include "GitHub.copilot"
- Added a new terminal profile for Linux with the path set to "/bin/bash"
- Set the default Linux terminal profile to "bash"

* removeall

* feat: Add Dockerfiles and devcontainer configurations

This commit adds Dockerfiles and devcontainer configurations for different use cases in the `.devcontainer` directory. The following changes were made:

- Added `Dockerfile` for basic setups (`base`)
- Added `Dockerfile` for advanced features (`full`)
- Added `Dockerfile` for AutoGen project developers (`dev`)
- Added `Dockerfile` for AutoGen project developers using Studio (`studio`)
- Updated existing files with necessary dependencies and configurations
- Modified README.md to provide instructions on customizing Dockerfiles and managing the Docker environment

These changes allow users to easily set up their AutoGen development environment using Docker containers.

* delete

* Add authors.yml file with author information

This commit adds the authors.yml file, which contains information about various authors contributing to the project. Each author entry includes their name, title, URL, and image URL. This file will be used to display author information on the website.

* delete

* Add test cases for agent chat functionality

This commit adds new test cases for the agent chat functionality. The test cases include scenarios such as auto feedback from code execution, function calls, currency calculator, async function calls, group chat finite state machine, cost token tracking, and group chat state flow. These test cases cover different versions of Python (3.10, 3.11, and 3.12) and are skipped if OpenAI is not installed or the Python version does not match.

* delete

* feat: Add LLM configuration documentation

This commit adds documentation for configuring an agent's access to LLMs. It includes information on the `llm_config` argument, `config_list`, and other configuration parameters. The commit also provides examples of filtering the `config_list` based on model names and tags. Additionally, it demonstrates how to add an HTTP client in `llm_config` for proxy usage. Finally, it mentions helper functions for loading a config list from API keys, environment variables, files, or `.env` files.

Closes #1234

* delete

* feat: Add LLM configuration documentation

This commit adds documentation for configuring an agent's access to LLMs. It includes information on the `llm_config` argument, `config_list`, and other configuration parameters. The commit also provides examples of filtering the `config_list` based on model names and tags. Additionally, it demonstrates how to add an HTTP client in `llm_config` for proxy usage. Finally, it mentions helper functions for loading a config list from various sources.

Closes #1234

* delete

* adding back notebooks

* reset

* feat: Add setup.py for package installation

This commit adds a new file, `setup.py`, which is used for installing the package. The `setup.py` file includes information such as the author, description, and dependencies of the package. This allows users to easily install and use the package in their projects.

The `setup.py` file also includes different extra requirements for specific functionalities, such as retrieving chat data or running Jupyter notebooks. These extra requirements are installed when specified during installation.

Overall, this addition improves the usability and installation process of the package.
2024-05-31 20:58:15 +00:00
Chi Wang
2abdbfbbcf
fix links and tags from databricks notebook (#2795) 2024-05-26 16:31:18 +00:00
TJ
5a2900124b
DBRX (Databricks LLM) example notebook (#2434)
* Resolving test failures locally

* Resolving test failures locally

* Updates to website resources and docs, author

* Adding image

* Fixes to precommit and doc files for lfd

* Fixing ruff exclusion of new notebook

* Updates to support notebook rendering

* Updates to support notebook rendering

* Removing some results to try to fix docs render issue

* pre-commit to standardize formatting

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-05-25 16:28:46 +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
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
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
Karthikeya Meesala
e513a18ec6
Composio: update text - "Composio Logo" -> "Composio Example" (#2288)
* add composio to ecosystem page

* composio: delete image

* composio: add image

* Update .gitattributes

* Update website/docs/ecosystem/composio.md

* composio: update text

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-04-05 05:54:27 +00:00
Karthikeya Meesala
713cc9f6e6
add composio to ecosystem page (#2272)
* add composio to ecosystem page

* composio: delete image

* composio: add image

* Update .gitattributes

* Update website/docs/ecosystem/composio.md

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-04-04 22:56:06 +00:00
Davor Runje
d970449d5a
added PNG and JPEG files to LFS automatically (#2226) 2024-04-02 05:20:47 +00:00
Jack Gerrits
97923eeed8
Split apart ecosystem page, update sidebar, other website tweaks (#1812)
* Split apart ecosystem page, update sidebar

* fix docs 404

* fix redirect and link

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-02 06:24:56 +00:00