ballerinax/ai.wso2.integration Ballerina library

1.0.0

Overview

The ai.wso2.integration module provides a Ballerina ai:KnowledgeBase implementation for retrieving relevant content from a WSO2 Integration knowledge base.

Quickstart

Copy
import ballerina/ai;
import ballerinax/ai.wso2.integration;

integration:CloudKnowledgeBase knowledgeBase = check new (
    serviceUrl,
    {auth: {token: accessToken}}
);

ai:QueryMatch[] matches = check knowledgeBase.retrieve("How do I configure the integration?");

The implementation supports retrieval. Ingestion and deletion are not currently supported.

Import

import ballerinax/ai.wso2.integration;Copy

Other versions

1.0.0

Metadata

Released date: 9 days ago

Version: 1.0.0

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.13.0

GraalVM compatible: Yes


Pull count

Total: 5

Current verison: 5


Weekly downloads


Source repository


Keywords

Vendor/WSO2

Area/AI & Machine Learning

Type/Connector

Type/Knowledge Base

Name/WSO2 Integration Platform


Contributors