524 Commits

Author SHA1 Message Date
Eric Zhu
c63c52adec
Notebook on web scraping with tool use (#2192)
* Add web scrapping notebook

* formatting

* tags

* Update

* update
2024-04-02 14:09:10 +00:00
Davor Runje
d970449d5a
added PNG and JPEG files to LFS automatically (#2226) 2024-04-02 05:20:47 +00:00
Jack Gerrits
a27bda8f2b
Dont include api ref tree in docs sidebar (#2244) 2024-04-01 20:34:27 +00:00
Eric Zhu
6ca478502d
Improving website navigation and help click-through analytics collection (#2205)
* Add changes

* Update
2024-04-01 18:32:41 +00:00
Mark Sze
3f63db32b9
Added ability to specify 'role' field for select speaker messages for Group Chats (Replaces PR #2167) (#2199)
* Re-commit of code from PR (#2167) addressing #1861, due to wrong basing

* Update website/docs/topics/non-openai-models/best-tips-for-nonopenai-models.md

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* Removed unnecessary notebook images

* Update conversation-patterns.ipynb

Updated to include note about being applicable when auto.

* Updated to include checks that the role is not blank/None. Added tests.

* Changed try-except to use pytest

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-31 22:54:17 +00:00
Yifan Zeng
f7952657d2
AutoDefense Blog (#1982)
* AutoDefense Blog

* Update Defense Agency Section

* format update

* Update website/blog/2024-03-11-AutoDefense/Defending LLMs Against Jailbreak Attacks with AutoDefense.mdx

Co-authored-by: Yiran Wu <32823396+kevin666aa@users.noreply.github.com>

* Update website/blog/2024-03-11-AutoDefense/Defending LLMs Against Jailbreak Attacks with AutoDefense.mdx

Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>

* Update website/blog/2024-03-11-AutoDefense/Defending LLMs Against Jailbreak Attacks with AutoDefense.mdx

Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>

* Update website/blog/2024-03-11-AutoDefense/Defending LLMs Against Jailbreak Attacks with AutoDefense.mdx

Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>

* Update website/blog/2024-03-11-AutoDefense/Defending LLMs Against Jailbreak Attacks with AutoDefense.mdx

Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>

* Update website/blog/2024-03-11-AutoDefense/Defending LLMs Against Jailbreak Attacks with AutoDefense.mdx

Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>

* format fix

* rename picture, make it informative. Add a overall sentence to introduce the two experiments.

* Update website/blog/2024-03-11-AutoDefense/Defending LLMs Against Jailbreak Attacks with AutoDefense.mdx

Co-authored-by: Yiran Wu <32823396+kevin666aa@users.noreply.github.com>

* update Further reading, introduction

* update Further reading, introduction

* Update website/blog/2024-03-11-AutoDefense/Defending LLMs Against Jailbreak Attacks with AutoDefense.mdx

Co-authored-by: Yiran Wu <32823396+kevin666aa@users.noreply.github.com>

* Update website/blog/2024-03-11-AutoDefense/Defending LLMs Against Jailbreak Attacks with AutoDefense.mdx

Co-authored-by: Yiran Wu <32823396+kevin666aa@users.noreply.github.com>

* Update website/blog/2024-03-11-AutoDefense/Defending LLMs Against Jailbreak Attacks with AutoDefense.mdx

Co-authored-by: Yiran Wu <32823396+kevin666aa@users.noreply.github.com>

---------

Co-authored-by: Yiran Wu <32823396+kevin666aa@users.noreply.github.com>
Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>
2024-03-30 21:25:55 +00:00
Eric Zhu
8fe54bb834
add clarity analytics (#2201) 2024-03-28 23:26:22 +00:00
dependabot[bot]
f63f0566ec
Bump express from 4.18.2 to 4.19.2 in /website (#2157)
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 17:52:26 +00:00
Jack Gerrits
6fbb9e8274
Add link for rendering notebooks docs on website (#2191) 2024-03-28 15:17:14 +00:00
Jack Gerrits
f467f21ec9
Fix formatting of admonitions in udf docs (#2188) 2024-03-28 13:48:24 +00:00
Shaokun Zhang
dd61eaae43
update (#2178)
Co-authored-by: AnonymousRepoSub <“shaokunzhang529@outlook.com” >
2024-03-28 05:11:20 +00:00
Chi Wang
e6237d44a1
simplify getting-started; update news (#2175)
* simplify getting-started; update news

* bug fix
2024-03-28 03:43:01 +00:00
Jack Gerrits
5ef2dfc104
Implement User Defined Functions for Local CLI Executor (#2102)
* Implement user defined functions feature for local cli exec, add docs

* add tests, update docs

* fixes

* fix test

* add pandas test dep

* install test

* provide template as func

* formatting

* undo change

* address comments

* add test deps

* formatting

* test only in 1 env

* formatting

* remove test for local only

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-27 23:45:17 +00:00
Shaokun Zhang
72994ea127
Integrate AgentOptimizer (#1767)
* draft agent optimizer

* refactor

* remove

* change openai config interface

* notebook

* update blog

* add test

* clean up

* redir

* update

* update interface

* change model name

* move to contrib

* Update autogen/agentchat/contrib/agent_optimizer.py

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

---------

Co-authored-by: “skzhang1” <“shaokunzhang529@gmail.com”>
Co-authored-by: Beibin Li <BeibinLi@users.noreply.github.com>
Co-authored-by: Jieyu Zhang <jieyuz2@cs.washington.edu>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-03-26 20:31:02 +00:00
dependabot[bot]
59a7790578
Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /website (#2131)
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-26 16:59:27 +00:00
Eric Zhu
2bfa181b4d
New conversational chess notebook using nested chats and tool use (#2137)
* add chess notebook

* update

* update

* Update notebook with figure

* Add example link

* redirect

* Clean up example format

* address gagan's comments

* update references

* fix links
2024-03-25 16:24:08 +00:00
Eric Zhu
c8aca8dbf7
Native tool call support for Mistral AI API and topic notebook. (#2135)
* Support for Mistral AI API and topic notebook.

* formatting

* formatting
2024-03-25 14:35:29 +00:00
James
212722cd45
missing jupyter when import JupyterCodeExecutor (#2132) 2024-03-24 05:25:46 +00:00
Eric Zhu
3dfa305acb
Update docs for new executors (#2119)
* Update docs for new executors

* Update website/docs/FAQ.mdx

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

* Update website/docs/FAQ.mdx

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

* Update website/docs/installation/Installation.mdx

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

* Update website/docs/installation/Installation.mdx

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

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-03-23 04:19:54 +00:00
Eric Zhu
01afc9bbe7
Removing tool use from Use-Cases/agent_chat (#2120) 2024-03-23 04:18:17 +00:00
Eric Zhu
a6a7409ac8
Fix link in non-openai model doc (#2106)
* Fix link in non-openai model doc

* Update about-using-nonopenai-models.md
2024-03-21 00:10:42 +00:00
Mark Sze
7739632ef2
[Documentation] Using non-OpenAI models (#2076)
* Addition of Non-OpenAI LLM section and main doc page

* Continued writing...

* Continued writing - cloud-based proxy servers

* Folder renamed

* Further writing

* together.ai example added

* Local proxy server added, diagram added, tidy up

* Added vLLM to local proxy servers documentation

* As per @ekzhu's feedback, individual pages and tidy up

* Added reference to LM Studio and renamed file

* Fixed incorrect huggingface.co link

* Run pre-commit checks, added LM Studio redirect

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-20 20:16:37 +00:00
Eric Zhu
ecc459f8c5
Add tool use chapter to tutorial (#2079)
* Add tool use chapter

* fix format

* typo

* Edits to tool-use chapter

* update

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-03-20 19:31:58 +00:00
Jack Gerrits
6d2c923424
Consolidate separate caching docs (#2054)
* Consolidate separate caching docs

* add pointer for moved

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-03-20 03:40:59 +00:00
veh3546
b2be4059ea
Centers the icons on homepage (#2089)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-20 02:48:12 +00:00
Eric Zhu
5c1579d2ad
Add links to roadmap issues from README, Getting-Started, Contribute and Tutorial (#2072)
* Link to roadmap issues.

* Ordering
2024-03-20 02:04:41 +00:00
Eric Zhu
6745731612
Add LM Studio Example in Topics (#2044)
* add lm studio example

* format

* newline

* Update lm-studio.ipynb

* Update lm-studio.ipynb

* update

* update
2024-03-19 17:56:25 +00:00
Dan
501f8d2272
Fix typo in conversation-patterns.ipynb (#2066) 2024-03-19 03:27:00 +00:00
Jack Gerrits
e342cfcdb7
Add docs about how to use docker for when autogen itself is run in docker (#2052) 2024-03-18 17:13:28 +00:00
Chi Wang
cc836de13d
adjust order of side bars (#2040)
* adjust order of side bars

* doc improvement

* limit max turns

* improve tests

* improve doc

* improve docstr
2024-03-17 22:57:54 +00:00
dependabot[bot]
b4fb3c7999
Bump follow-redirects from 1.15.4 to 1.15.6 in /website (#2035)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-16 20:37:32 +00:00
Qingyun Wu
8844f86525
Allow different senders in nested chat (#2028)
* allow sender in nested chat

* description

* update example list

* doc format

* meta data

* add test
2024-03-15 22:26:45 +00:00
Jack Gerrits
ea2c1b270e
Add another batch of notebooks to the website (#1969)
* Add another batch of notebooks to the website

* update link

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-15 14:30:34 +00:00
Victor Dibia
08ba070936
Update link to AGS repo in AGS blogpost (#2022)
Update link to AGS repo in AGS blogpost
2024-03-14 20:44:28 +00:00
Benhao Huang
462ef9c387
Update chat-termination.ipynb (#2019)
grammar typos found and fixed
2024-03-14 18:09:49 +00:00
Yiran Wu
f78985d359
StateFlow Blog (#1826)
* init PR

* update

* update code check

* update

* update

* update

* update

* update

* Test the ability to have agents a,u,t,o,g,e,n speak in turn.

* update

* update

* update

* Evidence that groupchat not terminating because of the TERMINATE substring.

* Raising NoEligibleSpeakerException allows graceful exit before max turns

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* udpate to comments

* update

* Update website/blog/2024-02-29-StateFlow/index.mdx

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

* update links

* remove unnecessary changes

* Update website/blog/2024-02-29-StateFlow/index.mdx

Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>

* Update website/blog/2024-02-29-StateFlow/index.mdx

Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>

* remove test for custom notebook

* update

* update

---------

Co-authored-by: Joshua Kim <Joshua@spectdata.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>
2024-03-14 15:46:28 +00:00
Qingyun Wu
e1c0423d9a
add RAG under topics (#1990)
* add RAG

* demo

* correct notebook

* Update quarto installation

* Update gitignore

* Update format

* RAG doc

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-03-14 00:49:39 +00:00
Eric Zhu
0ae35815be
Rename tutorial chapter: "what is next" --> "what next" (#1992)
* rename termination to chat termination

* label

* redirect

* Rename "what is next" --> "what next"
2024-03-13 15:47:41 +00:00
Eric Zhu
a120f0ed2b
Redirect from /docs/tutorial/termination to /docs/tutorial/chat-termination (#1991)
* rename termination to chat termination

* label

* redirect
2024-03-13 04:46:30 +00:00
Eric Zhu
33e42c44cb
Rename tutorial chatper "Termination" to "Chat Termination" (#1962)
* rename termination to chat termination

* label
2024-03-12 23:55:08 +00:00
schauppi
34a02f0a42
added new example in gallery.json (#1955)
* added new example in gallery.json

* added image to webagent example

* changed image format from .png to .jpg

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-03-12 23:50:47 +00:00
Qingyun Wu
99df2c5d5e
Examples by topics (#1967)
* add reasoning example

* title

* task decomposition

* update demo with custom speark function

* update

* Add metaprompt

* add notebook to topics

* remove

* remove endpoint setup and collab

* ignore words

* rename

* Update .pre-commit-config.yaml

* codespell

* Updates to formatting and content tweaks

---------

Co-authored-by: kevin666aa <yrwu000627@gmail.com>
Co-authored-by: LeoLjl <3110503618@qq.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-03-12 20:57:32 +00:00
Jack Gerrits
f42021fb9b
Remove lint silencing comment (#1970)
No longer needed
2024-03-12 19:51:03 +00:00
Chi Wang
858cec8de8
bump version to 0.2.19 and update doc (#1971)
* bump version to 0.2.19 and update doc

* doc update
2024-03-12 19:05:00 +00:00
Davor Runje
16955959a3
website/docs/tutorial/assets/conversable-agent.jpg: convert to Git LFS (#1974) 2024-03-12 18:09:54 +00:00
Jack Gerrits
11df53bb39
Make notebooks available in navbar (#1956) 2024-03-11 22:46:39 +00:00
andreyseas
579c3cc466
Fixed simple grammatical mistake (#1952) 2024-03-11 18:07:11 +00:00
Yiran Wu
1ead0ec6e1
update guidance for doc build (#1951) 2024-03-11 17:55:47 +00:00
Jack Gerrits
80233709e1
Move LLM Caching docs to topics (#1950)
* Move LLM Caching docs to topics

* Update llm-caching.md
2024-03-11 17:30:55 +00:00
Benjamin Muskalla
4a85b63216
Fix branch info for docker build (#1935) 2024-03-11 06:40:10 +00:00