mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-21 15:12:26 +02:00
+2








3055c4b9cc
Main changes made: - Add top level horizontal tabs - Reorganize the sidenav - Build out README/index page - Consolidate how-tos under each section - Remove duplicate content --------- Signed-off-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com> Co-authored-by: Tat Dat Duong <david@duong.cz> Co-authored-by: Sydney Runkle <sydneymarierunkle@gmail.com> Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com> Co-authored-by: Vadym Barda <vadym@langchain.dev> Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com> Co-authored-by: ccurme <chester.curme@gmail.com> Co-authored-by: Andrew Nguonly <andrewnguonly@users.noreply.github.com> Co-authored-by: David Asamu <david.asamu@langchain.dev> Co-authored-by: infra <mukil@langchain.dev> Co-authored-by: Arjun Natarajan <arjun@langchain.dev>
51 lines
1.1 KiB
Django/Jinja
51 lines
1.1 KiB
Django/Jinja
{% extends 'markdown/index.md.j2' %}
|
|
|
|
{% block input %}{# cell.metadata.language is an addition of our docs pipeline. #}
|
|
```{%- if 'language' in cell.metadata -%}
|
|
{{ cell.metadata.language }}
|
|
{%- elif 'magics_language' in cell.metadata -%}
|
|
{{ cell.metadata.magics_language }}
|
|
{%- elif 'name' in nb.metadata.get('language_info', {}) -%}
|
|
{{ nb.metadata.language_info.name }}
|
|
{%- endif %}
|
|
{{ cell.source }}
|
|
```
|
|
{% endblock input %}
|
|
|
|
|
|
{%- block traceback_line -%}
|
|
```output
|
|
{{ line.rstrip() | strip_ansi }}
|
|
```
|
|
{%- endblock traceback_line -%}
|
|
|
|
{%- block stream -%}
|
|
```output
|
|
{{ output.text.rstrip() | strip_ansi }}
|
|
```
|
|
{%- endblock stream -%}
|
|
|
|
{%- block data_text scoped -%}
|
|
```output
|
|
{{ output.data['text/plain'].rstrip() | strip_ansi }}
|
|
```
|
|
{%- endblock data_text -%}
|
|
|
|
{%- block data_html scoped -%}
|
|
```html
|
|
{{ output.data['text/html'] | safe }}
|
|
```
|
|
{%- endblock data_html -%}
|
|
|
|
{%- block data_jpg scoped -%}
|
|
<p>
|
|
<img src="data:image/jpg;base64,{{ output.data['image/jpeg'] }}" />
|
|
</p>
|
|
{%- endblock data_jpg -%}
|
|
|
|
{%- block data_png scoped -%}
|
|
<p>
|
|
<img src="data:image/png;base64,{{ output.data['image/png'] }}" />
|
|
</p>
|
|
{%- endblock data_png -%}
|