From 34a0135e08f57fc8ef91e1cdf545d2acb3950035 Mon Sep 17 00:00:00 2001 From: Scott Lundberg Date: Thu, 14 Dec 2023 15:07:13 -0800 Subject: [PATCH] Update README.md --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a3e0f349f..134feab6c 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,22 @@ with user(): with assistant(): lm += gen("fact") ``` -image +image
+ +14. **Multi-model support.** +```python +from guidance import image + +gemini = models.VertexAI("gemini-pro-vision") + +with user(): + lm = gemini + "What is this a picture of?" + image("longs_peak.jpg") + +with assistant(): + lm += gen("answer") +``` +image + ## Table of Contents