Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions en/Clients/LlamaIndex-Client-Embedded.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ from llama_index.core.agent import ReActAgent
import asyncio

client = BasicMCPClient(
"http://mcp.cloud.cdata.com/mcp",
"https://mcp.cloud.cdata.com/mcp",
headers={"Authorization": "Bearer OAUTH_JWT_TOKEN"}
)

async def main():
# List available tools
tools = await aget_tools_from_mcp_url("http://mcp.cloud.cdata.com/mcp", client=client)
tools = await aget_tools_from_mcp_url("https://mcp.cloud.cdata.com/mcp", client=client)

llm = OpenAI(model="gpt-4o", api_key="YOUR_OPENAI_KEY")
# Create ReActAgent
Expand Down
4 changes: 2 additions & 2 deletions en/Clients/LlamaIndex-Client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ from llama_index.core.agent import ReActAgent
import asyncio

client = BasicMCPClient(
"http://mcp.cloud.cdata.com/mcp",
"https://mcp.cloud.cdata.com/mcp",
headers={"Authorization": "Basic Base64-encoded (CONNECTAI_USERNAME:PAT)"}
)

async def main():
# List available tools
tools = await aget_tools_from_mcp_url("http://mcp.cloud.cdata.com/mcp", client=client)
tools = await aget_tools_from_mcp_url("https://mcp.cloud.cdata.com/mcp", client=client)

llm = OpenAI(model="gpt-4o", api_key="YOUR_OPENAI_KEY")
# Create ReActAgent
Expand Down
8 changes: 4 additions & 4 deletions en/Quick-Start-Guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Use **Scheduled Queries** under **Jobs** to refresh cached results for heavy wor
Open Power BI Desktop and then select **Get Data** > **SQL Server**.
</Step>
<Step>
Enter your Connect Cloud SQL endpoint (*tds.cdata.com*).
Enter your Connect AI SQL endpoint (*tds.cdata.com*).
</Step>
<Step>
Authenticate with your CData credentials.
Expand All @@ -131,7 +131,7 @@ Select tables or derived views and build visuals.
In Excel, select **Data** > **Get Data** > **From Other Sources** > **From OData Feed**.
</Step>
<Step>
Paste your Connect Cloud OData endpoint (*https://cloud.cdata.com/api/odata/{workspace\_name}*).
Paste your Connect AI OData endpoint (*https://cloud.cdata.com/api/odata/{workspace\_name}*).
</Step>
<Step>
Authenticate with your CData credentials and load data.
Expand Down Expand Up @@ -159,11 +159,11 @@ Expose any source as a secure API for custom apps and large language models (LLM
```
- OData v4 is used for BI tools and pagination/filtering:
```bash
GET https://cloud.cdata.com/odata/Salesforce/Opportunity?$top=100&$orderby=Amount desc
GET https://cloud.cdata.com/api/odata/Salesforce/Opportunity?$top=100&$orderby=Amount desc
```
- OpenAPI generates clients and validates requests:
```bash
GET https://cloud.cdata.com/openapi/Salesforce
GET https://cloud.cdata.com/api/openapi/Salesforce
```

## Step 6: Organize with Workspaces
Expand Down
5 changes: 3 additions & 2 deletions en/Workspaces.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
title: "Workspaces"
description: "The **Workspaces** feature is a data catalog that streamlines the accessibility of diverse data sources."
---

## Overview

The **Workspaces** feature is a data catalog that streamlines the accessibility of diverse data sources. Workspaces provide a way to organize, catalog, and control access to specific data (assets) in Connect AI. You can bundle related assets separately in a simple and scalable way. Workspaces offer a customizable organization scheme that streamlines data analysis across numerous business functions.
Workspaces provide a way to organize, catalog, and control access to specific data (assets) in Connect AI. You can bundle related assets separately in a simple and scalable way. Workspaces offer a customizable organization scheme that streamlines data analysis across numerous business functions.

In the Connect AI data catalog, you can view a preview of the workspace’s column metadata.

Expand Down Expand Up @@ -66,7 +67,7 @@ The **Virtual SQL Server** tab of the **Endpoints** dialog contains the settings
The **OData** tab of the **Endpoints** dialog contains the settings you need to connect from a workspace via OData clients. Copy the settings in the dialog.

- **Username**—your username to connect to a workspace is in the format of your email address.
- **OData URL**—the workspace name you want to connect to. The URL has the format `https://cloud.cdata.com/api/odata/[workspace_name]`.
- **OData URL**—the workspace name you want to connect to. The URL has the format `https://cloud.cdata.com/api/odata/{workspace_name}`.
- **Password**—click **Create PAT** to create a Personal Access Token to use as your password during authentication.

#### Connect via OpenAPI
Expand Down