Skip to content

Commit 0b40db9

Browse files
aelisseecopybara-github
authored andcommitted
adds the live illustrator agent that creates illustration from a live conversation.
PiperOrigin-RevId: 882474630
1 parent f022f91 commit 0b40db9

23 files changed

Lines changed: 1652 additions & 11 deletions

README.pypi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Explore the [examples/](examples/) directory for practical demonstrations:
135135
* [Research Agent Example](examples/research/README.md) - a research agent
136136
built with Processors, comprising 3 sub-processors, chaining, creating
137137
`ProcessorPart`s, etc.
138-
* [Live Commentary Example](examples/live/README.md) - a description of a live
138+
* [Live Commentary Example](examples/live_commentator/README.md) - a description of a live
139139
commentary agent built with the
140140
[Gemini Live API](https://ai.google.dev/gemini-api/docs/live), composed of
141141
two agents: one for event detection and one for managing the conversation.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
This page is taken from the
2-
[examples/live/](https://github.com/google-gemini/genai-processors/blob/main/examples/live/)
2+
[examples/live/](https://github.com/google-gemini/genai-processors/blob/main/examples/live_commentator/)
33
directory and refers to the code there.
44

5-
{% include-markdown "../../../examples/live/README.md" %}
5+
{% include-markdown "../../../examples/live_commentator/README.md" %}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
This page is taken from the
2+
[examples/live/](https://github.com/google-gemini/genai-processors/blob/main/examples/live_illustrator/)
3+
directory and refers to the code there.
4+
5+
{% include-markdown "../../../examples/live_illustrator/README.md" %}

documentation/docs/rapid-prototyping/ai-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if __name__ == '__main__':
4545
```
4646

4747
See the
48-
[`live commentator code`](https://github.com/google-gemini/genai-processors/blob/main/examples/live/commentator_ais.py)
48+
[`live commentator code`](https://github.com/google-gemini/genai-processors/blob/main/examples/live_commentator/commentator_ais.py)
4949
for a complete example.
5050

5151
## The AI Studio Applet Frontend
@@ -69,7 +69,7 @@ The client-side JavaScript typically performs these tasks:
6969
3. Receive outputs from the server and update the UI.
7070

7171
See the
72-
[`live commentator applet`](https://github.com/google-gemini/genai-processors/blob/main/examples/live/ais_app/)
72+
[`live commentator applet`](https://github.com/google-gemini/genai-processors/blob/main/examples/live_commentator/ais_app/)
7373
for a full example of an applet.
7474

7575
## Communication Protocol

documentation/mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ nav:
7777
- CLI: examples/cli.md
7878
- Research Agent: examples/research_agent.md
7979
- Live commentator: examples/live_commentator.md
80+
- Live Illustrator: examples/live_illustrator.md
8081
- Widgets: examples/widgets.md
8182
- Tutorials (colabs):
8283
- Content API: https://colab.sandbox.google.com/github/google-gemini/genai-processors/blob/main/notebooks/content_api_intro.ipynb

examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ We recommend checking the following CLI examples first:
3535
Sub-directories include more complex agents like
3636
[Research](https://github.com/google-gemini/genai-processors/blob/main/examples/research/README.md)
3737
(deep research agent) or
38-
[Commentator](https://github.com/google-gemini/genai-processors/blob/main/examples/live/README.md)
38+
[Commentator](https://github.com/google-gemini/genai-processors/blob/main/examples/live_commentator/README.md)
3939
(live commentator on a video feed including an interruption mechanism). Check
4040
the README files in these subdirectories to get an in-depth description of how
4141
they work and how they were built.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
# ==============================================================================
15-
"""Examples of processors built from the Live API."""
15+
"""Live commentator example."""
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)