chatlas 0.6.0__tar.gz → 0.6.1__tar.gz

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.

Potentially problematic release.


This version of chatlas might be problematic. Click here for more details.

Files changed (167) hide show
  1. {chatlas-0.6.0 → chatlas-0.6.1}/CHANGELOG.md +6 -0
  2. {chatlas-0.6.0 → chatlas-0.6.1}/PKG-INFO +22 -1
  3. {chatlas-0.6.0 → chatlas-0.6.1}/README.md +20 -0
  4. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_version.py +2 -2
  5. {chatlas-0.6.0 → chatlas-0.6.1}/pyproject.toml +1 -0
  6. {chatlas-0.6.0 → chatlas-0.6.1}/.github/workflows/check-update-types.yml +0 -0
  7. {chatlas-0.6.0 → chatlas-0.6.1}/.github/workflows/docs-publish.yml +0 -0
  8. {chatlas-0.6.0 → chatlas-0.6.1}/.github/workflows/release.yml +0 -0
  9. {chatlas-0.6.0 → chatlas-0.6.1}/.github/workflows/test.yml +0 -0
  10. {chatlas-0.6.0 → chatlas-0.6.1}/.gitignore +0 -0
  11. {chatlas-0.6.0 → chatlas-0.6.1}/.vscode/extensions.json +0 -0
  12. {chatlas-0.6.0 → chatlas-0.6.1}/.vscode/settings.json +0 -0
  13. {chatlas-0.6.0 → chatlas-0.6.1}/Makefile +0 -0
  14. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/__init__.py +0 -0
  15. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_anthropic.py +0 -0
  16. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_auto.py +0 -0
  17. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_chat.py +0 -0
  18. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_content.py +0 -0
  19. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_content_image.py +0 -0
  20. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_content_pdf.py +0 -0
  21. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_display.py +0 -0
  22. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_github.py +0 -0
  23. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_google.py +0 -0
  24. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_groq.py +0 -0
  25. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_interpolate.py +0 -0
  26. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_live_render.py +0 -0
  27. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_logging.py +0 -0
  28. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_merge.py +0 -0
  29. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_ollama.py +0 -0
  30. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_openai.py +0 -0
  31. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_perplexity.py +0 -0
  32. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_provider.py +0 -0
  33. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_snowflake.py +0 -0
  34. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_tokens.py +0 -0
  35. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_tokens_old.py +0 -0
  36. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_tools.py +0 -0
  37. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_turn.py +0 -0
  38. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_typing_extensions.py +0 -0
  39. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/_utils.py +0 -0
  40. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/py.typed +0 -0
  41. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/__init__.py +0 -0
  42. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/anthropic/__init__.py +0 -0
  43. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/anthropic/_client.py +0 -0
  44. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/anthropic/_client_bedrock.py +0 -0
  45. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/anthropic/_submit.py +0 -0
  46. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/google/__init__.py +0 -0
  47. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/google/_client.py +0 -0
  48. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/google/_submit.py +0 -0
  49. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/openai/__init__.py +0 -0
  50. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/openai/_client.py +0 -0
  51. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/openai/_client_azure.py +0 -0
  52. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/openai/_submit.py +0 -0
  53. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/snowflake/__init__.py +0 -0
  54. {chatlas-0.6.0 → chatlas-0.6.1}/chatlas/types/snowflake/_submit.py +0 -0
  55. {chatlas-0.6.0 → chatlas-0.6.1}/docs/.gitignore +0 -0
  56. {chatlas-0.6.0 → chatlas-0.6.1}/docs/_extensions/machow/interlinks/.gitignore +0 -0
  57. {chatlas-0.6.0 → chatlas-0.6.1}/docs/_extensions/machow/interlinks/_extension.yml +0 -0
  58. {chatlas-0.6.0 → chatlas-0.6.1}/docs/_extensions/machow/interlinks/interlinks.lua +0 -0
  59. {chatlas-0.6.0 → chatlas-0.6.1}/docs/_quarto.yml +0 -0
  60. {chatlas-0.6.0 → chatlas-0.6.1}/docs/_sidebar.yml +0 -0
  61. {chatlas-0.6.0 → chatlas-0.6.1}/docs/congressional-assets.png +0 -0
  62. {chatlas-0.6.0 → chatlas-0.6.1}/docs/examples/third-party-testing.txt +0 -0
  63. {chatlas-0.6.0 → chatlas-0.6.1}/docs/get-started.qmd +0 -0
  64. {chatlas-0.6.0 → chatlas-0.6.1}/docs/images/congressional-assets.png +0 -0
  65. {chatlas-0.6.0 → chatlas-0.6.1}/docs/images/logo.png +0 -0
  66. {chatlas-0.6.0 → chatlas-0.6.1}/docs/images/posit-logo.png +0 -0
  67. {chatlas-0.6.0 → chatlas-0.6.1}/docs/images/tool-calling-right.svg +0 -0
  68. {chatlas-0.6.0 → chatlas-0.6.1}/docs/images/tool-calling-wrong.svg +0 -0
  69. {chatlas-0.6.0 → chatlas-0.6.1}/docs/index.py +0 -0
  70. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/favicon/android-chrome-192x192.png +0 -0
  71. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/favicon/android-chrome-512x512.png +0 -0
  72. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/favicon/apple-touch-icon.png +0 -0
  73. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/favicon/favicon-16x16.png +0 -0
  74. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/favicon/favicon-32x32.png +0 -0
  75. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/favicon/favicon.ico +0 -0
  76. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/icon/brand-yml-icon-black.png +0 -0
  77. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/icon/brand-yml-icon-black.svg +0 -0
  78. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/icon/brand-yml-icon-color.png +0 -0
  79. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/icon/brand-yml-icon-color.svg +0 -0
  80. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/icon/brand-yml-icon-white.png +0 -0
  81. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/icon/brand-yml-icon-white.svg +0 -0
  82. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/tall/brand-yml-tall-black.png +0 -0
  83. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/tall/brand-yml-tall-black.svg +0 -0
  84. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/tall/brand-yml-tall-color.png +0 -0
  85. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/tall/brand-yml-tall-color.svg +0 -0
  86. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/tall/brand-yml-tall-white.png +0 -0
  87. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/tall/brand-yml-tall-white.svg +0 -0
  88. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/wide/brand-yml-wide-black.png +0 -0
  89. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/wide/brand-yml-wide-black.svg +0 -0
  90. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/wide/brand-yml-wide-color.png +0 -0
  91. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/wide/brand-yml-wide-color.svg +0 -0
  92. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/wide/brand-yml-wide-large-black.png +0 -0
  93. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/wide/brand-yml-wide-large-color.png +0 -0
  94. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/wide/brand-yml-wide-large-white.png +0 -0
  95. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/wide/brand-yml-wide-white.png +0 -0
  96. {chatlas-0.6.0 → chatlas-0.6.1}/docs/logos/wide/brand-yml-wide-white.svg +0 -0
  97. {chatlas-0.6.0 → chatlas-0.6.1}/docs/prompt-design.qmd +0 -0
  98. {chatlas-0.6.0 → chatlas-0.6.1}/docs/rag.qmd +0 -0
  99. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/Chat.qmd +0 -0
  100. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/ChatAnthropic.qmd +0 -0
  101. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/ChatAzureOpenAI.qmd +0 -0
  102. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/ChatBedrockAnthropic.qmd +0 -0
  103. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/ChatGithub.qmd +0 -0
  104. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/ChatGoogle.qmd +0 -0
  105. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/ChatGroq.qmd +0 -0
  106. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/ChatOllama.qmd +0 -0
  107. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/ChatOpenAI.qmd +0 -0
  108. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/ChatPerplexity.qmd +0 -0
  109. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/ChatVertex.qmd +0 -0
  110. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/Provider.qmd +0 -0
  111. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/Tool.qmd +0 -0
  112. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/Turn.qmd +0 -0
  113. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/content_image_file.qmd +0 -0
  114. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/content_image_plot.qmd +0 -0
  115. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/content_image_url.qmd +0 -0
  116. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/image_file.qmd +0 -0
  117. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/image_plot.qmd +0 -0
  118. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/image_url.qmd +0 -0
  119. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/index.qmd +0 -0
  120. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/interpolate.qmd +0 -0
  121. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/interpolate_file.qmd +0 -0
  122. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/token_usage.qmd +0 -0
  123. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.ChatResponse.qmd +0 -0
  124. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.ChatResponseAsync.qmd +0 -0
  125. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.Content.qmd +0 -0
  126. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.ContentImage.qmd +0 -0
  127. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.ContentImageInline.qmd +0 -0
  128. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.ContentImageRemote.qmd +0 -0
  129. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.ContentJson.qmd +0 -0
  130. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.ContentText.qmd +0 -0
  131. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.ContentToolRequest.qmd +0 -0
  132. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.ContentToolResult.qmd +0 -0
  133. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.ImageContentTypes.qmd +0 -0
  134. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.MISSING.qmd +0 -0
  135. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.MISSING_TYPE.qmd +0 -0
  136. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.SubmitInputArgsT.qmd +0 -0
  137. {chatlas-0.6.0 → chatlas-0.6.1}/docs/reference/types.TokenUsage.qmd +0 -0
  138. {chatlas-0.6.0 → chatlas-0.6.1}/docs/structured-data.qmd +0 -0
  139. {chatlas-0.6.0 → chatlas-0.6.1}/docs/styles.scss +0 -0
  140. {chatlas-0.6.0 → chatlas-0.6.1}/docs/tool-calling.qmd +0 -0
  141. {chatlas-0.6.0 → chatlas-0.6.1}/docs/web-apps.qmd +0 -0
  142. {chatlas-0.6.0 → chatlas-0.6.1}/pytest.ini +0 -0
  143. {chatlas-0.6.0 → chatlas-0.6.1}/scripts/_generate_anthropic_types.py +0 -0
  144. {chatlas-0.6.0 → chatlas-0.6.1}/scripts/_generate_google_types.py +0 -0
  145. {chatlas-0.6.0 → chatlas-0.6.1}/scripts/_generate_openai_types.py +0 -0
  146. {chatlas-0.6.0 → chatlas-0.6.1}/scripts/_generate_snowflake_types.py +0 -0
  147. {chatlas-0.6.0 → chatlas-0.6.1}/scripts/_utils.py +0 -0
  148. {chatlas-0.6.0 → chatlas-0.6.1}/scripts/main.py +0 -0
  149. {chatlas-0.6.0 → chatlas-0.6.1}/tests/__init__.py +0 -0
  150. {chatlas-0.6.0 → chatlas-0.6.1}/tests/__snapshots__/test_chat.ambr +0 -0
  151. {chatlas-0.6.0 → chatlas-0.6.1}/tests/apples.pdf +0 -0
  152. {chatlas-0.6.0 → chatlas-0.6.1}/tests/conftest.py +0 -0
  153. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_auto.py +0 -0
  154. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_chat.py +0 -0
  155. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_content.py +0 -0
  156. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_content_image.py +0 -0
  157. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_content_pdf.py +0 -0
  158. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_content_tools.py +0 -0
  159. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_interpolate.py +0 -0
  160. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_provider_anthropic.py +0 -0
  161. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_provider_azure.py +0 -0
  162. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_provider_bedrock.py +0 -0
  163. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_provider_google.py +0 -0
  164. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_provider_openai.py +0 -0
  165. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_tokens.py +0 -0
  166. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_turns.py +0 -0
  167. {chatlas-0.6.0 → chatlas-0.6.1}/tests/test_utils_merge.py +0 -0
@@ -7,6 +7,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
8
  -->
9
9
 
10
+ ## [0.6.1] - 2025-04-03
11
+
12
+ ### Bug fixes
13
+
14
+ * Fixed a missing dependency on the `requests` package.
15
+
10
16
  ## [0.6.0] - 2025-04-01
11
17
 
12
18
  ### New features
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chatlas
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: A simple and consistent interface for chatting with LLMs
5
5
  Project-URL: Homepage, https://posit-dev.github.io/chatlas
6
6
  Project-URL: Documentation, https://posit-dev.github.io/chatlas
@@ -19,6 +19,7 @@ Classifier: Programming Language :: Python :: 3.13
19
19
  Requires-Python: >=3.9
20
20
  Requires-Dist: jinja2
21
21
  Requires-Dist: pydantic>=2.0
22
+ Requires-Dist: requests
22
23
  Requires-Dist: rich
23
24
  Provides-Extra: anthropic
24
25
  Requires-Dist: anthropic; extra == 'anthropic'
@@ -281,6 +282,26 @@ chat.extract_data(
281
282
 
282
283
  Learn more in the [structured data article](https://posit-dev.github.io/chatlas/structured-data.html)
283
284
 
285
+ ### Multi-modal input
286
+
287
+ Attach images and pdfs when submitting input to using any one of the `content_*` functions.
288
+
289
+ ```python
290
+ from chatlas import content_image_url
291
+
292
+ chat.chat(
293
+ content_image_url("https://www.python.org/static/img/python-logo.png"),
294
+ "What do you see in this image?"
295
+ )
296
+ ```
297
+
298
+ ```
299
+ This image displays the logo of the Python programming language. It features the word "python" alongside the distinctive two snake heads logo, which is colored in blue and yellow.
300
+ ```
301
+
302
+ Learn more in the [content reference pages](https://posit-dev.github.io/chatlas/reference/content_image_url.html) for more details on the available content types.
303
+
304
+
284
305
  ### Export chat
285
306
 
286
307
  Easily get a full markdown or HTML export of a conversation:
@@ -206,6 +206,26 @@ chat.extract_data(
206
206
 
207
207
  Learn more in the [structured data article](https://posit-dev.github.io/chatlas/structured-data.html)
208
208
 
209
+ ### Multi-modal input
210
+
211
+ Attach images and pdfs when submitting input to using any one of the `content_*` functions.
212
+
213
+ ```python
214
+ from chatlas import content_image_url
215
+
216
+ chat.chat(
217
+ content_image_url("https://www.python.org/static/img/python-logo.png"),
218
+ "What do you see in this image?"
219
+ )
220
+ ```
221
+
222
+ ```
223
+ This image displays the logo of the Python programming language. It features the word "python" alongside the distinctive two snake heads logo, which is colored in blue and yellow.
224
+ ```
225
+
226
+ Learn more in the [content reference pages](https://posit-dev.github.io/chatlas/reference/content_image_url.html) for more details on the available content types.
227
+
228
+
209
229
  ### Export chat
210
230
 
211
231
  Easily get a full markdown or HTML export of a conversation:
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.6.0'
21
- __version_tuple__ = version_tuple = (0, 6, 0)
20
+ __version__ = version = '0.6.1'
21
+ __version_tuple__ = version_tuple = (0, 6, 1)
@@ -5,6 +5,7 @@ dynamic = ["version"]
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.9"
7
7
  dependencies = [
8
+ "requests",
8
9
  "pydantic>=2.0",
9
10
  "jinja2",
10
11
  "rich",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes