mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-16 00:31:02 +02:00
feat: pluggable image-to-text service with OpenAI vision backend (#1038)
Adds a full-stack image description service: schema, base class,
OpenAI backend, gateway dispatch, client APIs (sync/async REST +
websocket), tg-describe-image CLI, IAM capability, and specs.
Closes #879
This commit is contained in:
parent
9136526863
commit
40f01c123b
42 changed files with 1845 additions and 14 deletions
|
|
@ -0,0 +1,21 @@
|
|||
type: object
|
||||
description: Image-to-text response
|
||||
required:
|
||||
- description
|
||||
properties:
|
||||
description:
|
||||
type: string
|
||||
description: Generated description of the image
|
||||
example: A red square on a white background.
|
||||
in_token:
|
||||
type: integer
|
||||
description: Number of input tokens consumed
|
||||
example: 245
|
||||
out_token:
|
||||
type: integer
|
||||
description: Number of output tokens generated
|
||||
example: 32
|
||||
model:
|
||||
type: string
|
||||
description: Model used to describe the image
|
||||
example: gpt-5-mini
|
||||
Loading…
Add table
Add a link
Reference in a new issue