Características
- Entrada
- texto, imágenes, documentos
- Salida
- texto
- Tamaño del contexto
- 1 000 000 tokens
- Longitud máxima de respuesta
- 64 000 tokens
- Niveles de razonamiento
- bajo, medio, alto, muy alto, max
- Funciones
- razonamiento, llamada a funciones
1,2 $
Costo del prompt
(por 1M tokens)
3,24 $
Costo de la respuesta
(por 1M tokens)
BotHub: Try neural networks for freebot
Code example and API for step-5We offer full access to the OpenAI API through our service. All our endpoints fully comply with OpenAI endpoints and can be used both with plugins and when developing your own software through the SDK.Create API key
Javascript
Python
Curl
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: '<your bothub access token>',
baseURL: 'https://openai.bothub.chat/v1'
});
// Sync - Text generation
async function main() {
const chatCompletion = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'step-5',
});
}
// Async - Text generation
async function main() {
const stream = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'step-5',
stream: true
});
for await (const chunk of stream) {
const part: string | null = chunk.choices[0].delta?.content ?? null;
}
}
main();
Cómo funciona step-5?
Los bothubs recopilan información...
Preguntas frecuentes sobre step-5
¿Se pueden usar los resultados de step-5 con fines comerciales?
Puede usar los resultados generados con fines comerciales. Todos los derechos sobre el contenido creado le pertenecen. La única restricción: asegúrese de que la solicitud no incluya material de terceros protegido por derechos de autor. El usuario es responsable de respetar los derechos sobre los datos de entrada.