* init notebook
* move notebook to website, remove set your api section
* add link to claude page
* replace config_from_json of raw python config
* update cost
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Executing this code (Python 3.11, MacOS) returns error
`TypeError: listdir: path should be string, bytes, os.PathLike, integer or None, not TemporaryDirectory`
Using the string name of the dir works better.
* 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>
* 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>
* 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>
* 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>