* 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>
* 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>
* fix the problem config_list_from_dotenv() can't correctly get other params
* Update openai_utils.py
---------
Co-authored-by: Aaron <aaronlaptop12@hotmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Prints the version of AutoGenBench from the command line, closing i1458
* Added autogenbench version to timestamp.txt
* Attempting to fix formatting.
* Add a gitignore for autogenbench
* Generalize to read all template dirs from Templates
* AutoGenBench logs telemetry when available.
* Remove spaces if present from template names.
* Bump version.
* Fixed formatting.
* Allow native warning to be skipped. Mount autogen repo in Docker if it can be found (experimental).
* Native execution now occurs in a venv.
* Bump version.
* Fixed a prompt escaping bug evident in GAIA task '6f37996b-2ac7-44b0-8e68-6d28256631b4'
* Updated all scenarios to use template discovery.
* Update with main version of runtime_logging.
* Better handling of Ctrl-C and cleanup of unused containers.
* Even stronger hinting that containers should be removed.
---------
Co-authored-by: gagb <gagb@users.noreply.github.com>
* fixed get_stream in new thread by introducing a global default
* fixed get_stream in new thread by introducing a global default
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* 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>
* Search directory for list of actors using regex '.*' gets all actors
* docs changes
* pre-commit fixes
* Use ActorInfo from protobuf
* pre-commit
* Added zmq tests to work on removing sleeps
* minor refactor of zmq tests
* 1) Change DirSvr to user Broker. 2) Add req-router to broker 3) In ActorConnector use handshake and req/resp to remove sleep
* 1) Change DirSvr to user Broker. 2) Add req-router to broker 3) In ActorConnector use handshake and req/resp to remove sleep
* move socket creation to thread with recv
* move socket creation to thread with recv
* Better logging for DirectorySvc
* better logging for directory svc
* Use logging config
* Start removing sleeps
* pre-commit
* Cleanup monitor socket
* Introducing IOStream
* bug fixing
* polishing
* refactoring
* refactoring
* refactoring
* wip: async tests
* websockets added
* wip
* merge with main
* notebook added
* FastAPI example added
* wip
* merge
* getter/setter to iostream added
* website/blog/2024-03-03-AutoGen-Update/img/dalle_gpt4v.png: convert to Git LFS
* website/blog/2024-03-03-AutoGen-Update/img/gaia.png: convert to Git LFS
* website/blog/2024-03-03-AutoGen-Update/img/teach.png: convert to Git LFS
* add SSL support
* wip
* wip
* exception handling added to on_connect()
* refactoring: default iostream is being set in a context manager
* test fix
* polishing
* polishing
* polishing
* fixed bug with new thread
* polishing
* a bit of refactoring and docs added
* notebook added to docs
* type checking added to CI
* CI fix
* CI fix
* CI fix
* polishing
* obsolete todo comment removed
* fixed precommit error
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* tried implementing my own regex
* improves tests
* finally works
* removes prints
* fixed test
* adds start and end
* delete unused imports
* refactored to use new tool
* significantly improved algo
* tag content -> tag attr
* fix tests + adds new field
* return full match
* return remove start and end
* update docstrings
* update docstrings
* update docstrings
---------
Co-authored-by: Beibin Li <BeibinLi@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* context to kwargs
* add tag
* add test
* text to kwargs
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Add vision capability
* Configurate: description_prompt
* Print warning instead of raising issues for type
* Skip vision capability test if dependencies not installed
* Append "vision" to agent's system message when enabled VisionCapability
* GPT-4V notebook update with ConversableAgent
* Clean GPT-4V notebook
* Add vision capability test to workflow
* Lint import
* Update system message for vision capability
* Add a `custom_caption_func` to VisionCapability
* Add custom function example for vision capability
* Skip test Vision capability custom func
* GPT-4V notebook metadata to website
* Remove redundant files
* The custom caption function takes more inputs now
* Add a more complex example of custom caption func
* Remove trailing space
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* 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>
* Add mypy check in pre-commit
* Add mypy check in pre-commit
* bug fix
* CI fix
* add python version matrix for checking types in CI
* update github actions
* revert some accidental changes
* revert some accidental changes
* revert some accidental changes
* revert some accidental changes
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>