Documentation
Everything you need to know about AINative Studio
Quick Implementation
Get started with just a few lines of code
import { AINativeClient } from '@ainative/sdk';
// Initialize the client
const client = new AINativeClient({
apiKey: 'your_api_key',
options: {
enableAutocompletion: true,
enableSemanticSearch: true
}
});
// Use the AI-powered features
async function main() {
const results = await client.search({
query: 'implement authentication',
topK: 10
});
console.log('Search results:', results);
}
main();