Workbench
These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.
- Model reply
{"data":[{"embedding":[-0.30419921875,-0.42626953125,-0.288330078125,-0.5634765625,0.04010009765625,0.0148773193359375,-0.0760498046875,0.56396484375],"index":0},{"embedding":[-0.296875,-0.2344970703125,-0.12493896484375,-0.1837158203125,-0.27587890625,-0.448974609375,-0.44287109375,0.57763671875],"index":1}],"inputTokens":12}
Worked example - 8
- Model reply
{"data":[{"embedding":[-0.371826171875,-0.1143798828125,-0.3408203125,-0.61962890625,0.260986328125,0.17041015625,0.39453125,0.3095703125],"index":0},{"embedding":[0.09954833984375,-0.032684326171875,-0.0149383544921875,-0.330810546875,0.1993408203125,-0.039276123046875,0.37841796875,0.83349609375],"index":1}],"inputTokens":18}
Match a support question - 8
- Model reply
{"data":[{"embedding":[-0.2061767578125,0.56787109375,0.0058441162109375,-0.0806884765625,-0.2802734375,-0.412109375,0.335693359375,0.51708984375],"index":0},{"embedding":[-0.364013671875,0.1302490234375,0.0587158203125,-0.55712890625,0.193115234375,-0.1513671875,0.01456451416015625,0.6904296875],"index":1}],"inputTokens":15}
Compare travel notes - 8
This example starts at $0.000026 per 1,000 tokens. The Playground updates the estimate when you change the settings.
