web
此内容尚不支持你的语言。
Read a web page and search the web from a program.
- Layer: base (optional: only where a configuration enables it)
- Needs: –
- Requires: –
- Conflicts with: –
- Never dropped: no
- Mixin:
skills.web:Web - Manifest:
skills/web/skill.toml
Functions
Section titled “Functions”def fetch(url, start=0)The text of the page at url (http or https): an HTML page as its text with the
addresses of its links, anything else as it is; at most 100000 characters from
character start, then how to read on.
search
Section titled “search”def search(query, results=5)Search the web for query: a list of at most results (1 to 10) {“title”, “url”,
“text”}. ValueError where the conversation has no search (runtime.search).
What the model reads
Section titled “What the model reads”From the workspace prompt pack, with the core skills enabled:
fetch(url, start=0) the text of a page (http, https): an HTML page as its text with the addresses of its links, anything else as it is; at most 100000 characters from character start, then how to read on search(query, results=5) search the web: a list of {"title", "url", "text"}, at most results (1 to 10); ValueError where this conversation has no search