With our SDK, integrating your devices with the cloud is simpler than ever. Developers can quickly connect their apps to the cloud, ensuring seamless data synchronization, real-time updates, and remote accessibility. This means your users can access their data across multiple devices without any hassle, enjoying a consistent and uninterrupted experience.
Get access to our most powerful models with a few lines of code.
1 completion = client.chat.completions.create (
2 model = "text-davinci-003",
3 prompt = "Once upon a time",
4 max_tokens = 100
5 )
6 Connected ...,
7 Response: "Once upon a time, there was a unicorn"
import OceanAI from 'oceanai'
const oceanai = new OceanAI()
async function main(){
const assistant = await oceanai.createAssistant(
model : 'davinci',
assistant : 'chat' ,
language : 'en',
})
main()
Build AI assistants within your own applications that can leverage models, tools, and knowledge to do complex, multi-step tasks.