interhumanai 1.3.2__tar.gz → 1.3.4__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.
@@ -5,6 +5,19 @@ All notable changes to `interhumanai` are documented here. The package follows
5
5
  the TypeScript SDK (`@interhumanai/sdk`): both packages always carry the same
6
6
  version and release together.
7
7
 
8
+ ## 1.3.4
9
+
10
+ - The package's Repository and Changelog URLs point at
11
+ ``interhuman-core/interhuman-api``, where the repository now lives. No code
12
+ change.
13
+
14
+ ## 1.3.3
15
+
16
+ - Documented that Inter-2 Audio reports a subset of the signal types Inter-2
17
+ reports (agreement, confidence, frustration, hesitation, interest,
18
+ uncertainty), on ``UploadJobSignal.type`` and on the ``signal_type`` of
19
+ ``signal.detected``, ``signal.updated`` and ``signal.ended``. No behavior change.
20
+
8
21
  ## 1.3.2
9
22
 
10
23
  - ``Scope.UPLOAD`` and ``Scope.STREAM`` now cover every model their endpoint
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: interhumanai
3
- Version: 1.3.2
3
+ Version: 1.3.4
4
4
  Summary: First-party Python SDK for the Interhuman API: upload and stream social-signal analysis.
5
5
  Project-URL: Homepage, https://docs.interhuman.ai
6
- Project-URL: Repository, https://github.com/interhumanai/interhuman-api
7
- Project-URL: Changelog, https://github.com/interhumanai/interhuman-api/blob/main/sdk/python/CHANGELOG.md
6
+ Project-URL: Repository, https://github.com/interhuman-core/interhuman-api
7
+ Project-URL: Changelog, https://github.com/interhuman-core/interhuman-api/blob/main/sdk/python/CHANGELOG.md
8
8
  Author: Interhuman AI
9
9
  License-Expression: Apache-2.0
10
10
  License-File: LICENSE
@@ -344,7 +344,7 @@ Runnable scripts for every flow live in [`examples/`](examples/):
344
344
 
345
345
  ## Development
346
346
 
347
- The SDK lives in the [interhuman-api](https://github.com/interhumanai/interhuman-api)
347
+ The SDK lives in the [interhuman-api](https://github.com/interhuman-core/interhuman-api)
348
348
  repository under `sdk/python/`. Its tests live in `tests/sdk/python/` and run
349
349
  with the repository's main suite:
350
350
 
@@ -318,7 +318,7 @@ Runnable scripts for every flow live in [`examples/`](examples/):
318
318
 
319
319
  ## Development
320
320
 
321
- The SDK lives in the [interhuman-api](https://github.com/interhumanai/interhuman-api)
321
+ The SDK lives in the [interhuman-api](https://github.com/interhuman-core/interhuman-api)
322
322
  repository under `sdk/python/`. Its tests live in `tests/sdk/python/` and run
323
323
  with the repository's main suite:
324
324
 
@@ -31,8 +31,8 @@ classifiers = [
31
31
 
32
32
  [project.urls]
33
33
  Homepage = "https://docs.interhuman.ai"
34
- Repository = "https://github.com/interhumanai/interhuman-api"
35
- Changelog = "https://github.com/interhumanai/interhuman-api/blob/main/sdk/python/CHANGELOG.md"
34
+ Repository = "https://github.com/interhuman-core/interhuman-api"
35
+ Changelog = "https://github.com/interhuman-core/interhuman-api/blob/main/sdk/python/CHANGELOG.md"
36
36
 
37
37
  [tool.hatch.version]
38
38
  path = "src/interhumanai/_version.py"
@@ -1,3 +1,3 @@
1
1
  """Package version (single source of truth, read by hatchling at build time)."""
2
2
 
3
- __version__ = "1.3.2"
3
+ __version__ = "1.3.4"
@@ -187,6 +187,12 @@ class SignalDetectedData(BaseModel):
187
187
  sent on ``WS /v1/stream/analyze``, where it is ``["video"]``, and is
188
188
  ``None`` on ``WS /v2/stream/analyze``, which omits it because the
189
189
  session's model names the evidence instead.
190
+
191
+ On a ``WS /v2/stream/analyze`` session opened with
192
+ ``model=StreamModel.INTER_2_AUDIO``, the ``signal_type`` values are a
193
+ subset of the ones ``StreamModel.INTER_2`` reports: those it can hear
194
+ (agreement, confidence, frustration, hesitation, interest and
195
+ uncertainty).
190
196
  """
191
197
 
192
198
  signal_type: SignalType
@@ -210,6 +216,12 @@ class SignalUpdatedData(BaseModel):
210
216
  the set of analyses reporting the signal — is one of the things that emits
211
217
  ``signal.updated``. It is ``None`` on ``WS /v2/stream/analyze``, which
212
218
  omits it.
219
+
220
+ On a ``WS /v2/stream/analyze`` session opened with
221
+ ``model=StreamModel.INTER_2_AUDIO``, the ``signal_type`` values are a
222
+ subset of the ones ``StreamModel.INTER_2`` reports: those it can hear
223
+ (agreement, confidence, frustration, hesitation, interest and
224
+ uncertainty).
213
225
  """
214
226
 
215
227
  signal_type: SignalType
@@ -227,7 +239,14 @@ class SignalUpdatedEvent(_Envelope):
227
239
 
228
240
 
229
241
  class SignalEndedData(BaseModel):
230
- """End time of a signal that is no longer active."""
242
+ """End time of a signal that is no longer active.
243
+
244
+ On a ``WS /v2/stream/analyze`` session opened with
245
+ ``model=StreamModel.INTER_2_AUDIO``, the ``signal_type`` values are a
246
+ subset of the ones ``StreamModel.INTER_2`` reports: those it can hear
247
+ (agreement, confidence, frustration, hesitation, interest and
248
+ uncertainty).
249
+ """
231
250
 
232
251
  signal_type: SignalType
233
252
  end: float
@@ -272,7 +272,10 @@ class UploadJobSignal(BaseModel):
272
272
 
273
273
  It carries the window's span as its ``start`` and ``end``. Unlike the v1
274
274
  :class:`Signal`, it has no ``modality``: the job's ``model`` names the
275
- evidence the model read.
275
+ evidence the model read. On a ``UploadModel.INTER_2_AUDIO`` job, the
276
+ ``type`` values are a subset of the ones ``UploadModel.INTER_2`` reports:
277
+ those it can hear (agreement, confidence, frustration, hesitation, interest
278
+ and uncertainty).
276
279
  """
277
280
 
278
281
  type: SignalType
File without changes
File without changes