visionai-sdk-python 0.1.0rc3__tar.gz → 1.0.0__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 (27) hide show
  1. {visionai_sdk_python-0.1.0rc3/src/visionai_sdk_python.egg-info → visionai_sdk_python-1.0.0}/PKG-INFO +5 -5
  2. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/README.md +4 -4
  3. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0/src/visionai_sdk_python.egg-info}/PKG-INFO +5 -5
  4. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/.github/workflows/publish.yml +0 -0
  5. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/.gitignore +0 -0
  6. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/pyproject.toml +0 -0
  7. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/setup.cfg +0 -0
  8. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python/__init__.py +0 -0
  9. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python/_base.py +0 -0
  10. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python/_jwt_verifier.py +0 -0
  11. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python/async_client.py +0 -0
  12. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python/client.py +0 -0
  13. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python/constants.py +0 -0
  14. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python/endpoints.py +0 -0
  15. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python/exceptions.py +0 -0
  16. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python/models.py +0 -0
  17. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python/py.typed +0 -0
  18. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python.egg-info/SOURCES.txt +0 -0
  19. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python.egg-info/dependency_links.txt +0 -0
  20. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python.egg-info/requires.txt +0 -0
  21. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/src/visionai_sdk_python.egg-info/top_level.txt +0 -0
  22. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/tests/__init__.py +0 -0
  23. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/tests/constants.py +0 -0
  24. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/tests/test__base.py +0 -0
  25. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/tests/test_async_client.py +0 -0
  26. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/tests/test_client.py +0 -0
  27. {visionai_sdk_python-0.1.0rc3 → visionai_sdk_python-1.0.0}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: visionai-sdk-python
3
- Version: 0.1.0rc3
3
+ Version: 1.0.0
4
4
  Summary: VisionAI SDK for Python
5
5
  Author-email: Tony Yang <tonyyang@linkervision.com>
6
6
  Requires-Python: >=3.11
@@ -47,7 +47,7 @@ token = client.login("user@example.com", "your-password")
47
47
 
48
48
  # Submit VLM inference request
49
49
  response = client.chat({
50
- "img": "https://example.com/image.jpg", # or ["url1", "url2"] for multiple images
50
+ "img": "examplebase64",
51
51
  "prompt": "Describe this image",
52
52
  "temperature": 0.7,
53
53
  "max_tokens": 500
@@ -84,7 +84,7 @@ async def main():
84
84
 
85
85
  # Submit inference
86
86
  response = await client.chat({
87
- "img": "https://example.com/image.jpg",
87
+ "img": "examplebase64",
88
88
  "prompt": "What objects are in this image?",
89
89
  "temperature": 0.2
90
90
  })
@@ -134,7 +134,7 @@ from visionai_sdk_python.models import NIMRequestModel
134
134
 
135
135
  # Using dict
136
136
  response = client.chat({
137
- "img": "https://example.com/image.jpg",
137
+ "img": "examplebase64",
138
138
  "prompt": "Analyze this image",
139
139
  "temperature": 0.7,
140
140
  "max_tokens": 1000,
@@ -143,7 +143,7 @@ response = client.chat({
143
143
 
144
144
  # Using typed model
145
145
  request = NIMRequestModel(
146
- img=["https://example.com/img1.jpg", "https://example.com/img2.jpg"],
146
+ img=["examplebase64"],
147
147
  prompt="Compare these images",
148
148
  temperature=0.5,
149
149
  max_tokens=500
@@ -35,7 +35,7 @@ token = client.login("user@example.com", "your-password")
35
35
 
36
36
  # Submit VLM inference request
37
37
  response = client.chat({
38
- "img": "https://example.com/image.jpg", # or ["url1", "url2"] for multiple images
38
+ "img": "examplebase64",
39
39
  "prompt": "Describe this image",
40
40
  "temperature": 0.7,
41
41
  "max_tokens": 500
@@ -72,7 +72,7 @@ async def main():
72
72
 
73
73
  # Submit inference
74
74
  response = await client.chat({
75
- "img": "https://example.com/image.jpg",
75
+ "img": "examplebase64",
76
76
  "prompt": "What objects are in this image?",
77
77
  "temperature": 0.2
78
78
  })
@@ -122,7 +122,7 @@ from visionai_sdk_python.models import NIMRequestModel
122
122
 
123
123
  # Using dict
124
124
  response = client.chat({
125
- "img": "https://example.com/image.jpg",
125
+ "img": "examplebase64",
126
126
  "prompt": "Analyze this image",
127
127
  "temperature": 0.7,
128
128
  "max_tokens": 1000,
@@ -131,7 +131,7 @@ response = client.chat({
131
131
 
132
132
  # Using typed model
133
133
  request = NIMRequestModel(
134
- img=["https://example.com/img1.jpg", "https://example.com/img2.jpg"],
134
+ img=["examplebase64"],
135
135
  prompt="Compare these images",
136
136
  temperature=0.5,
137
137
  max_tokens=500
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: visionai-sdk-python
3
- Version: 0.1.0rc3
3
+ Version: 1.0.0
4
4
  Summary: VisionAI SDK for Python
5
5
  Author-email: Tony Yang <tonyyang@linkervision.com>
6
6
  Requires-Python: >=3.11
@@ -47,7 +47,7 @@ token = client.login("user@example.com", "your-password")
47
47
 
48
48
  # Submit VLM inference request
49
49
  response = client.chat({
50
- "img": "https://example.com/image.jpg", # or ["url1", "url2"] for multiple images
50
+ "img": "examplebase64",
51
51
  "prompt": "Describe this image",
52
52
  "temperature": 0.7,
53
53
  "max_tokens": 500
@@ -84,7 +84,7 @@ async def main():
84
84
 
85
85
  # Submit inference
86
86
  response = await client.chat({
87
- "img": "https://example.com/image.jpg",
87
+ "img": "examplebase64",
88
88
  "prompt": "What objects are in this image?",
89
89
  "temperature": 0.2
90
90
  })
@@ -134,7 +134,7 @@ from visionai_sdk_python.models import NIMRequestModel
134
134
 
135
135
  # Using dict
136
136
  response = client.chat({
137
- "img": "https://example.com/image.jpg",
137
+ "img": "examplebase64",
138
138
  "prompt": "Analyze this image",
139
139
  "temperature": 0.7,
140
140
  "max_tokens": 1000,
@@ -143,7 +143,7 @@ response = client.chat({
143
143
 
144
144
  # Using typed model
145
145
  request = NIMRequestModel(
146
- img=["https://example.com/img1.jpg", "https://example.com/img2.jpg"],
146
+ img=["examplebase64"],
147
147
  prompt="Compare these images",
148
148
  temperature=0.5,
149
149
  max_tokens=500