chatterer 0.1.11__py3-none-any.whl → 0.1.12__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.
- chatterer/__init__.py +60 -60
- chatterer/language_model.py +577 -581
- chatterer/messages.py +9 -9
- chatterer/strategies/__init__.py +13 -13
- chatterer/strategies/atom_of_thoughts.py +975 -975
- chatterer/strategies/base.py +14 -14
- chatterer/tools/__init__.py +28 -28
- chatterer/tools/citation_chunking/__init__.py +3 -3
- chatterer/tools/citation_chunking/chunks.py +53 -53
- chatterer/tools/citation_chunking/citation_chunker.py +118 -118
- chatterer/tools/citation_chunking/citations.py +285 -285
- chatterer/tools/citation_chunking/prompt.py +157 -157
- chatterer/tools/citation_chunking/reference.py +26 -26
- chatterer/tools/citation_chunking/utils.py +138 -138
- chatterer/tools/convert_to_text.py +463 -463
- chatterer/tools/webpage_to_markdown/__init__.py +4 -4
- chatterer/tools/webpage_to_markdown/playwright_bot.py +649 -649
- chatterer/tools/webpage_to_markdown/utils.py +334 -329
- chatterer/tools/youtube.py +146 -146
- chatterer/utils/__init__.py +15 -15
- chatterer/utils/code_agent.py +138 -138
- chatterer/utils/image.py +291 -288
- {chatterer-0.1.11.dist-info → chatterer-0.1.12.dist-info}/METADATA +170 -170
- chatterer-0.1.12.dist-info/RECORD +27 -0
- chatterer-0.1.11.dist-info/RECORD +0 -27
- {chatterer-0.1.11.dist-info → chatterer-0.1.12.dist-info}/WHEEL +0 -0
- {chatterer-0.1.11.dist-info → chatterer-0.1.12.dist-info}/top_level.txt +0 -0
chatterer/__init__.py
CHANGED
@@ -1,60 +1,60 @@
|
|
1
|
-
from .language_model import Chatterer, interactive_shell
|
2
|
-
from .messages import (
|
3
|
-
AIMessage,
|
4
|
-
BaseMessage,
|
5
|
-
FunctionMessage,
|
6
|
-
HumanMessage,
|
7
|
-
SystemMessage,
|
8
|
-
)
|
9
|
-
from .strategies import (
|
10
|
-
AoTPipeline,
|
11
|
-
AoTPrompter,
|
12
|
-
AoTStrategy,
|
13
|
-
BaseStrategy,
|
14
|
-
)
|
15
|
-
from .tools import (
|
16
|
-
anything_to_markdown,
|
17
|
-
citation_chunker,
|
18
|
-
get_default_html_to_markdown_options,
|
19
|
-
get_youtube_video_subtitle,
|
20
|
-
html_to_markdown,
|
21
|
-
init_webpage_to_markdown,
|
22
|
-
pdf_to_text,
|
23
|
-
pyscripts_to_snippets,
|
24
|
-
get_youtube_video_details,
|
25
|
-
)
|
26
|
-
from .utils import (
|
27
|
-
Base64Image,
|
28
|
-
CodeExecutionResult,
|
29
|
-
FunctionSignature,
|
30
|
-
get_default_repl_tool,
|
31
|
-
insert_callables_into_global,
|
32
|
-
)
|
33
|
-
|
34
|
-
__all__ = [
|
35
|
-
"BaseStrategy",
|
36
|
-
"Chatterer",
|
37
|
-
"AoTStrategy",
|
38
|
-
"AoTPipeline",
|
39
|
-
"AoTPrompter",
|
40
|
-
"html_to_markdown",
|
41
|
-
"anything_to_markdown",
|
42
|
-
"pdf_to_text",
|
43
|
-
"get_default_html_to_markdown_options",
|
44
|
-
"pyscripts_to_snippets",
|
45
|
-
"citation_chunker",
|
46
|
-
"BaseMessage",
|
47
|
-
"HumanMessage",
|
48
|
-
"SystemMessage",
|
49
|
-
"AIMessage",
|
50
|
-
"FunctionMessage",
|
51
|
-
"Base64Image",
|
52
|
-
"init_webpage_to_markdown",
|
53
|
-
"FunctionSignature",
|
54
|
-
"CodeExecutionResult",
|
55
|
-
"get_default_repl_tool",
|
56
|
-
"insert_callables_into_global",
|
57
|
-
"get_youtube_video_subtitle",
|
58
|
-
"get_youtube_video_details",
|
59
|
-
"interactive_shell",
|
60
|
-
]
|
1
|
+
from .language_model import Chatterer, interactive_shell
|
2
|
+
from .messages import (
|
3
|
+
AIMessage,
|
4
|
+
BaseMessage,
|
5
|
+
FunctionMessage,
|
6
|
+
HumanMessage,
|
7
|
+
SystemMessage,
|
8
|
+
)
|
9
|
+
from .strategies import (
|
10
|
+
AoTPipeline,
|
11
|
+
AoTPrompter,
|
12
|
+
AoTStrategy,
|
13
|
+
BaseStrategy,
|
14
|
+
)
|
15
|
+
from .tools import (
|
16
|
+
anything_to_markdown,
|
17
|
+
citation_chunker,
|
18
|
+
get_default_html_to_markdown_options,
|
19
|
+
get_youtube_video_subtitle,
|
20
|
+
html_to_markdown,
|
21
|
+
init_webpage_to_markdown,
|
22
|
+
pdf_to_text,
|
23
|
+
pyscripts_to_snippets,
|
24
|
+
get_youtube_video_details,
|
25
|
+
)
|
26
|
+
from .utils import (
|
27
|
+
Base64Image,
|
28
|
+
CodeExecutionResult,
|
29
|
+
FunctionSignature,
|
30
|
+
get_default_repl_tool,
|
31
|
+
insert_callables_into_global,
|
32
|
+
)
|
33
|
+
|
34
|
+
__all__ = [
|
35
|
+
"BaseStrategy",
|
36
|
+
"Chatterer",
|
37
|
+
"AoTStrategy",
|
38
|
+
"AoTPipeline",
|
39
|
+
"AoTPrompter",
|
40
|
+
"html_to_markdown",
|
41
|
+
"anything_to_markdown",
|
42
|
+
"pdf_to_text",
|
43
|
+
"get_default_html_to_markdown_options",
|
44
|
+
"pyscripts_to_snippets",
|
45
|
+
"citation_chunker",
|
46
|
+
"BaseMessage",
|
47
|
+
"HumanMessage",
|
48
|
+
"SystemMessage",
|
49
|
+
"AIMessage",
|
50
|
+
"FunctionMessage",
|
51
|
+
"Base64Image",
|
52
|
+
"init_webpage_to_markdown",
|
53
|
+
"FunctionSignature",
|
54
|
+
"CodeExecutionResult",
|
55
|
+
"get_default_repl_tool",
|
56
|
+
"insert_callables_into_global",
|
57
|
+
"get_youtube_video_subtitle",
|
58
|
+
"get_youtube_video_details",
|
59
|
+
"interactive_shell",
|
60
|
+
]
|