llm-function 0.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- llm_function/.paa.tracking/.paa.config +12 -0
- llm_function/.paa.tracking/.paa.version +1 -0
- llm_function/.paa.tracking/git/dependencies/llm_func_deps/llm_function_config.py +35 -0
- llm_function/.paa.tracking/git/dependencies/llm_func_deps/tool_registry.py +250 -0
- llm_function/.paa.tracking/git/docs_cache/llm_function.md +0 -0
- llm_function/.paa.tracking/git/module/llm_function.py +250 -0
- llm_function/.paa.tracking/git/tracking/release_notes.md +5 -0
- llm_function/.paa.tracking/git_repo/COMMIT_EDITMSG +1 -0
- llm_function/.paa.tracking/git_repo/HEAD +1 -0
- llm_function/.paa.tracking/git_repo/config +8 -0
- llm_function/.paa.tracking/git_repo/description +1 -0
- llm_function/.paa.tracking/git_repo/hooks/applypatch-msg.sample +15 -0
- llm_function/.paa.tracking/git_repo/hooks/commit-msg.sample +24 -0
- llm_function/.paa.tracking/git_repo/hooks/fsmonitor-watchman.sample +174 -0
- llm_function/.paa.tracking/git_repo/hooks/post-update.sample +8 -0
- llm_function/.paa.tracking/git_repo/hooks/pre-applypatch.sample +14 -0
- llm_function/.paa.tracking/git_repo/hooks/pre-commit.sample +49 -0
- llm_function/.paa.tracking/git_repo/hooks/pre-merge-commit.sample +13 -0
- llm_function/.paa.tracking/git_repo/hooks/pre-push.sample +53 -0
- llm_function/.paa.tracking/git_repo/hooks/pre-rebase.sample +169 -0
- llm_function/.paa.tracking/git_repo/hooks/pre-receive.sample +24 -0
- llm_function/.paa.tracking/git_repo/hooks/prepare-commit-msg.sample +42 -0
- llm_function/.paa.tracking/git_repo/hooks/push-to-checkout.sample +78 -0
- llm_function/.paa.tracking/git_repo/hooks/sendemail-validate.sample +77 -0
- llm_function/.paa.tracking/git_repo/hooks/update.sample +128 -0
- llm_function/.paa.tracking/git_repo/index +0 -0
- llm_function/.paa.tracking/git_repo/info/exclude +6 -0
- llm_function/.paa.tracking/git_repo/logs/HEAD +1 -0
- llm_function/.paa.tracking/git_repo/logs/refs/heads/master +1 -0
- llm_function/.paa.tracking/git_repo/objects/13/9201e8ffeb4e42262e90eeaefd5267debb6e1d +1 -0
- llm_function/.paa.tracking/git_repo/objects/23/d10b479e3102724a6eb510225cc24bb2ce9d78 +0 -0
- llm_function/.paa.tracking/git_repo/objects/2d/fa3abff2848ff521ead3abb4364bd2c3ca01a6 +0 -0
- llm_function/.paa.tracking/git_repo/objects/45/6fc88abc846d76e0f82a3ef180425e497f8281 +0 -0
- llm_function/.paa.tracking/git_repo/objects/55/d196aad68e2cc20a2ea496529d9dabeb75bb0e +0 -0
- llm_function/.paa.tracking/git_repo/objects/63/9282ebc80b9db9b677374a7c16bc7472d5e71c +0 -0
- llm_function/.paa.tracking/git_repo/objects/91/f1d4c0830abe4ebb0902dc052f5dfe9e8fade7 +0 -0
- llm_function/.paa.tracking/git_repo/objects/9d/2a8151dd42e6abfffbbbd674b850a7066daa1a +0 -0
- llm_function/.paa.tracking/git_repo/objects/aa/0b3847c3f0683eed107a405b9443ec040c3eec +0 -0
- llm_function/.paa.tracking/git_repo/objects/cf/024b71ae427969a985d86a267adf154f526cd8 +0 -0
- llm_function/.paa.tracking/git_repo/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
- llm_function/.paa.tracking/git_repo/objects/fb/834f2f59b432c0688699b91926899c0e0f2a5d +0 -0
- llm_function/.paa.tracking/git_repo/refs/heads/master +1 -0
- llm_function/.paa.tracking/git_repo/refs/tags/v0.0.1 +1 -0
- llm_function/.paa.tracking/lsts_package_versions.yml +3 -0
- llm_function/.paa.tracking/package_licenses.json +1 -0
- llm_function/.paa.tracking/package_mapping.json +1 -0
- llm_function/.paa.tracking/python_modules/components/llm_func_deps/llm_function_config.py +35 -0
- llm_function/.paa.tracking/python_modules/components/llm_func_deps/tool_registry.py +250 -0
- llm_function/.paa.tracking/python_modules/llm_function.py +250 -0
- llm_function/.paa.tracking/release_notes.md +5 -0
- llm_function/.paa.tracking/version_logs.csv +5 -0
- llm_function/__init__.py +17 -0
- llm_function/artifacts/.paa.tracking/git/dependencies/llm_func_deps/llm_function_config.py +35 -0
- llm_function/artifacts/.paa.tracking/git/dependencies/llm_func_deps/tool_registry.py +250 -0
- llm_function/artifacts/.paa.tracking/git/docs_cache/llm_function.md +0 -0
- llm_function/artifacts/.paa.tracking/git/module/llm_function.py +250 -0
- llm_function/artifacts/.paa.tracking/git/tracking/release_notes.md +5 -0
- llm_function/artifacts/.paa.tracking/git_repo/COMMIT_EDITMSG +1 -0
- llm_function/artifacts/.paa.tracking/git_repo/HEAD +1 -0
- llm_function/artifacts/.paa.tracking/git_repo/config +8 -0
- llm_function/artifacts/.paa.tracking/git_repo/description +1 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/applypatch-msg.sample +15 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/commit-msg.sample +24 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/fsmonitor-watchman.sample +174 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/post-update.sample +8 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/pre-applypatch.sample +14 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/pre-commit.sample +49 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/pre-merge-commit.sample +13 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/pre-push.sample +53 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/pre-rebase.sample +169 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/pre-receive.sample +24 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/prepare-commit-msg.sample +42 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/push-to-checkout.sample +78 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/sendemail-validate.sample +77 -0
- llm_function/artifacts/.paa.tracking/git_repo/hooks/update.sample +128 -0
- llm_function/artifacts/.paa.tracking/git_repo/index +0 -0
- llm_function/artifacts/.paa.tracking/git_repo/info/exclude +6 -0
- llm_function/artifacts/.paa.tracking/git_repo/logs/HEAD +1 -0
- llm_function/artifacts/.paa.tracking/git_repo/logs/refs/heads/master +1 -0
- llm_function/artifacts/.paa.tracking/git_repo/objects/13/9201e8ffeb4e42262e90eeaefd5267debb6e1d +1 -0
- llm_function/artifacts/.paa.tracking/git_repo/objects/23/d10b479e3102724a6eb510225cc24bb2ce9d78 +0 -0
- llm_function/artifacts/.paa.tracking/git_repo/objects/2d/fa3abff2848ff521ead3abb4364bd2c3ca01a6 +0 -0
- llm_function/artifacts/.paa.tracking/git_repo/objects/45/6fc88abc846d76e0f82a3ef180425e497f8281 +0 -0
- llm_function/artifacts/.paa.tracking/git_repo/objects/55/d196aad68e2cc20a2ea496529d9dabeb75bb0e +0 -0
- llm_function/artifacts/.paa.tracking/git_repo/objects/63/9282ebc80b9db9b677374a7c16bc7472d5e71c +0 -0
- llm_function/artifacts/.paa.tracking/git_repo/objects/91/f1d4c0830abe4ebb0902dc052f5dfe9e8fade7 +0 -0
- llm_function/artifacts/.paa.tracking/git_repo/objects/9d/2a8151dd42e6abfffbbbd674b850a7066daa1a +0 -0
- llm_function/artifacts/.paa.tracking/git_repo/objects/aa/0b3847c3f0683eed107a405b9443ec040c3eec +0 -0
- llm_function/artifacts/.paa.tracking/git_repo/objects/cf/024b71ae427969a985d86a267adf154f526cd8 +0 -0
- llm_function/artifacts/.paa.tracking/git_repo/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 +0 -0
- llm_function/artifacts/.paa.tracking/git_repo/objects/fb/834f2f59b432c0688699b91926899c0e0f2a5d +0 -0
- llm_function/artifacts/.paa.tracking/git_repo/refs/heads/master +1 -0
- llm_function/artifacts/.paa.tracking/git_repo/refs/tags/v0.0.1 +1 -0
- llm_function/llm_function.py +518 -0
- llm_function/mkdocs/docs/css/extra.css +38 -0
- llm_function/mkdocs/docs/index.md +24 -0
- llm_function/mkdocs/docs/llm_function_tools.md +168 -0
- llm_function/mkdocs/docs/release-notes.md +5 -0
- llm_function/mkdocs/mkdocs.yml +37 -0
- llm_function/mkdocs/site/404.html +370 -0
- llm_function/mkdocs/site/assets/images/favicon.png +0 -0
- llm_function/mkdocs/site/assets/javascripts/bundle.fe8b6f2b.min.js +29 -0
- llm_function/mkdocs/site/assets/javascripts/bundle.fe8b6f2b.min.js.map +7 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.ar.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.da.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.de.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.du.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.el.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.es.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.fi.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.fr.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.he.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.hi.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.hu.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.hy.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.it.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.ja.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.jp.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.kn.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.ko.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.multi.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.nl.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.no.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.pt.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.ro.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.ru.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.sa.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.stemmer.support.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.sv.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.ta.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.te.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.th.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.tr.min.js +18 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.vi.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/min/lunr.zh.min.js +1 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/tinyseg.js +206 -0
- llm_function/mkdocs/site/assets/javascripts/lunr/wordcut.js +6708 -0
- llm_function/mkdocs/site/assets/javascripts/workers/search.b8dbb3d2.min.js +42 -0
- llm_function/mkdocs/site/assets/javascripts/workers/search.b8dbb3d2.min.js.map +7 -0
- llm_function/mkdocs/site/assets/stylesheets/main.3cba04c6.min.css +1 -0
- llm_function/mkdocs/site/assets/stylesheets/main.3cba04c6.min.css.map +1 -0
- llm_function/mkdocs/site/assets/stylesheets/palette.06af60db.min.css +1 -0
- llm_function/mkdocs/site/assets/stylesheets/palette.06af60db.min.css.map +1 -0
- llm_function/mkdocs/site/css/extra.css +38 -0
- llm_function/mkdocs/site/index.html +476 -0
- llm_function/mkdocs/site/llm_function_tools/index.html +622 -0
- llm_function/mkdocs/site/release-notes/index.html +468 -0
- llm_function/mkdocs/site/search/search_index.json +1 -0
- llm_function/mkdocs/site/sitemap.xml +3 -0
- llm_function/mkdocs/site/sitemap.xml.gz +0 -0
- llm_function/setup.py +47 -0
- llm_function-0.0.1.dist-info/METADATA +44 -0
- llm_function-0.0.1.dist-info/RECORD +157 -0
- llm_function-0.0.1.dist-info/WHEEL +5 -0
- llm_function-0.0.1.dist-info/licenses/LICENSE +201 -0
- llm_function-0.0.1.dist-info/licenses/NOTICE +4 -0
- llm_function-0.0.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
|
|
2
|
+
<!doctype html>
|
|
3
|
+
<html lang="en" class="no-js">
|
|
4
|
+
<head>
|
|
5
|
+
|
|
6
|
+
<meta charset="utf-8">
|
|
7
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
<link rel="next" href="release-notes/">
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
<link rel="icon" href="assets/images/favicon.png">
|
|
17
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
<title>Llm function</title>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
<link rel="stylesheet" href="assets/stylesheets/main.3cba04c6.min.css">
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
<link rel="stylesheet" href="assets/stylesheets/palette.06af60db.min.css">
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
42
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
|
|
43
|
+
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
<link rel="stylesheet" href="css/extra.css">
|
|
48
|
+
|
|
49
|
+
<script>__md_scope=new URL(".",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
</head>
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
<body dir="ltr" data-md-color-scheme="default" data-md-color-primary="green" data-md-color-accent="green">
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
|
|
70
|
+
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
|
71
|
+
<label class="md-overlay" for="__drawer"></label>
|
|
72
|
+
<div data-md-component="skip">
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
<a href="#intro" class="md-skip">
|
|
76
|
+
Skip to content
|
|
77
|
+
</a>
|
|
78
|
+
|
|
79
|
+
</div>
|
|
80
|
+
<div data-md-component="announce">
|
|
81
|
+
|
|
82
|
+
</div>
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
<header class="md-header md-header--shadow" data-md-component="header">
|
|
90
|
+
<nav class="md-header__inner md-grid" aria-label="Header">
|
|
91
|
+
<a href="." title="Llm function" class="md-header__button md-logo" aria-label="Llm function" data-md-component="logo">
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54Z"/></svg>
|
|
95
|
+
|
|
96
|
+
</a>
|
|
97
|
+
<label class="md-header__button md-icon" for="__drawer">
|
|
98
|
+
|
|
99
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg>
|
|
100
|
+
</label>
|
|
101
|
+
<div class="md-header__title" data-md-component="header-title">
|
|
102
|
+
<div class="md-header__ellipsis">
|
|
103
|
+
<div class="md-header__topic">
|
|
104
|
+
<span class="md-ellipsis">
|
|
105
|
+
Llm function
|
|
106
|
+
</span>
|
|
107
|
+
</div>
|
|
108
|
+
<div class="md-header__topic" data-md-component="header-topic">
|
|
109
|
+
<span class="md-ellipsis">
|
|
110
|
+
|
|
111
|
+
Intro
|
|
112
|
+
|
|
113
|
+
</span>
|
|
114
|
+
</div>
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
<form class="md-header__option" data-md-component="palette">
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
<input class="md-option" data-md-color-media="" data-md-color-scheme="default" data-md-color-primary="green" data-md-color-accent="green" aria-label="Switch to dark mode" type="radio" name="__palette" id="__palette_0">
|
|
125
|
+
|
|
126
|
+
<label class="md-header__button md-icon" title="Switch to dark mode" for="__palette_1" hidden>
|
|
127
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a7 7 0 0 0-7 7c0 2.38 1.19 4.47 3 5.74V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.26c1.81-1.27 3-3.36 3-5.74a7 7 0 0 0-7-7M9 21a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-1H9v1Z"/></svg>
|
|
128
|
+
</label>
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
<input class="md-option" data-md-color-media="" data-md-color-scheme="slate" data-md-color-primary="green" data-md-color-accent="green" aria-label="Switch to light mode" type="radio" name="__palette" id="__palette_1">
|
|
135
|
+
|
|
136
|
+
<label class="md-header__button md-icon" title="Switch to light mode" for="__palette_0" hidden>
|
|
137
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a7 7 0 0 1 7 7c0 2.38-1.19 4.47-3 5.74V17a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-2.26C6.19 13.47 5 11.38 5 9a7 7 0 0 1 7-7M9 21v-1h6v1a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1m3-17a5 5 0 0 0-5 5c0 2.05 1.23 3.81 3 4.58V16h4v-2.42c1.77-.77 3-2.53 3-4.58a5 5 0 0 0-5-5Z"/></svg>
|
|
138
|
+
</label>
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
</form>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
<script>var media,input,key,value,palette=__md_get("__palette");if(palette&&palette.color){"(prefers-color-scheme)"===palette.color.media&&(media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']"),palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent"));for([key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script>
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
<label class="md-header__button md-icon" for="__search">
|
|
150
|
+
|
|
151
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
|
|
152
|
+
</label>
|
|
153
|
+
<div class="md-search" data-md-component="search" role="dialog">
|
|
154
|
+
<label class="md-search__overlay" for="__search"></label>
|
|
155
|
+
<div class="md-search__inner" role="search">
|
|
156
|
+
<form class="md-search__form" name="search">
|
|
157
|
+
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
|
|
158
|
+
<label class="md-search__icon md-icon" for="__search">
|
|
159
|
+
|
|
160
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
|
|
161
|
+
|
|
162
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
|
|
163
|
+
</label>
|
|
164
|
+
<nav class="md-search__options" aria-label="Search">
|
|
165
|
+
|
|
166
|
+
<button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">
|
|
167
|
+
|
|
168
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
169
|
+
</button>
|
|
170
|
+
</nav>
|
|
171
|
+
|
|
172
|
+
</form>
|
|
173
|
+
<div class="md-search__output">
|
|
174
|
+
<div class="md-search__scrollwrap" tabindex="0" data-md-scrollfix>
|
|
175
|
+
<div class="md-search-result" data-md-component="search-result">
|
|
176
|
+
<div class="md-search-result__meta">
|
|
177
|
+
Initializing search
|
|
178
|
+
</div>
|
|
179
|
+
<ol class="md-search-result__list" role="presentation"></ol>
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
<div class="md-header__source">
|
|
188
|
+
<a href="https://github.com/Kiril-Mordan/adaptive-reusables" title="Go to repository" class="md-source" data-md-component="source">
|
|
189
|
+
<div class="md-source__icon md-icon">
|
|
190
|
+
|
|
191
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
|
|
192
|
+
</div>
|
|
193
|
+
<div class="md-source__repository">
|
|
194
|
+
adaptive-reusables
|
|
195
|
+
</div>
|
|
196
|
+
</a>
|
|
197
|
+
</div>
|
|
198
|
+
|
|
199
|
+
</nav>
|
|
200
|
+
|
|
201
|
+
</header>
|
|
202
|
+
|
|
203
|
+
<div class="md-container" data-md-component="container">
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
<main class="md-main" data-md-component="main">
|
|
211
|
+
<div class="md-main__inner md-grid">
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
|
|
216
|
+
<div class="md-sidebar__scrollwrap">
|
|
217
|
+
<div class="md-sidebar__inner">
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
|
223
|
+
<label class="md-nav__title" for="__drawer">
|
|
224
|
+
<a href="." title="Llm function" class="md-nav__button md-logo" aria-label="Llm function" data-md-component="logo">
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54Z"/></svg>
|
|
228
|
+
|
|
229
|
+
</a>
|
|
230
|
+
Llm function
|
|
231
|
+
</label>
|
|
232
|
+
|
|
233
|
+
<div class="md-nav__source">
|
|
234
|
+
<a href="https://github.com/Kiril-Mordan/adaptive-reusables" title="Go to repository" class="md-source" data-md-component="source">
|
|
235
|
+
<div class="md-source__icon md-icon">
|
|
236
|
+
|
|
237
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
|
|
238
|
+
</div>
|
|
239
|
+
<div class="md-source__repository">
|
|
240
|
+
adaptive-reusables
|
|
241
|
+
</div>
|
|
242
|
+
</a>
|
|
243
|
+
</div>
|
|
244
|
+
|
|
245
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
<li class="md-nav__item md-nav__item--active">
|
|
256
|
+
|
|
257
|
+
<input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
<label class="md-nav__link md-nav__link--active" for="__toc">
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
<span class="md-ellipsis">
|
|
267
|
+
Intro
|
|
268
|
+
</span>
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
<span class="md-nav__icon md-icon"></span>
|
|
272
|
+
</label>
|
|
273
|
+
|
|
274
|
+
<a href="." class="md-nav__link md-nav__link--active">
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
<span class="md-ellipsis">
|
|
278
|
+
Intro
|
|
279
|
+
</span>
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
</a>
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
<label class="md-nav__title" for="__toc">
|
|
294
|
+
<span class="md-nav__icon md-icon"></span>
|
|
295
|
+
Table of contents
|
|
296
|
+
</label>
|
|
297
|
+
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
|
298
|
+
|
|
299
|
+
<li class="md-nav__item">
|
|
300
|
+
<a href="#installation" class="md-nav__link">
|
|
301
|
+
<span class="md-ellipsis">
|
|
302
|
+
Installation
|
|
303
|
+
</span>
|
|
304
|
+
</a>
|
|
305
|
+
|
|
306
|
+
</li>
|
|
307
|
+
|
|
308
|
+
</ul>
|
|
309
|
+
|
|
310
|
+
</nav>
|
|
311
|
+
|
|
312
|
+
</li>
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
<li class="md-nav__item">
|
|
323
|
+
<a href="release-notes/" class="md-nav__link">
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
<span class="md-ellipsis">
|
|
327
|
+
Release notes
|
|
328
|
+
</span>
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
</a>
|
|
332
|
+
</li>
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
<li class="md-nav__item">
|
|
343
|
+
<a href="llm_function_tools/" class="md-nav__link">
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
<span class="md-ellipsis">
|
|
347
|
+
Llm function tools
|
|
348
|
+
</span>
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
</a>
|
|
352
|
+
</li>
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
</ul>
|
|
357
|
+
</nav>
|
|
358
|
+
</div>
|
|
359
|
+
</div>
|
|
360
|
+
</div>
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
|
|
365
|
+
<div class="md-sidebar__scrollwrap">
|
|
366
|
+
<div class="md-sidebar__inner">
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
<label class="md-nav__title" for="__toc">
|
|
377
|
+
<span class="md-nav__icon md-icon"></span>
|
|
378
|
+
Table of contents
|
|
379
|
+
</label>
|
|
380
|
+
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
|
381
|
+
|
|
382
|
+
<li class="md-nav__item">
|
|
383
|
+
<a href="#installation" class="md-nav__link">
|
|
384
|
+
<span class="md-ellipsis">
|
|
385
|
+
Installation
|
|
386
|
+
</span>
|
|
387
|
+
</a>
|
|
388
|
+
|
|
389
|
+
</li>
|
|
390
|
+
|
|
391
|
+
</ul>
|
|
392
|
+
|
|
393
|
+
</nav>
|
|
394
|
+
</div>
|
|
395
|
+
</div>
|
|
396
|
+
</div>
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
<div class="md-content" data-md-component="content">
|
|
401
|
+
<article class="md-content__inner md-typeset">
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
<h1 id="intro">Intro</h1>
|
|
410
|
+
<p><a href="https://pypi.org/project/llm-function/"><img alt="PyPiVersion" src="https://img.shields.io/pypi/v/llm-function" /></a> </p>
|
|
411
|
+
<p><code>llm_function</code> helps you build reusable LLM functions with normal Python signatures.</p>
|
|
412
|
+
<p>You define a function with Pydantic input and output models, describe what it should do
|
|
413
|
+
in the docstring, and provide a set of available tools. At runtime, <code>llm_function</code>
|
|
414
|
+
uses <a href="https://pypi.org/project/workflow-auto-assembler/"><code>workflow_auto_assembler</code></a> to
|
|
415
|
+
assemble and execute a workflow that satisfies that typed function contract.</p>
|
|
416
|
+
<p>The result is an LLM-backed function that can be reused like any other Python function,
|
|
417
|
+
while still being grounded in explicit tools, schemas, and config.</p>
|
|
418
|
+
<p>Tool definition and discovery live in
|
|
419
|
+
<a href="https://pypi.org/project/llm-function-tools/"><code>llm_function_tools</code></a>.</p>
|
|
420
|
+
<h2 id="installation">Installation</h2>
|
|
421
|
+
<pre><code class="language-bash">pip install llm-function
|
|
422
|
+
</code></pre>
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
</article>
|
|
437
|
+
</div>
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
<script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
|
|
441
|
+
</div>
|
|
442
|
+
|
|
443
|
+
</main>
|
|
444
|
+
|
|
445
|
+
<footer class="md-footer">
|
|
446
|
+
|
|
447
|
+
<div class="md-footer-meta md-typeset">
|
|
448
|
+
<div class="md-footer-meta__inner md-grid">
|
|
449
|
+
<div class="md-copyright">
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
Made with
|
|
453
|
+
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
|
|
454
|
+
Material for MkDocs
|
|
455
|
+
</a>
|
|
456
|
+
|
|
457
|
+
</div>
|
|
458
|
+
|
|
459
|
+
</div>
|
|
460
|
+
</div>
|
|
461
|
+
</footer>
|
|
462
|
+
|
|
463
|
+
</div>
|
|
464
|
+
<div class="md-dialog" data-md-component="dialog">
|
|
465
|
+
<div class="md-dialog__inner md-typeset"></div>
|
|
466
|
+
</div>
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
<script id="__config" type="application/json">{"base": ".", "features": [], "search": "assets/javascripts/workers/search.b8dbb3d2.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
<script src="assets/javascripts/bundle.fe8b6f2b.min.js"></script>
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
</body>
|
|
476
|
+
</html>
|