Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
55f1e55
Add gemini template
MokshagnaV Oct 27, 2025
9686ddd
Update template metadata with the Google Gemini template
MokshagnaV Oct 27, 2025
76050a8
Rename RAG-Powered Slack Assistant Using Gemini and Milvus.yaml to RA…
MokshagnaV Oct 27, 2025
63a06f8
Create instructions for RAG-Powered Slack Assistant template
MokshagnaV Oct 27, 2025
ea7999d
Rename RAG-Powered Slack Assistant Using Google Gemini and Milvus to …
MokshagnaV Oct 27, 2025
0610f2a
Add Transcripts Summary Gemini UseCase
MokshagnaV Oct 29, 2025
e367426
Add instructions file for Gemini UseCase
MokshagnaV Oct 29, 2025
9aeb243
Update template-metadata.json
MokshagnaV Oct 29, 2025
cd4a758
Update Daily Meeting Summary Generator Using Google Gemini and Email …
MokshagnaV Oct 29, 2025
21b7e85
Update and rename Daily Meeting Summary Generator Using Google Gemini…
MokshagnaV Oct 31, 2025
ffca24b
Update link in daily email notification instructions
MokshagnaV Oct 31, 2025
058b4ee
Update and rename RAG-Powered Slack Assistant Using Google Gemini and…
MokshagnaV Oct 31, 2025
22e0710
Update and rename RAG-Powered Slack Assistant Using Google Gemini and…
MokshagnaV Oct 31, 2025
d4faa67
Rename RAG-powered Slack knowledge assistant using Google Gemini and …
MokshagnaV Oct 31, 2025
5317db1
Update RAG-powered Slack knowledge assistant using Google Gemini and …
MokshagnaV Oct 31, 2025
a2ac751
Update Send a daily email notification that summarizes the meetings u…
MokshagnaV Oct 31, 2025
18a6aba
Update template-metadata.json
MokshagnaV Oct 31, 2025
80061ab
Corrections
Deepak-Ayilliath Oct 31, 2025
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
type: event-trigger
connector-type: slack
triggers:
CREATED:
assembly:
$ref: '#/integration/assemblies/assembly-1'
input-context:
data: RawMessage
options:
webhookURLSuffix: uU4G8iFpR0iShb_KMOFOF0fRhRbK6azsvxMP7lSR3NAopK2rEQ6jJQEyqA0HfheE
connectorServiceOptions:
httpMethod: post
path: resources/RawMessage/operations/CREATED/subscribe
action: created
action-interfaces:
action-interface-1:
type: api-action
business-object: message
connector-type: slack
actions:
CREATE: {}
options:
connectorServiceOptions:
httpMethod: post
path: resources/{OBJECT_NAME}/{OBJECT_ID}/message
action: create
action-interface-2:
type: api-action
business-object: Text embeddings
connector-type: googlegemini
actions:
postEmbedContent: {}
options:
connectorServiceOptions:
httpMethod: post
path: resources/Text%20embeddings/operations/postEmbedContent
action: custom
action-interface-3:
type: api-action
business-object: Vectors
connector-type: milvus
actions:
searchVector: {}
options:
connectorServiceOptions:
httpMethod: post
path: >-
resources/Databases/{dbName}/Collections/{collectionName}/Vectors/operations/searchVector
action: custom
action-interface-4:
type: api-action
business-object: Text generation
connector-type: googlegemini
actions:
postGenerateTextByModelId: {}
options:
connectorServiceOptions:
httpMethod: post
path: resources/Text%20generation/operations/postGenerateTextByModelId
action: custom
assemblies:
assembly-1:
assembly:
execute:
- custom-action:
name: Google Gemini Generate embeddings
target:
$ref: '#/integration/action-interfaces/action-interface-2'
action: postEmbedContent
map:
mappings:
- content:
mappings:
- parts:
foreach:
input: '[{}]'
iterator: partsItem
mappings:
- text:
template: '{{$Trigger.messageBody}} '
- modelId:
template: models/embedding-001
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
filter: {}
- custom-action:
name: Milvus Search vector
target:
$ref: '#/integration/action-interfaces/action-interface-3'
action: searchVector
map:
mappings:
- annsField:
template: vector
- collectionName:
template: sf
- data:
expression: '[[$GoogleGeminiGenerateembeddings.embedding.values ]]'
- dbName:
template: default
- outputFields:
expression: '["data"]'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: GoogleGeminiGenerateembeddings
$ref: >-
#/node-output/Google Gemini Generate
embeddings/response/payload
- variable: flowDetails
$ref: '#/flowDetails'
filter:
where:
and:
- collectionName: sf
- dbName: default
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: GoogleGeminiGenerateembeddings
$ref: >-
#/node-output/Google Gemini Generate
embeddings/response/payload
- variable: flowDetails
$ref: '#/flowDetails'
- custom-action:
name: Google Gemini Generate text with Gemini model
target:
$ref: '#/integration/action-interfaces/action-interface-4'
action: postGenerateTextByModelId
map:
mappings:
- modelId:
template: models/gemini-1.5-pro
- text:
template: >-
Based on the given context
{{$join($MilvusSearchvector.data.data, "\n")}}. Please
answer this question: {{$Trigger.messageBody}}
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: GoogleGeminiGenerateembeddings
$ref: >-
#/node-output/Google Gemini Generate
embeddings/response/payload
- variable: MilvusSearchvector
$ref: '#/node-output/Milvus Search vector/response/payload'
- variable: flowDetails
$ref: '#/flowDetails'
filter: {}
- create-action:
name: Slack Send message
target:
$ref: '#/integration/action-interfaces/action-interface-1'
map:
mappings:
- OBJECT_ID:
template: C099ZTD3Q76
- OBJECT_NAME:
template: channel
- text:
template: ' {{$Trigger.messageBody}} : \n {{$GoogleGeminiGeneratetextwithGeminimodel.candidates.content.parts.text}}'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: GoogleGeminiGenerateembeddings
$ref: >-
#/node-output/Google Gemini Generate
embeddings/response/payload
- variable: MilvusSearchvector
$ref: '#/node-output/Milvus Search vector/response/payload'
- variable: GoogleGeminiGeneratetextwithGeminimodel
$ref: >-
#/node-output/Google Gemini Generate text with Gemini
model/response/payload
- variable: flowDetails
$ref: '#/flowDetails'
name: RAG-powered Slack knowledge assistant using Google Gemini and Milvus
models: {}
Loading