ShuttleAI provides a platform for developers to easily integrate AI capabilities into their applications. They offer a powerful API for tasks like text completion, image generation, and chat interactions, with a variety of models to choose from, including their own Shuttle models. ShuttleAI aims to make AI accessible and affordable for developers, providing an interactive chat interface and documentation to streamline the development process.
shuttleai
const { LLMInterface } = require('llm-interface');
LLMInterface.setApiKey({'shuttleai': process.env.SHUTTLEAI_API_KEY});
async function main() {
try {
const response = await LLMInterface.sendMessage('shuttleai', 'Explain the importance of low latency LLMs.');
console.log(response.results);
} catch (error) {
console.error(error);
throw error;
}
}
main();
The following model aliases are provided for this provider.
default
: shuttle-2-turbolarge
: shuttle-2-turbosmall
: shuttle-2-turboagent
: shuttle-2-turbo
The following parameters can be passed through options
.
max_tokens
: Details not available, please refer to the LLM provider documentation.stream
: Details not available, please refer to the LLM provider documentation.tool_choice
: Details not available, please refer to the LLM provider documentation.tools
: Details not available, please refer to the LLM provider documentation.
- Streaming
- Tools
Details Pending: You can attempt to request an API key by visiting this URL.
To get an API key, first create a Shuttle AI account, then visit the link below.
Shuttle AI documentation is available here.