Closed LawyZheng closed 3 weeks ago
This PR adds SVG conversion to string descriptions with caching and a new LLM prompt template in the Skyvern project.
Key points:
_convert_svg_to_string
skyvern/forge/agent_functions.py
CacheFactory
LocalCache
skyvern/forge/sdk/cache
svg-convert.j2
skyvern/forge/prompts/skyvern
cleanup_element_tree_func
app.CACHE
skyvern/forge/app.py
Generated with :heart: by ellipsis.dev
Summary:
This PR adds SVG conversion to string descriptions with caching and a new LLM prompt template in the Skyvern project.
Key points:
_convert_svg_to_string
inskyvern/forge/agent_functions.py
to convert SVG elements to string descriptions.CacheFactory
andLocalCache
inskyvern/forge/sdk/cache
.svg-convert.j2
template inskyvern/forge/prompts/skyvern
for LLM to interpret SVG elements.cleanup_element_tree_func
to process SVG elements for conversion and caching.app.CACHE
withinskyvern/forge/app.py
.Generated with :heart: by ellipsis.dev