unitysvc-data 0.1.6__tar.gz → 0.1.8__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 (133) hide show
  1. {unitysvc_data-0.1.6/src/unitysvc_data.egg-info → unitysvc_data-0.1.8}/PKG-INFO +1 -1
  2. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/pyproject.toml +1 -1
  3. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/_manifest.json +346 -18
  4. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/api/connectivity/README.md +5 -7
  5. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/api/connectivity/connectivity-v1.sh.j2 +5 -7
  6. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-anthropic/README.md +10 -6
  7. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-anthropic/code-example-v1.py → unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-anthropic/code-example-v1.py.j2 +2 -2
  8. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-embed-image-javascript/README.md +32 -0
  9. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-embed-image-javascript/code-example-embed-image-v1.js.j2 +36 -0
  10. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-embed-image-requests/README.md +33 -0
  11. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-embed-image-requests/code-example-embed-image-v1.py.j2 +38 -0
  12. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-embed-image-shell/README.md +32 -0
  13. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-embed-image-shell/code-example-embed-image-v1.sh.j2 +21 -0
  14. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-embed-javascript/README.md +10 -9
  15. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-embed-javascript/code-example-embed-v1.js → unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-embed-javascript/code-example-embed-v1.js.j2 +3 -5
  16. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-embed-requests/README.md +10 -11
  17. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-embed-requests/code-example-embed-v1.py → unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-embed-requests/code-example-embed-v1.py.j2 +3 -7
  18. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-embed-shell/README.md +10 -9
  19. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-embed-shell/code-example-embed-v1.sh.j2 +12 -0
  20. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-fc-requests/README.md +10 -9
  21. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-fc-requests/code-example-fc-v1.py → unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-fc-requests/code-example-fc-v1.py.j2 +3 -7
  22. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-guard-javascript/README.md +28 -0
  23. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-guard-javascript/code-example-guard-v1.js.j2 +29 -0
  24. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-guard-requests/README.md +10 -9
  25. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-guard-requests/code-example-guard-v1.py → unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-guard-requests/code-example-guard-v1.py.j2 +3 -7
  26. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-guard-shell/README.md +28 -0
  27. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-guard-shell/code-example-guard-v1.sh.j2 +14 -0
  28. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-image-javascript/README.md +33 -0
  29. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-image-javascript/code-example-image-v1.js.j2 +33 -0
  30. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-image-requests/README.md +8 -9
  31. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-image-requests/code-example-image-v1.py.j2 +28 -0
  32. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-image-shell/README.md +33 -0
  33. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-image-shell/code-example-image-v1.sh.j2 +28 -0
  34. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-imagetoimage-javascript/README.md +32 -0
  35. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-imagetoimage-javascript/code-example-imagetoimage-v1.js.j2 +38 -0
  36. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-imagetoimage-requests/README.md +34 -0
  37. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-imagetoimage-requests/code-example-imagetoimage-v1.py.j2 +26 -0
  38. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-imagetoimage-shell/README.md +32 -0
  39. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-imagetoimage-shell/code-example-imagetoimage-v1.sh.j2 +21 -0
  40. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-javascript/README.md +10 -9
  41. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-javascript/code-example-v1.js → unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-javascript/code-example-v1.js.j2 +3 -5
  42. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-openai/README.md +10 -9
  43. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-openai/code-example-v1.py → unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-openai/code-example-v1.py.j2 +2 -2
  44. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-openai-javascript/README.md +10 -6
  45. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-openai-javascript/code-example-v1.js → unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-openai-javascript/code-example-v1.js.j2 +2 -2
  46. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-requests/README.md +11 -12
  47. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-requests/code-example-v1.py → unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-requests/code-example-v1.py.j2 +3 -7
  48. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-rerank-javascript/README.md +28 -0
  49. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-rerank-javascript/code-example-rerank-v1.js.j2 +30 -0
  50. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-rerank-requests/README.md +10 -9
  51. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-rerank-requests/code-example-rerank-v1.py → unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-rerank-requests/code-example-rerank-v1.py.j2 +3 -7
  52. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-rerank-shell/README.md +28 -0
  53. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-rerank-shell/code-example-rerank-v1.sh.j2 +20 -0
  54. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-sentencetransformers-javascript/README.md +28 -0
  55. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-sentencetransformers-javascript/code-example-sentencetransformers-v1.js.j2 +31 -0
  56. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-sentencetransformers-requests/README.md +29 -0
  57. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-sentencetransformers-requests/code-example-sentencetransformers-v1.py.j2 +23 -0
  58. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-sentencetransformers-shell/README.md +28 -0
  59. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-sentencetransformers-shell/code-example-sentencetransformers-v1.sh.j2 +18 -0
  60. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-shell/README.md +10 -9
  61. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-shell/code-example-v1.sh.j2 +15 -0
  62. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-streaming-openai/README.md +10 -5
  63. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-streaming-openai/code-example-v1.py → unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-streaming-openai/code-example-v1.py.j2 +2 -2
  64. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-streaming-openai-javascript/README.md +10 -5
  65. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-streaming-openai-javascript/code-example-v1.js → unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-streaming-openai-javascript/code-example-v1.js.j2 +2 -2
  66. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-transcription-javascript/README.md +34 -0
  67. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-transcription-javascript/code-example-transcription-v1.js.j2 +35 -0
  68. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-transcription-requests/README.md +8 -5
  69. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-transcription-requests/code-example-transcription-v1.py.j2 +23 -0
  70. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-transcription-shell/README.md +32 -0
  71. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-transcription-shell/code-example-transcription-v1.sh.j2 +13 -0
  72. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-tts-javascript/README.md +33 -0
  73. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-tts-javascript/code-example-tts-v1.js.j2 +31 -0
  74. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-tts-requests/README.md +8 -9
  75. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-tts-requests/code-example-tts-v1.py.j2 +25 -0
  76. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-tts-shell/README.md +33 -0
  77. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-tts-shell/code-example-tts-v1.sh.j2 +20 -0
  78. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-ttv-javascript/README.md +32 -0
  79. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-ttv-javascript/code-example-ttv-v1.js.j2 +30 -0
  80. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-ttv-requests/README.md +33 -0
  81. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-ttv-requests/code-example-ttv-v1.py.j2 +19 -0
  82. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-ttv-shell/README.md +32 -0
  83. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-ttv-shell/code-example-ttv-v1.sh.j2 +15 -0
  84. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-vision-javascript/README.md +33 -0
  85. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-vision-javascript/code-example-vision-v1.js.j2 +36 -0
  86. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/code-example-vision-requests/README.md +8 -5
  87. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-vision-requests/code-example-vision-v1.py.j2 +31 -0
  88. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-vision-shell/README.md +32 -0
  89. unitysvc_data-0.1.8/src/unitysvc_data/examples/llm/code-example-vision-shell/code-example-vision-v1.sh.j2 +23 -0
  90. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/s3/code-example/README.md +1 -1
  91. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/s3/code-example/code-example-v1.py.j2 +12 -11
  92. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/s3/connectivity/README.md +1 -1
  93. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/s3/connectivity/connectivity-v1.py.j2 +9 -8
  94. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/smtp/connectivity/connectivity-v1.sh.j2 +15 -15
  95. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/smtp/connectivity/connectivity-v2.sh.j2 +18 -18
  96. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8/src/unitysvc_data.egg-info}/PKG-INFO +1 -1
  97. unitysvc_data-0.1.8/src/unitysvc_data.egg-info/SOURCES.txt +124 -0
  98. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-embed-shell/code-example-embed-v1.sh +0 -16
  99. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-image-requests/code-example-image-v1.py +0 -31
  100. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-shell/code-example-v1.sh +0 -19
  101. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-transcription-requests/code-example-transcription-v1.py +0 -26
  102. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-tts-requests/code-example-tts-v1.py +0 -28
  103. unitysvc_data-0.1.6/src/unitysvc_data/examples/llm/code-example-vision-requests/code-example-vision-v1.py +0 -34
  104. unitysvc_data-0.1.6/src/unitysvc_data.egg-info/SOURCES.txt +0 -76
  105. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/LICENSE +0 -0
  106. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/README.md +0 -0
  107. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/setup.cfg +0 -0
  108. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/__init__.py +0 -0
  109. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/_registry.py +0 -0
  110. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/_version.py +0 -0
  111. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/cli.py +0 -0
  112. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/description/README.md +0 -0
  113. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/description/description-v1.md +0 -0
  114. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/request-template/README.md +0 -0
  115. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/llm/request-template/request-template-v1.json +0 -0
  116. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/notification/description/README.md +0 -0
  117. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/notification/description/description-v1.md +0 -0
  118. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/recommender/description/README.md +0 -0
  119. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/recommender/description/description-v1.md +0 -0
  120. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/s3/description/README.md +0 -0
  121. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/s3/description/description-v1.md +0 -0
  122. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/smtp/connectivity/README.md +0 -0
  123. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/uptime/description/README.md +0 -0
  124. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/examples/uptime/description/description-v1.md +0 -0
  125. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/presets.py +0 -0
  126. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data/py.typed +0 -0
  127. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data.egg-info/dependency_links.txt +0 -0
  128. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data.egg-info/entry_points.txt +0 -0
  129. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data.egg-info/requires.txt +0 -0
  130. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/src/unitysvc_data.egg-info/top_level.txt +0 -0
  131. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/tests/test_build.py +0 -0
  132. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/tests/test_cli.py +0 -0
  133. {unitysvc_data-0.1.6 → unitysvc_data-0.1.8}/tests/test_presets.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitysvc-data
3
- Version: 0.1.6
3
+ Version: 0.1.8
4
4
  Summary: Standard examples and presets for UnitySVC data packages
5
5
  Author-email: Bo Peng <bo.peng@unitysvc.com>
6
6
  Maintainer-email: Bo Peng <bo.peng@unitysvc.com>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "unitysvc-data"
7
- version = "0.1.6"
7
+ version = "0.1.8"
8
8
  description = "Standard examples and presets for UnitySVC data packages"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "Bo Peng", email = "bo.peng@unitysvc.com" }]
@@ -2,23 +2,47 @@
2
2
  "aliases": {
3
3
  "api_connectivity": "api_connectivity_v1",
4
4
  "llm_code_example_anthropic": "llm_code_example_anthropic_v1",
5
+ "llm_code_example_embed_image_javascript": "llm_code_example_embed_image_javascript_v1",
6
+ "llm_code_example_embed_image_requests": "llm_code_example_embed_image_requests_v1",
7
+ "llm_code_example_embed_image_shell": "llm_code_example_embed_image_shell_v1",
5
8
  "llm_code_example_embed_javascript": "llm_code_example_embed_javascript_v1",
6
9
  "llm_code_example_embed_requests": "llm_code_example_embed_requests_v1",
7
10
  "llm_code_example_embed_shell": "llm_code_example_embed_shell_v1",
8
11
  "llm_code_example_fc_requests": "llm_code_example_fc_requests_v1",
12
+ "llm_code_example_guard_javascript": "llm_code_example_guard_javascript_v1",
9
13
  "llm_code_example_guard_requests": "llm_code_example_guard_requests_v1",
14
+ "llm_code_example_guard_shell": "llm_code_example_guard_shell_v1",
15
+ "llm_code_example_image_javascript": "llm_code_example_image_javascript_v1",
10
16
  "llm_code_example_image_requests": "llm_code_example_image_requests_v1",
17
+ "llm_code_example_image_shell": "llm_code_example_image_shell_v1",
18
+ "llm_code_example_imagetoimage_javascript": "llm_code_example_imagetoimage_javascript_v1",
19
+ "llm_code_example_imagetoimage_requests": "llm_code_example_imagetoimage_requests_v1",
20
+ "llm_code_example_imagetoimage_shell": "llm_code_example_imagetoimage_shell_v1",
11
21
  "llm_code_example_javascript": "llm_code_example_javascript_v1",
12
22
  "llm_code_example_openai": "llm_code_example_openai_v1",
13
23
  "llm_code_example_openai_javascript": "llm_code_example_openai_javascript_v1",
14
24
  "llm_code_example_requests": "llm_code_example_requests_v1",
25
+ "llm_code_example_rerank_javascript": "llm_code_example_rerank_javascript_v1",
15
26
  "llm_code_example_rerank_requests": "llm_code_example_rerank_requests_v1",
27
+ "llm_code_example_rerank_shell": "llm_code_example_rerank_shell_v1",
28
+ "llm_code_example_sentencetransformers_javascript": "llm_code_example_sentencetransformers_javascript_v1",
29
+ "llm_code_example_sentencetransformers_requests": "llm_code_example_sentencetransformers_requests_v1",
30
+ "llm_code_example_sentencetransformers_shell": "llm_code_example_sentencetransformers_shell_v1",
16
31
  "llm_code_example_shell": "llm_code_example_shell_v1",
17
32
  "llm_code_example_streaming_openai": "llm_code_example_streaming_openai_v1",
18
33
  "llm_code_example_streaming_openai_javascript": "llm_code_example_streaming_openai_javascript_v1",
34
+ "llm_code_example_transcription_javascript": "llm_code_example_transcription_javascript_v1",
19
35
  "llm_code_example_transcription_requests": "llm_code_example_transcription_requests_v1",
36
+ "llm_code_example_transcription_shell": "llm_code_example_transcription_shell_v1",
37
+ "llm_code_example_tts_javascript": "llm_code_example_tts_javascript_v1",
20
38
  "llm_code_example_tts_requests": "llm_code_example_tts_requests_v1",
39
+ "llm_code_example_tts_shell": "llm_code_example_tts_shell_v1",
40
+ "llm_code_example_ttv_javascript": "llm_code_example_ttv_javascript_v1",
41
+ "llm_code_example_ttv_requests": "llm_code_example_ttv_requests_v1",
42
+ "llm_code_example_ttv_shell": "llm_code_example_ttv_shell_v1",
43
+ "llm_code_example_vision_javascript": "llm_code_example_vision_javascript_v1",
21
44
  "llm_code_example_vision_requests": "llm_code_example_vision_requests_v1",
45
+ "llm_code_example_vision_shell": "llm_code_example_vision_shell_v1",
22
46
  "llm_description": "llm_description_v1",
23
47
  "llm_request_template": "llm_request_template_v1",
24
48
  "notification_description": "notification_description_v1",
@@ -47,7 +71,7 @@
47
71
  "llm_code_example_anthropic_v1": {
48
72
  "category": "code_example",
49
73
  "description": "Python example: send a message to an Anthropic-API-compatible LLM using the anthropic SDK",
50
- "example_file": "llm/code-example-anthropic/code-example-v1.py",
74
+ "example_file": "llm/code-example-anthropic/code-example-v1.py.j2",
51
75
  "is_active": true,
52
76
  "is_public": true,
53
77
  "meta": {
@@ -60,10 +84,50 @@
60
84
  "source_readme": "llm/code-example-anthropic/README.md",
61
85
  "version": 1
62
86
  },
87
+ "llm_code_example_embed_image_javascript_v1": {
88
+ "category": "code_example",
89
+ "description": "JavaScript example: embed an image via /embed (Cohere v2-style)",
90
+ "example_file": "llm/code-example-embed-image-javascript/code-example-embed-image-v1.js.j2",
91
+ "is_active": true,
92
+ "is_public": true,
93
+ "meta": {},
94
+ "mime_type": "javascript",
95
+ "preset_name": "llm_code_example_embed_image_javascript",
96
+ "source_readme": "llm/code-example-embed-image-javascript/README.md",
97
+ "version": 1
98
+ },
99
+ "llm_code_example_embed_image_requests_v1": {
100
+ "category": "code_example",
101
+ "description": "Python example: embed an image via /embed (Cohere v2-style)",
102
+ "example_file": "llm/code-example-embed-image-requests/code-example-embed-image-v1.py.j2",
103
+ "is_active": true,
104
+ "is_public": true,
105
+ "meta": {
106
+ "requirements": [
107
+ "requests"
108
+ ]
109
+ },
110
+ "mime_type": "python",
111
+ "preset_name": "llm_code_example_embed_image_requests",
112
+ "source_readme": "llm/code-example-embed-image-requests/README.md",
113
+ "version": 1
114
+ },
115
+ "llm_code_example_embed_image_shell_v1": {
116
+ "category": "code_example",
117
+ "description": "Bash example: embed an image via /embed (Cohere v2-style) using curl",
118
+ "example_file": "llm/code-example-embed-image-shell/code-example-embed-image-v1.sh.j2",
119
+ "is_active": true,
120
+ "is_public": true,
121
+ "meta": {},
122
+ "mime_type": "bash",
123
+ "preset_name": "llm_code_example_embed_image_shell",
124
+ "source_readme": "llm/code-example-embed-image-shell/README.md",
125
+ "version": 1
126
+ },
63
127
  "llm_code_example_embed_javascript_v1": {
64
128
  "category": "code_example",
65
129
  "description": "JavaScript example: request OpenAI-compatible embeddings via fetch",
66
- "example_file": "llm/code-example-embed-javascript/code-example-embed-v1.js",
130
+ "example_file": "llm/code-example-embed-javascript/code-example-embed-v1.js.j2",
67
131
  "is_active": true,
68
132
  "is_public": true,
69
133
  "meta": {},
@@ -75,7 +139,7 @@
75
139
  "llm_code_example_embed_requests_v1": {
76
140
  "category": "code_example",
77
141
  "description": "Python example: request OpenAI-compatible embeddings for a list of inputs",
78
- "example_file": "llm/code-example-embed-requests/code-example-embed-v1.py",
142
+ "example_file": "llm/code-example-embed-requests/code-example-embed-v1.py.j2",
79
143
  "is_active": true,
80
144
  "is_public": true,
81
145
  "meta": {
@@ -91,7 +155,7 @@
91
155
  "llm_code_example_embed_shell_v1": {
92
156
  "category": "code_example",
93
157
  "description": "Shell example: request OpenAI-compatible embeddings via curl",
94
- "example_file": "llm/code-example-embed-shell/code-example-embed-v1.sh",
158
+ "example_file": "llm/code-example-embed-shell/code-example-embed-v1.sh.j2",
95
159
  "is_active": true,
96
160
  "is_public": true,
97
161
  "meta": {},
@@ -103,7 +167,7 @@
103
167
  "llm_code_example_fc_requests_v1": {
104
168
  "category": "code_example",
105
169
  "description": "Python example: chat completion with function/tool calling on an OpenAI-compatible LLM",
106
- "example_file": "llm/code-example-fc-requests/code-example-fc-v1.py",
170
+ "example_file": "llm/code-example-fc-requests/code-example-fc-v1.py.j2",
107
171
  "is_active": true,
108
172
  "is_public": true,
109
173
  "meta": {
@@ -116,10 +180,22 @@
116
180
  "source_readme": "llm/code-example-fc-requests/README.md",
117
181
  "version": 1
118
182
  },
183
+ "llm_code_example_guard_javascript_v1": {
184
+ "category": "code_example",
185
+ "description": "JavaScript example: send an unsafe prompt to a guard/safety model via /chat/completions",
186
+ "example_file": "llm/code-example-guard-javascript/code-example-guard-v1.js.j2",
187
+ "is_active": true,
188
+ "is_public": true,
189
+ "meta": {},
190
+ "mime_type": "javascript",
191
+ "preset_name": "llm_code_example_guard_javascript",
192
+ "source_readme": "llm/code-example-guard-javascript/README.md",
193
+ "version": 1
194
+ },
119
195
  "llm_code_example_guard_requests_v1": {
120
196
  "category": "code_example",
121
197
  "description": "Python example: probe a Llama-Guard-style safety classifier with a borderline prompt",
122
- "example_file": "llm/code-example-guard-requests/code-example-guard-v1.py",
198
+ "example_file": "llm/code-example-guard-requests/code-example-guard-v1.py.j2",
123
199
  "is_active": true,
124
200
  "is_public": true,
125
201
  "meta": {
@@ -132,10 +208,34 @@
132
208
  "source_readme": "llm/code-example-guard-requests/README.md",
133
209
  "version": 1
134
210
  },
211
+ "llm_code_example_guard_shell_v1": {
212
+ "category": "code_example",
213
+ "description": "Bash example: send an unsafe prompt to a guard/safety model via curl",
214
+ "example_file": "llm/code-example-guard-shell/code-example-guard-v1.sh.j2",
215
+ "is_active": true,
216
+ "is_public": true,
217
+ "meta": {},
218
+ "mime_type": "bash",
219
+ "preset_name": "llm_code_example_guard_shell",
220
+ "source_readme": "llm/code-example-guard-shell/README.md",
221
+ "version": 1
222
+ },
223
+ "llm_code_example_image_javascript_v1": {
224
+ "category": "code_example",
225
+ "description": "JavaScript example: generate an image via OpenAI-compatible /images/generations",
226
+ "example_file": "llm/code-example-image-javascript/code-example-image-v1.js.j2",
227
+ "is_active": true,
228
+ "is_public": true,
229
+ "meta": {},
230
+ "mime_type": "javascript",
231
+ "preset_name": "llm_code_example_image_javascript",
232
+ "source_readme": "llm/code-example-image-javascript/README.md",
233
+ "version": 1
234
+ },
135
235
  "llm_code_example_image_requests_v1": {
136
236
  "category": "code_example",
137
237
  "description": "Python example: generate an image from a text prompt via an OpenAI-compatible images endpoint",
138
- "example_file": "llm/code-example-image-requests/code-example-image-v1.py",
238
+ "example_file": "llm/code-example-image-requests/code-example-image-v1.py.j2",
139
239
  "is_active": true,
140
240
  "is_public": true,
141
241
  "meta": {
@@ -148,10 +248,62 @@
148
248
  "source_readme": "llm/code-example-image-requests/README.md",
149
249
  "version": 1
150
250
  },
251
+ "llm_code_example_image_shell_v1": {
252
+ "category": "code_example",
253
+ "description": "Bash example: generate an image via OpenAI-compatible /images/generations using curl",
254
+ "example_file": "llm/code-example-image-shell/code-example-image-v1.sh.j2",
255
+ "is_active": true,
256
+ "is_public": true,
257
+ "meta": {},
258
+ "mime_type": "bash",
259
+ "preset_name": "llm_code_example_image_shell",
260
+ "source_readme": "llm/code-example-image-shell/README.md",
261
+ "version": 1
262
+ },
263
+ "llm_code_example_imagetoimage_javascript_v1": {
264
+ "category": "code_example",
265
+ "description": "JavaScript example: image-to-image transform via Hugging Face /models/<model>",
266
+ "example_file": "llm/code-example-imagetoimage-javascript/code-example-imagetoimage-v1.js.j2",
267
+ "is_active": true,
268
+ "is_public": true,
269
+ "meta": {},
270
+ "mime_type": "javascript",
271
+ "preset_name": "llm_code_example_imagetoimage_javascript",
272
+ "source_readme": "llm/code-example-imagetoimage-javascript/README.md",
273
+ "version": 1
274
+ },
275
+ "llm_code_example_imagetoimage_requests_v1": {
276
+ "category": "code_example",
277
+ "description": "Python example: image-to-image transform via Hugging Face /models/<model>",
278
+ "example_file": "llm/code-example-imagetoimage-requests/code-example-imagetoimage-v1.py.j2",
279
+ "is_active": true,
280
+ "is_public": true,
281
+ "meta": {
282
+ "requirements": [
283
+ "requests"
284
+ ]
285
+ },
286
+ "mime_type": "python",
287
+ "preset_name": "llm_code_example_imagetoimage_requests",
288
+ "source_readme": "llm/code-example-imagetoimage-requests/README.md",
289
+ "version": 1
290
+ },
291
+ "llm_code_example_imagetoimage_shell_v1": {
292
+ "category": "code_example",
293
+ "description": "Bash example: image-to-image transform via Hugging Face /models/<model> using curl",
294
+ "example_file": "llm/code-example-imagetoimage-shell/code-example-imagetoimage-v1.sh.j2",
295
+ "is_active": true,
296
+ "is_public": true,
297
+ "meta": {},
298
+ "mime_type": "bash",
299
+ "preset_name": "llm_code_example_imagetoimage_shell",
300
+ "source_readme": "llm/code-example-imagetoimage-shell/README.md",
301
+ "version": 1
302
+ },
151
303
  "llm_code_example_javascript_v1": {
152
304
  "category": "code_example",
153
305
  "description": "JavaScript example: send a chat completion request to an OpenAI-compatible LLM",
154
- "example_file": "llm/code-example-javascript/code-example-v1.js",
306
+ "example_file": "llm/code-example-javascript/code-example-v1.js.j2",
155
307
  "is_active": true,
156
308
  "is_public": true,
157
309
  "meta": {},
@@ -163,7 +315,7 @@
163
315
  "llm_code_example_openai_javascript_v1": {
164
316
  "category": "code_example",
165
317
  "description": "JavaScript example: send a chat completion request to an OpenAI-compatible LLM using the openai SDK",
166
- "example_file": "llm/code-example-openai-javascript/code-example-v1.js",
318
+ "example_file": "llm/code-example-openai-javascript/code-example-v1.js.j2",
167
319
  "is_active": true,
168
320
  "is_public": true,
169
321
  "meta": {
@@ -179,7 +331,7 @@
179
331
  "llm_code_example_openai_v1": {
180
332
  "category": "code_example",
181
333
  "description": "Python example: send a chat completion request to an OpenAI-compatible LLM using the openai SDK",
182
- "example_file": "llm/code-example-openai/code-example-v1.py",
334
+ "example_file": "llm/code-example-openai/code-example-v1.py.j2",
183
335
  "is_active": true,
184
336
  "is_public": true,
185
337
  "meta": {
@@ -195,7 +347,7 @@
195
347
  "llm_code_example_requests_v1": {
196
348
  "category": "code_example",
197
349
  "description": "Python example: send a chat completion request to an OpenAI-compatible LLM using the requests library",
198
- "example_file": "llm/code-example-requests/code-example-v1.py",
350
+ "example_file": "llm/code-example-requests/code-example-v1.py.j2",
199
351
  "is_active": true,
200
352
  "is_public": true,
201
353
  "meta": {
@@ -208,10 +360,22 @@
208
360
  "source_readme": "llm/code-example-requests/README.md",
209
361
  "version": 1
210
362
  },
363
+ "llm_code_example_rerank_javascript_v1": {
364
+ "category": "code_example",
365
+ "description": "JavaScript example: rerank documents via /rerank",
366
+ "example_file": "llm/code-example-rerank-javascript/code-example-rerank-v1.js.j2",
367
+ "is_active": true,
368
+ "is_public": true,
369
+ "meta": {},
370
+ "mime_type": "javascript",
371
+ "preset_name": "llm_code_example_rerank_javascript",
372
+ "source_readme": "llm/code-example-rerank-javascript/README.md",
373
+ "version": 1
374
+ },
211
375
  "llm_code_example_rerank_requests_v1": {
212
376
  "category": "code_example",
213
377
  "description": "Python example: rerank a candidate document set against a query",
214
- "example_file": "llm/code-example-rerank-requests/code-example-rerank-v1.py",
378
+ "example_file": "llm/code-example-rerank-requests/code-example-rerank-v1.py.j2",
215
379
  "is_active": true,
216
380
  "is_public": true,
217
381
  "meta": {
@@ -224,10 +388,62 @@
224
388
  "source_readme": "llm/code-example-rerank-requests/README.md",
225
389
  "version": 1
226
390
  },
391
+ "llm_code_example_rerank_shell_v1": {
392
+ "category": "code_example",
393
+ "description": "Bash example: rerank documents via /rerank using curl",
394
+ "example_file": "llm/code-example-rerank-shell/code-example-rerank-v1.sh.j2",
395
+ "is_active": true,
396
+ "is_public": true,
397
+ "meta": {},
398
+ "mime_type": "bash",
399
+ "preset_name": "llm_code_example_rerank_shell",
400
+ "source_readme": "llm/code-example-rerank-shell/README.md",
401
+ "version": 1
402
+ },
403
+ "llm_code_example_sentencetransformers_javascript_v1": {
404
+ "category": "code_example",
405
+ "description": "JavaScript example: sentence-similarity via HF sentence-transformers /models/<model>",
406
+ "example_file": "llm/code-example-sentencetransformers-javascript/code-example-sentencetransformers-v1.js.j2",
407
+ "is_active": true,
408
+ "is_public": true,
409
+ "meta": {},
410
+ "mime_type": "javascript",
411
+ "preset_name": "llm_code_example_sentencetransformers_javascript",
412
+ "source_readme": "llm/code-example-sentencetransformers-javascript/README.md",
413
+ "version": 1
414
+ },
415
+ "llm_code_example_sentencetransformers_requests_v1": {
416
+ "category": "code_example",
417
+ "description": "Python example: sentence-similarity via HF sentence-transformers /models/<model>",
418
+ "example_file": "llm/code-example-sentencetransformers-requests/code-example-sentencetransformers-v1.py.j2",
419
+ "is_active": true,
420
+ "is_public": true,
421
+ "meta": {
422
+ "requirements": [
423
+ "requests"
424
+ ]
425
+ },
426
+ "mime_type": "python",
427
+ "preset_name": "llm_code_example_sentencetransformers_requests",
428
+ "source_readme": "llm/code-example-sentencetransformers-requests/README.md",
429
+ "version": 1
430
+ },
431
+ "llm_code_example_sentencetransformers_shell_v1": {
432
+ "category": "code_example",
433
+ "description": "Bash example: sentence-similarity via HF sentence-transformers /models/<model> using curl",
434
+ "example_file": "llm/code-example-sentencetransformers-shell/code-example-sentencetransformers-v1.sh.j2",
435
+ "is_active": true,
436
+ "is_public": true,
437
+ "meta": {},
438
+ "mime_type": "bash",
439
+ "preset_name": "llm_code_example_sentencetransformers_shell",
440
+ "source_readme": "llm/code-example-sentencetransformers-shell/README.md",
441
+ "version": 1
442
+ },
227
443
  "llm_code_example_shell_v1": {
228
444
  "category": "code_example",
229
445
  "description": "Shell example: send a chat completion request to an OpenAI-compatible LLM via curl",
230
- "example_file": "llm/code-example-shell/code-example-v1.sh",
446
+ "example_file": "llm/code-example-shell/code-example-v1.sh.j2",
231
447
  "is_active": true,
232
448
  "is_public": true,
233
449
  "meta": {},
@@ -239,7 +455,7 @@
239
455
  "llm_code_example_streaming_openai_javascript_v1": {
240
456
  "category": "code_example",
241
457
  "description": "JavaScript example: stream a chat completion from an OpenAI-compatible LLM using the openai SDK",
242
- "example_file": "llm/code-example-streaming-openai-javascript/code-example-v1.js",
458
+ "example_file": "llm/code-example-streaming-openai-javascript/code-example-v1.js.j2",
243
459
  "is_active": true,
244
460
  "is_public": true,
245
461
  "meta": {
@@ -255,7 +471,7 @@
255
471
  "llm_code_example_streaming_openai_v1": {
256
472
  "category": "code_example",
257
473
  "description": "Python example: stream a chat completion from an OpenAI-compatible LLM using the openai SDK",
258
- "example_file": "llm/code-example-streaming-openai/code-example-v1.py",
474
+ "example_file": "llm/code-example-streaming-openai/code-example-v1.py.j2",
259
475
  "is_active": true,
260
476
  "is_public": true,
261
477
  "meta": {
@@ -268,10 +484,22 @@
268
484
  "source_readme": "llm/code-example-streaming-openai/README.md",
269
485
  "version": 1
270
486
  },
487
+ "llm_code_example_transcription_javascript_v1": {
488
+ "category": "code_example",
489
+ "description": "JavaScript example: transcribe audio via OpenAI-compatible /audio/transcriptions",
490
+ "example_file": "llm/code-example-transcription-javascript/code-example-transcription-v1.js.j2",
491
+ "is_active": true,
492
+ "is_public": true,
493
+ "meta": {},
494
+ "mime_type": "javascript",
495
+ "preset_name": "llm_code_example_transcription_javascript",
496
+ "source_readme": "llm/code-example-transcription-javascript/README.md",
497
+ "version": 1
498
+ },
271
499
  "llm_code_example_transcription_requests_v1": {
272
500
  "category": "code_example",
273
501
  "description": "Python example: transcribe a pre-recorded audio file with an OpenAI-compatible audio transcription endpoint",
274
- "example_file": "llm/code-example-transcription-requests/code-example-transcription-v1.py",
502
+ "example_file": "llm/code-example-transcription-requests/code-example-transcription-v1.py.j2",
275
503
  "is_active": true,
276
504
  "is_public": true,
277
505
  "meta": {
@@ -284,10 +512,34 @@
284
512
  "source_readme": "llm/code-example-transcription-requests/README.md",
285
513
  "version": 1
286
514
  },
515
+ "llm_code_example_transcription_shell_v1": {
516
+ "category": "code_example",
517
+ "description": "Bash example: transcribe audio via OpenAI-compatible /audio/transcriptions using curl",
518
+ "example_file": "llm/code-example-transcription-shell/code-example-transcription-v1.sh.j2",
519
+ "is_active": true,
520
+ "is_public": true,
521
+ "meta": {},
522
+ "mime_type": "bash",
523
+ "preset_name": "llm_code_example_transcription_shell",
524
+ "source_readme": "llm/code-example-transcription-shell/README.md",
525
+ "version": 1
526
+ },
527
+ "llm_code_example_tts_javascript_v1": {
528
+ "category": "code_example",
529
+ "description": "JavaScript example: synthesize speech via OpenAI-compatible /audio/speech",
530
+ "example_file": "llm/code-example-tts-javascript/code-example-tts-v1.js.j2",
531
+ "is_active": true,
532
+ "is_public": true,
533
+ "meta": {},
534
+ "mime_type": "javascript",
535
+ "preset_name": "llm_code_example_tts_javascript",
536
+ "source_readme": "llm/code-example-tts-javascript/README.md",
537
+ "version": 1
538
+ },
287
539
  "llm_code_example_tts_requests_v1": {
288
540
  "category": "code_example",
289
541
  "description": "Python example: synthesize speech from text using an OpenAI-compatible audio/speech endpoint",
290
- "example_file": "llm/code-example-tts-requests/code-example-tts-v1.py",
542
+ "example_file": "llm/code-example-tts-requests/code-example-tts-v1.py.j2",
291
543
  "is_active": true,
292
544
  "is_public": true,
293
545
  "meta": {
@@ -300,10 +552,74 @@
300
552
  "source_readme": "llm/code-example-tts-requests/README.md",
301
553
  "version": 1
302
554
  },
555
+ "llm_code_example_tts_shell_v1": {
556
+ "category": "code_example",
557
+ "description": "Bash example: synthesize speech via OpenAI-compatible /audio/speech using curl",
558
+ "example_file": "llm/code-example-tts-shell/code-example-tts-v1.sh.j2",
559
+ "is_active": true,
560
+ "is_public": true,
561
+ "meta": {},
562
+ "mime_type": "bash",
563
+ "preset_name": "llm_code_example_tts_shell",
564
+ "source_readme": "llm/code-example-tts-shell/README.md",
565
+ "version": 1
566
+ },
567
+ "llm_code_example_ttv_javascript_v1": {
568
+ "category": "code_example",
569
+ "description": "JavaScript example: text-to-video via HF /models/<model>",
570
+ "example_file": "llm/code-example-ttv-javascript/code-example-ttv-v1.js.j2",
571
+ "is_active": true,
572
+ "is_public": true,
573
+ "meta": {},
574
+ "mime_type": "javascript",
575
+ "preset_name": "llm_code_example_ttv_javascript",
576
+ "source_readme": "llm/code-example-ttv-javascript/README.md",
577
+ "version": 1
578
+ },
579
+ "llm_code_example_ttv_requests_v1": {
580
+ "category": "code_example",
581
+ "description": "Python example: text-to-video via HF /models/<model>",
582
+ "example_file": "llm/code-example-ttv-requests/code-example-ttv-v1.py.j2",
583
+ "is_active": true,
584
+ "is_public": true,
585
+ "meta": {
586
+ "requirements": [
587
+ "requests"
588
+ ]
589
+ },
590
+ "mime_type": "python",
591
+ "preset_name": "llm_code_example_ttv_requests",
592
+ "source_readme": "llm/code-example-ttv-requests/README.md",
593
+ "version": 1
594
+ },
595
+ "llm_code_example_ttv_shell_v1": {
596
+ "category": "code_example",
597
+ "description": "Bash example: text-to-video via HF /models/<model> using curl",
598
+ "example_file": "llm/code-example-ttv-shell/code-example-ttv-v1.sh.j2",
599
+ "is_active": true,
600
+ "is_public": true,
601
+ "meta": {},
602
+ "mime_type": "bash",
603
+ "preset_name": "llm_code_example_ttv_shell",
604
+ "source_readme": "llm/code-example-ttv-shell/README.md",
605
+ "version": 1
606
+ },
607
+ "llm_code_example_vision_javascript_v1": {
608
+ "category": "code_example",
609
+ "description": "JavaScript example: describe an image via OpenAI-compatible /chat/completions vision messages",
610
+ "example_file": "llm/code-example-vision-javascript/code-example-vision-v1.js.j2",
611
+ "is_active": true,
612
+ "is_public": true,
613
+ "meta": {},
614
+ "mime_type": "javascript",
615
+ "preset_name": "llm_code_example_vision_javascript",
616
+ "source_readme": "llm/code-example-vision-javascript/README.md",
617
+ "version": 1
618
+ },
303
619
  "llm_code_example_vision_requests_v1": {
304
620
  "category": "code_example",
305
621
  "description": "Python example: ask a vision-capable LLM about a publicly-hosted image",
306
- "example_file": "llm/code-example-vision-requests/code-example-vision-v1.py",
622
+ "example_file": "llm/code-example-vision-requests/code-example-vision-v1.py.j2",
307
623
  "is_active": true,
308
624
  "is_public": true,
309
625
  "meta": {
@@ -316,6 +632,18 @@
316
632
  "source_readme": "llm/code-example-vision-requests/README.md",
317
633
  "version": 1
318
634
  },
635
+ "llm_code_example_vision_shell_v1": {
636
+ "category": "code_example",
637
+ "description": "Bash example: describe an image via OpenAI-compatible /chat/completions using curl",
638
+ "example_file": "llm/code-example-vision-shell/code-example-vision-v1.sh.j2",
639
+ "is_active": true,
640
+ "is_public": true,
641
+ "meta": {},
642
+ "mime_type": "bash",
643
+ "preset_name": "llm_code_example_vision_shell",
644
+ "source_readme": "llm/code-example-vision-shell/README.md",
645
+ "version": 1
646
+ },
319
647
  "llm_description_v1": {
320
648
  "category": "getting_started",
321
649
  "description": "Customer-facing overview of an OpenAI-compatible LLM gateway service",
@@ -25,15 +25,13 @@ proxy variants, any endpoint fronted by an HTTP gateway). The script
25
25
  | 5xx | fail | upstream broken |
26
26
  | 000 | fail | connect / DNS / timeout |
27
27
 
28
- ## Environment variables
28
+ ## Template variables (filled in by the platform when rendering for a given access interface)
29
29
 
30
- Provided identically by the test harness in both local and gateway
31
- modes, so the script does not branch on `local_testing`:
30
+ - `{{ service_base_url }}` endpoint base URL, taken from the listing's access interface.
32
31
 
33
- - `SERVICE_BASE_URL` upstream URL (local) or gateway URL (online).
34
- - `UNITYSVC_API_KEY` — optional. Seller's upstream api key if present
35
- in `upstream_access_config` (local mode), or the customer's gateway
36
- key (online mode). Sent as `Authorization: Bearer ...` when set.
32
+ ## Environment variables (read at runtime)
33
+
34
+ - `UNITYSVC_API_KEY` — optional. Sent as `Authorization: Bearer ...` when set. Either the seller's upstream API key (local mode, when `upstream_access_config` carries one) or the customer's svcpass / BYOK secret (gateway mode).
37
35
 
38
36
  ## Versions
39
37
 
@@ -3,15 +3,13 @@
3
3
  # variants). Verifies the endpoint is reachable AND serves a sensible
4
4
  # response. 404 / 5xx / DNS / timeout all count as failure.
5
5
  #
6
- # The harness sets the same env var names in both modes:
7
- # $SERVICE_BASE_URL — upstream URL (local) or gateway URL (online)
8
- # $UNITYSVC_API_KEY — upstream api_key if defined in upstream_access_config
9
- # (local), or the customer's gateway key (online)
10
- # Because the variable names are identical we don't branch on
11
- # local_testing for this test — the script works in both modes.
6
+ # The base URL is rendered into the script at template-render time
7
+ # (gateway URL for ``test_gateway`` context, upstream URL for
8
+ # ``test_local``). The API key intentionally stays as an env-var
9
+ # lookup never inline a real key into rendered output.
12
10
  set -o pipefail
13
11
 
14
- URL="${SERVICE_BASE_URL:?SERVICE_BASE_URL is not set}"
12
+ URL="{{ service_base_url }}"
15
13
 
16
14
  # Split the curl invocation rather than expanding an empty array under
17
15
  # `set -u` (bash 3.2 on macOS raises on "${arr[@]}" when arr is empty).
@@ -2,7 +2,7 @@
2
2
  preset_name = "llm_code_example_anthropic"
3
3
  category = "code_example"
4
4
  mime_type = "python"
5
- file = "code-example.py"
5
+ file = "code-example.py.j2"
6
6
  description = "Python example: send a message to an Anthropic-API-compatible LLM using the anthropic SDK"
7
7
  is_active = true
8
8
  is_public = true
@@ -21,12 +21,16 @@ rather than `choices[].message.content`. So Anthropic-shaped
21
21
  upstreams need their own preset rather than reusing
22
22
  `llm_code_example_openai`.
23
23
 
24
- ## Environment variables (all required)
24
+ ## Template variables (filled in by the platform when rendering for a given access interface)
25
25
 
26
- - `SERVICE_BASE_URL` — Messages endpoint, passed as the SDK's
27
- `base_url`.
28
- - `UNITYSVC_API_KEY` — passed as the SDK's `api_key`.
29
- - `MODEL` interface-specific model identifier.
26
+ - `{{ service_base_url }}` — endpoint base URL, taken from the listing's access interface.
27
+ - `{{ routing_key.model }}` — model id, taken from the access interface's routing key.
28
+
29
+ ## Environment variables (read at runtime)
30
+
31
+ Required:
32
+
33
+ - `UNITYSVC_API_KEY` — bearer token: customer's svcpass for gateway access, or an upstream API key when the seller / customer wires it as a secret (BYOK).
30
34
 
31
35
  ## Versions
32
36
 
@@ -3,12 +3,12 @@ import os
3
3
  from anthropic import Anthropic
4
4
 
5
5
  client = Anthropic(
6
- base_url=os.environ["SERVICE_BASE_URL"],
6
+ base_url="{{ service_base_url }}",
7
7
  api_key=os.environ["UNITYSVC_API_KEY"],
8
8
  )
9
9
 
10
10
  response = client.messages.create(
11
- model=os.environ["MODEL"],
11
+ model="{{ routing_key.model }}",
12
12
  max_tokens=1024,
13
13
  system="You are a helpful assistant.",
14
14
  messages=[