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?
