API Usage
Explore the powerful Built-In Functions (BIFs) provided by the BoxLang Couchbase Module for advanced caching, session storage, and AI vector search capabilities.
🎯 Core Provider Functions
couchbaseGetProvider()
provider = couchbaseGetProvider("default");
// Returns: CouchbaseCache instanceprovider = couchbaseGetProvider("myCache");
collection = provider.getCollection();couchbaseGetCluster()
cluster = couchbaseGetCluster("default");
// Returns: com.couchbase.client.java.ClustercouchbaseGetBucket()
couchbaseGetScope()
couchbaseGetCollection()
🤖 Vector Search Functions
couchbaseVectorSearch()
couchbaseVectorAdd()
couchbaseVectorGet()
couchbaseVectorDelete()
couchbaseVectorList()
📝 Query Functions
couchbaseQuery()
🎯 Complete Example: AI Chatbot
🎨 Helper Function: Get OpenAI Embedding
🔗 Next Steps
Last updated
Was this helpful?
