amsdal_ml 0.1.1__tar.gz → 0.1.2__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.
Files changed (66) hide show
  1. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/PKG-INFO +1 -1
  2. amsdal_ml-0.1.2/amsdal_ml/__about__.py +1 -0
  3. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/migrations/0000_initial.py +3 -3
  4. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_ingesting/default_ingesting.py +4 -4
  5. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_retrievers/default_retriever.py +4 -4
  6. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/models/embedding_model.py +2 -2
  7. amsdal_ml-0.1.2/change-logs.md +11 -0
  8. amsdal_ml-0.1.2/latest-changelogs.md +5 -0
  9. amsdal_ml-0.1.1/amsdal_ml/__about__.py +0 -1
  10. amsdal_ml-0.1.1/change-logs.md +0 -5
  11. amsdal_ml-0.1.1/latest-changelogs.md +0 -5
  12. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/.amsdal/.dependencies +0 -0
  13. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/.amsdal/.environment +0 -0
  14. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/.amsdal/.secrets +0 -0
  15. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/.amsdal-cli +0 -0
  16. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/.github/workflows/ci.yml +0 -0
  17. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/.github/workflows/release.yml +0 -0
  18. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/.github/workflows/tag_check.yml +0 -0
  19. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/.gitignore +0 -0
  20. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/README.md +0 -0
  21. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/Third-Party Materials - AMSDAL Dependencies - License Notices.md +0 -0
  22. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/__init__.py +0 -0
  23. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/agents/__init__.py +0 -0
  24. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/agents/agent.py +0 -0
  25. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/agents/default_qa_agent.py +0 -0
  26. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/agents/promts/__init__.py +0 -0
  27. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/agents/promts/react_chat.prompt +0 -0
  28. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/agents/retriever_tool.py +0 -0
  29. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/app.py +0 -0
  30. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/fileio/__init__.py +0 -0
  31. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/fileio/base_loader.py +0 -0
  32. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/fileio/openai_loader.py +0 -0
  33. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/mcp_client/__init__.py +0 -0
  34. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/mcp_client/base.py +0 -0
  35. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/mcp_client/http_client.py +0 -0
  36. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/mcp_client/stdio_client.py +0 -0
  37. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/mcp_server/__init__.py +0 -0
  38. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/mcp_server/server_retriever_stdio.py +0 -0
  39. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_config.py +0 -0
  40. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_ingesting/__init__.py +0 -0
  41. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_ingesting/embedding_data.py +0 -0
  42. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_ingesting/ingesting.py +0 -0
  43. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_ingesting/openai_ingesting.py +0 -0
  44. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_models/__init__.py +0 -0
  45. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_models/models.py +0 -0
  46. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_models/openai_model.py +0 -0
  47. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_retrievers/__init__.py +0 -0
  48. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_retrievers/openai_retriever.py +0 -0
  49. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/ml_retrievers/retriever.py +0 -0
  50. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/models/__init__.py +0 -0
  51. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/amsdal_ml/py.typed +0 -0
  52. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/config.yml +0 -0
  53. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/license_check.py +0 -0
  54. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/pyproject.toml +0 -0
  55. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/scripts/release.sh +0 -0
  56. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/scripts/tag_check.sh +0 -0
  57. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/tests/__init__.py +0 -0
  58. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/tests/agents_tests/__init__.py +0 -0
  59. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/tests/agents_tests/test_arun.py +0 -0
  60. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/tests/agents_tests/test_astream.py +0 -0
  61. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/tests/agents_tests/test_astream_final_only.py +0 -0
  62. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/tests/agents_tests/test_fakes.py +0 -0
  63. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/tests/agents_tests/test_tool_call_arguments_async.py +0 -0
  64. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/tests/conftest.py +0 -0
  65. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/tests/test_openai_model.py +0 -0
  66. {amsdal_ml-0.1.1 → amsdal_ml-0.1.2}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amsdal_ml
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: amsdal_ml plugin for AMSDAL Framework
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: aiohttp==3.12.15
@@ -0,0 +1 @@
1
+ __version__ = '0.1.2'
@@ -9,10 +9,10 @@ class Migration(migrations.Migration):
9
9
  class_name="EmbeddingModel",
10
10
  new_schema={
11
11
  "title": "EmbeddingModel",
12
- "required": ["object_class", "object_id", "chunk_index", "raw_text", "embedding"],
12
+ "required": ["data_object_class", "data_object_id", "chunk_index", "raw_text", "embedding"],
13
13
  "properties": {
14
- "object_class": {"type": "string", "title": "Linked object class"},
15
- "object_id": {"type": "string", "title": "Linked object ID"},
14
+ "data_object_class": {"type": "string", "title": "Linked object class"},
15
+ "data_object_id": {"type": "string", "title": "Linked object ID"},
16
16
  "chunk_index": {"type": "integer", "title": "Chunk index"},
17
17
  "raw_text": {"type": "string", "title": "Raw text used for embedding"},
18
18
  "embedding": {
@@ -288,8 +288,8 @@ class DefaultIngesting(MLIngesting):
288
288
  object_class, object_id = self._resolve_link(instance)
289
289
  objs = [
290
290
  EmbeddingModel(
291
- object_class=object_class,
292
- object_id=object_id,
291
+ data_object_class=object_class,
292
+ data_object_id=object_id,
293
293
  chunk_index=r.chunk_index,
294
294
  raw_text=r.raw_text,
295
295
  embedding=r.embedding,
@@ -305,8 +305,8 @@ class DefaultIngesting(MLIngesting):
305
305
  object_class, object_id = self._resolve_link(instance)
306
306
  objs = [
307
307
  EmbeddingModel(
308
- object_class=object_class,
309
- object_id=object_id,
308
+ data_object_class=object_class,
309
+ data_object_id=object_id,
310
310
  chunk_index=r.chunk_index,
311
311
  raw_text=r.raw_text,
312
312
  embedding=r.embedding,
@@ -60,8 +60,8 @@ class DefaultRetriever(MLRetriever, ABC):
60
60
 
61
61
  return [
62
62
  RetrievalChunk(
63
- object_class=r.object_class,
64
- object_id=r.object_id,
63
+ object_class=r.data_object_class,
64
+ object_id=r.data_object_id,
65
65
  chunk_index=r.chunk_index,
66
66
  raw_text=(r.raw_text or '').strip(),
67
67
  distance=float(getattr(r, 'distance', math.inf)),
@@ -94,8 +94,8 @@ class DefaultRetriever(MLRetriever, ABC):
94
94
 
95
95
  return [
96
96
  RetrievalChunk(
97
- object_class=r.object_class,
98
- object_id=r.object_id,
97
+ object_class=r.data_object_class,
98
+ object_id=r.data_object_id,
99
99
  chunk_index=r.chunk_index,
100
100
  raw_text=(r.raw_text or '').strip(),
101
101
  distance=float(getattr(r, 'distance', math.inf)),
@@ -10,8 +10,8 @@ class EmbeddingModel(Model):
10
10
  __module_type__ = ModuleType.CONTRIB
11
11
  __table_name__ = "embedding_model"
12
12
 
13
- object_class: str = Field(..., title="Linked object class")
14
- object_id: str = Field(..., title="Linked object ID")
13
+ data_object_class: str = Field(..., title="Linked object class")
14
+ data_object_id: str = Field(..., title="Linked object ID")
15
15
 
16
16
  chunk_index: int = Field(..., title="Chunk index")
17
17
  raw_text: str = Field(..., title="Raw text used for embedding")
@@ -0,0 +1,11 @@
1
+ ## [v0.1.1](https://pypi.org/project/amsdal_ml/0.1.1/) - 2025-10-08
2
+
3
+ ### Interface of BaseFileLoader & OpenAI-based PDF file loader
4
+
5
+ - BaseFileLoader interface and OpenAI Files API implementation
6
+
7
+ ## [v0.1.0](https://pypi.org/project/amsdal_ml/0.1.0/) - 2025-09-22
8
+
9
+ ### Core * OpenAI-based implementations
10
+
11
+ - Interfaces and default OpenAI-based implementations
@@ -0,0 +1,5 @@
1
+ ## [v0.1.2](https://pypi.org/project/amsdal_ml/0.1.2/) - 2025-10-08
2
+
3
+ ### Changed object_id in EmbeddingModel
4
+
5
+ - Fix for UserWarning: Field name "object_id" in "EmbeddingModel" shadows an attribute in parent "Model"
@@ -1 +0,0 @@
1
- __version__ = '0.1.1'
@@ -1,5 +0,0 @@
1
- ## [v0.1.0](https://pypi.org/project/amsdal_ml/0.1.0/) - 2025-09-22
2
-
3
- ### Core * OpenAI-based implementations
4
-
5
- - Interfaces and default OpenAI-based implementations
@@ -1,5 +0,0 @@
1
- ## [v0.1.1](https://pypi.org/project/amsdal_ml/0.1.0/) - 2025-10-08
2
-
3
- ### Interface of BaseFileLoader & OpenAI-based PDF file loader
4
-
5
- - BaseFileLoader interface and OpenAI Files API implementation
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