mirror of
https://github.com/microsoft/autogen.git
synced 2026-02-19 05:44:22 -05:00
* 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
Website
This website is built using Docusaurus 3, a modern static website generator.
Prerequisites
To build and test documentation locally, begin by downloading and installing Node.js, and then installing Yarn. On Windows, you can install via the npm package manager (npm) which comes bundled with Node.js:
npm install --global yarn
Installation
pip install pydoc-markdown pyyaml colored
cd website
yarn install
Install Quarto
quarto is used to render notebooks.
Install it here.
Note: Ensure that your
quartoversion is1.5.23or higher.
Local Development
Navigate to the website folder and run:
pydoc-markdown
python ./process_notebooks.py render
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.