Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed Nov 10, 2024
1 parent 64b6570 commit 484824f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ provided by Jinja, Banks supports the following ones, specific for prompt engine
show_signature_annotations: false
heading_level: 3

::: banks.filters.image.image
options:
show_root_full_path: false
show_symbol_type_heading: false
show_signature_annotations: false
heading_level: 3

::: banks.filters.lemmatize.lemmatize
options:
show_root_full_path: false
Expand Down
2 changes: 1 addition & 1 deletion src/banks/filters/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def _is_url(string: str) -> bool:


def image(value: str) -> str:
"""Wrap the filtered value into a ContentBlock with the proper cache_control field set.
"""Wrap the filtered value into a ContentBlock of type image.
The resulting ChatMessage will have the field `content` populated with a list of ContentBlock objects.
Expand Down

0 comments on commit 484824f

Please sign in to comment.