Package genlayer.std.nondet_fns#
Warning
This is an internal module
- genlayer.std.nondet_fns.exec_prompt(prompt: str, **config: Unpack[ExecPromptKwArgs]) str [source]#
API to execute a prompt (perform NLP)
- Parameters:
prompt (
str
) – prompt itself**config (
ExecPromptKwArgs
) – configuration
- Return type:
str
Note
supports
.lazy()
version, which will returnLazy
- genlayer.std.nondet_fns.get_webpage(url: str, **config: Unpack[GetWebpageKwArgs]) str [source]#
API to get a webpage after rendering it
- Parameters:
url (
str
) – url of website**config (
GetWebpageKwArgs
) – configuration
- Return type:
str
Note
supports
.lazy()
version, which will returnLazy