onlinepage/cogagent-chat

Public
44 runs

Run onlinepage/cogagent-chat with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
query
string
Describe this image.
Input query.
image
string
Input image.
history
string
[]
Input chat history in array [] string , format [(query,response)..]
max_length
integer
2048
max output length
temperature
number
0.9
temperature for the output.
top_p
number
0.8
top p for the VLM output.
use_cache
boolean
False
Whether to use cache for output or not (based on the transformers use_cache param)
do_sample
boolean
False
general transformer param do_sample.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output"
}