chatterer 0.1.12__py3-none-any.whl → 0.1.13__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.
Files changed (31) hide show
  1. chatterer/__init__.py +62 -60
  2. chatterer/common_types/__init__.py +21 -0
  3. chatterer/common_types/io.py +19 -0
  4. chatterer/language_model.py +577 -577
  5. chatterer/messages.py +9 -9
  6. chatterer/strategies/__init__.py +13 -13
  7. chatterer/strategies/atom_of_thoughts.py +975 -975
  8. chatterer/strategies/base.py +14 -14
  9. chatterer/tools/__init__.py +35 -28
  10. chatterer/tools/citation_chunking/__init__.py +3 -3
  11. chatterer/tools/citation_chunking/chunks.py +53 -53
  12. chatterer/tools/citation_chunking/citation_chunker.py +118 -118
  13. chatterer/tools/citation_chunking/citations.py +285 -285
  14. chatterer/tools/citation_chunking/prompt.py +157 -157
  15. chatterer/tools/citation_chunking/reference.py +26 -26
  16. chatterer/tools/citation_chunking/utils.py +138 -138
  17. chatterer/tools/convert_to_text.py +418 -463
  18. chatterer/tools/upstage_document_parser.py +438 -0
  19. chatterer/tools/webpage_to_markdown/__init__.py +4 -4
  20. chatterer/tools/webpage_to_markdown/playwright_bot.py +649 -649
  21. chatterer/tools/webpage_to_markdown/utils.py +334 -334
  22. chatterer/tools/youtube.py +146 -146
  23. chatterer/utils/__init__.py +15 -15
  24. chatterer/utils/bytesio.py +59 -0
  25. chatterer/utils/code_agent.py +138 -138
  26. chatterer/utils/image.py +291 -291
  27. {chatterer-0.1.12.dist-info → chatterer-0.1.13.dist-info}/METADATA +171 -170
  28. chatterer-0.1.13.dist-info/RECORD +31 -0
  29. chatterer-0.1.12.dist-info/RECORD +0 -27
  30. {chatterer-0.1.12.dist-info → chatterer-0.1.13.dist-info}/WHEEL +0 -0
  31. {chatterer-0.1.12.dist-info → chatterer-0.1.13.dist-info}/top_level.txt +0 -0
chatterer/messages.py CHANGED
@@ -1,9 +1,9 @@
1
- from langchain_core.messages import AIMessage, BaseMessage, FunctionMessage, HumanMessage, SystemMessage
2
-
3
- __all__ = [
4
- "AIMessage",
5
- "BaseMessage",
6
- "HumanMessage",
7
- "SystemMessage",
8
- "FunctionMessage",
9
- ]
1
+ from langchain_core.messages import AIMessage, BaseMessage, FunctionMessage, HumanMessage, SystemMessage
2
+
3
+ __all__ = [
4
+ "AIMessage",
5
+ "BaseMessage",
6
+ "HumanMessage",
7
+ "SystemMessage",
8
+ "FunctionMessage",
9
+ ]
@@ -1,13 +1,13 @@
1
- from .atom_of_thoughts import (
2
- AoTPipeline,
3
- AoTStrategy,
4
- AoTPrompter,
5
- )
6
- from .base import BaseStrategy
7
-
8
- __all__ = [
9
- "BaseStrategy",
10
- "AoTPipeline",
11
- "AoTPrompter",
12
- "AoTStrategy",
13
- ]
1
+ from .atom_of_thoughts import (
2
+ AoTPipeline,
3
+ AoTStrategy,
4
+ AoTPrompter,
5
+ )
6
+ from .base import BaseStrategy
7
+
8
+ __all__ = [
9
+ "BaseStrategy",
10
+ "AoTPipeline",
11
+ "AoTPrompter",
12
+ "AoTStrategy",
13
+ ]