You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/ai-core-orchestration-grounding/ai-core-orchestration-Grounding.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -355,7 +355,7 @@ Generic secrets securely store SharePoint credentials required for document acce
355
355
356
356
• Enter the secret in JSON format. For example:
357
357
358
-
```CODE
358
+
```json
359
359
{
360
360
361
361
"type":"SFRUUA==",
@@ -533,9 +533,9 @@ secret.json()
533
533
534
534
[OPTION BEGIN [Bruno]]
535
535
536
-
### 7.a Using Pipeline API
536
+
#### 7.a Using Pipeline API
537
537
538
-
#### Create Pipeline
538
+
##### Create Pipeline
539
539
540
540
- Pipelines define the process for grounding and retrieving content from SharePoint repositories.
541
541
@@ -551,29 +551,29 @@ In this use case, we have added facility management emails as grounding document
551
551
552
552

553
553
554
-
#### Get All Pipelines
554
+
##### Get All Pipelines
555
555
556
556
This request retrieves a list of all existing pipelines within the resource group. It helps in managing and monitoring available pipelines for orchestration.
557
557
558
558

559
559
560
-
#### Get Pipeline by Pipeline ID
560
+
##### Get Pipeline by Pipeline ID
561
561
562
562
This request fetches details of a specific pipeline using its unique ID. It is useful for verifying the configuration and settings of a particular pipeline.
563
563
564
564

565
565
566
-
#### Get Pipeline Status by Pipeline ID
566
+
##### Get Pipeline Status by Pipeline ID
567
567
568
568
This request checks the current status of a specific pipeline, such as whether it is running, completed, or failed. It helps in tracking the execution progress.
569
569
570
570

571
571
572
572
Once the pipeline is successfully created, documents uploaded in SharePoint are converted into vectors via APIs. The conversion process can be validated upon successful pipeline execution.
573
573
574
-
### 7.b Using Vector API
574
+
#### 7.b Using Vector API
575
575
576
-
#### Create collection
576
+
##### Create collection
577
577
578
578
• Expand 06_vector and select create_collections request.
579
579
@@ -585,7 +585,7 @@ Once the pipeline is successfully created, documents uploaded in SharePoint are
585
585
586
586

587
587
588
-
#### Create documents
588
+
##### Create documents
589
589
590
590
• Click on the create_document request and replace the path parameter with the valid collection ID.
591
591
@@ -595,7 +595,7 @@ Once the pipeline is successfully created, documents uploaded in SharePoint are
595
595
596
596

597
597
598
-
#### Verifying Vector Processing (Optional)
598
+
##### Verifying Vector Processing (Optional)
599
599
600
600
These steps help inspect vector collections and documents to confirm successful processing.
601
601
@@ -635,7 +635,7 @@ These steps help inspect vector collections and documents to confirm successful
635
635
636
636
[OPTION BEGIN [JavaScript SDK]]
637
637
638
-
### 7.a Using Pipeline API
638
+
#### 7.a Using Pipeline API
639
639
640
640
In this step, we will create a document-grounding pipeline in SAP AI Core using the `@sap-ai-sdk/document-grounding` package of the [SAP Cloud SDK for AI (JavaScript)](https://github.com/SAP/ai-sdk-js/tree/main/packages/document-grounding).
641
641
@@ -680,7 +680,7 @@ console.log('Created Pipeline with ID:', pipeline?.pipelineId);
680
680
681
681
```
682
682
683
-
### 7.b Using Vector API
683
+
#### 7.b Using Vector API
684
684
685
685
we are creating a document-grounding pipeline using SAP AI Core. The pipeline is configured to integrate with Microsoft SharePoint as a data source, enabling AI-driven document processing. This setup allows seamless ingestion of documents from a specified SharePoint site, ensuring efficient data retrieval and processing.
0 commit comments