Skip to content

Commit 5c36dd3

Browse files
olavtaryuvalturg
authored andcommitted
Update agent templates and helm chart version for ingestion pipeline to 0.5.0.
1 parent c9fed27 commit 5c36dd3

File tree

6 files changed

+56
-89
lines changed

6 files changed

+56
-89
lines changed

backend/agent_templates/business_banking.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ templates:
5050
is_external: false
5151
source: "URL"
5252
source_configuration:
53-
- "https://www.vscpa.com/sites/default/files/resources/Session%205%20-%20Position%20Your%20Firm%20as%20Your%20Clients%27%20Most%20Trusted%20Business%20Advisor.pdf"
53+
- "https://www.irs.gov/pub/irs-pdf/p583.pdf"

backend/agent_templates/core_banking.yaml

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,12 @@ templates:
99
model_name: "meta-llama/Llama-3.1-8B-Instruct"
1010
tools:
1111
- toolgroup_id: "builtin::websearch"
12-
knowledge_base_ids:
13-
- "customer_service_kb"
12+
knowledge_base_ids: []
1413
demo_questions:
1514
- "What are the fees and daily limits for standard checking accounts?"
1615
- "How long do ACH, wire, and mobile check deposits take to clear?"
1716
- "How do I dispute a card charge and what is the expected timeline?"
1817
- "What ID is required to open a joint savings account?"
19-
# knowledge_base_config:
20-
# name: "Customer Service Reference"
21-
# version: "1.0"
22-
# embedding_model: "all-MiniLM-L6-v2"
23-
# provider_id: "pgvector"
24-
# vector_store_name: "customer_service_kb"
25-
# is_external: false
26-
# source: "URL"
27-
# source_configuration:
28-
# - ""
2918

3019
loan_officer:
3120
name: "Loan Officer Assistant"
@@ -34,23 +23,12 @@ templates:
3423
model_name: "meta-llama/Llama-3.1-8B-Instruct"
3524
tools:
3625
- toolgroup_id: "builtin::websearch"
37-
knowledge_base_ids:
38-
- "lending_kb"
26+
knowledge_base_ids: []
3927
demo_questions:
4028
- "What documents are needed for a small business term loan application?"
4129
- "How do I calculate DTI and DSCR for this borrower scenario?"
4230
- "What are the FHA vs. conventional underwriting differences for income?"
4331
- "What conditions should I include before issuing a commitment letter?"
44-
# knowledge_base_config:
45-
# name: "Lending Policy Reference"
46-
# version: "1.0"
47-
# embedding_model: "all-MiniLM-L6-v2"
48-
# provider_id: "pgvector"
49-
# vector_store_name: "lending_kb"
50-
# is_external: false
51-
# source: "URL"
52-
# source_configuration:
53-
# - "ingest/data/compliance/compliance.md"
5432

5533
fraud_prevention:
5634
name: "Fraud Prevention Specialist"
@@ -59,20 +37,9 @@ templates:
5937
model_name: "meta-llama/Llama-3.1-8B-Instruct"
6038
tools:
6139
- toolgroup_id: "builtin::websearch"
62-
knowledge_base_ids:
63-
- "fraud_kb"
40+
knowledge_base_ids: []
6441
demo_questions:
6542
- "Which red flags suggest structuring in recent cash deposits?"
6643
- "How do I decide whether to escalate an OFAC potential match?"
6744
- "What are the SAR filing thresholds and timelines for AML cases?"
6845
- "What steps should I take to verify a suspected account takeover?"
69-
# knowledge_base_config:
70-
# name: "Fraud Detection Reference"
71-
# version: "1.0"
72-
# embedding_model: "all-MiniLM-L6-v2"
73-
# provider_id: "pgvector"
74-
# vector_store_name: "fraud_kb"
75-
# is_external: false
76-
# source: "URL"
77-
# source_configuration:
78-
# - "ingest/data/compliance/compliance.md"

backend/agent_templates/travel_hospitality.yaml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ templates:
1616
- "Can you suggest a 7-day Italy itinerary with hotels and trains?"
1717
- "Do I need a visa or vaccines for a trip to Thailand this summer?"
1818
- "Find all-inclusive beach resorts in Mexico for two adults in May."
19-
# knowledge_base_config:
20-
# name: "Travel Agent Reference"
21-
# version: "1.0"
22-
# embedding_model: "all-MiniLM-L6-v2"
23-
# provider_id: "pgvector"
24-
# vector_store_name: "travel_agent_kb"
25-
# is_external: false
26-
# source: "URL"
27-
# source_configuration:
28-
# - "ingest/data/compliance/compliance.md"
19+
knowledge_base_config:
20+
name: "Travel Agent Reference"
21+
version: "1.0"
22+
embedding_model: "all-MiniLM-L6-v2"
23+
provider_id: "pgvector"
24+
vector_store_name: "travel_agent_kb"
25+
is_external: false
26+
source: "URL"
27+
source_configuration:
28+
- "https://www.iata.org/contentassets/947a44798c8a4b94bc5620f8680e0013/sc155-travel-information.pdf"
2929

3030
hotel_concierge:
3131
name: "Hotel Concierge Assistant"
@@ -41,16 +41,16 @@ templates:
4141
- "What are the best family-friendly attractions within walking distance?"
4242
- "Can you arrange airport pickup tomorrow at 8 AM for room 512?"
4343
- "Do you have recommendations for a late-night spa appointment?"
44-
# knowledge_base_config:
45-
# name: "Hotel Concierge Reference"
46-
# version: "1.0"
47-
# embedding_model: "all-MiniLM-L6-v2"
48-
# provider_id: "pgvector"
49-
# vector_store_name: "hotel_concierge_kb"
50-
# is_external: false
51-
# source: "URL"
52-
# source_configuration:
53-
# - "ingest/data/compliance/compliance.md"
44+
knowledge_base_config:
45+
name: "Hotel Concierge Reference"
46+
version: "1.0"
47+
embedding_model: "all-MiniLM-L6-v2"
48+
provider_id: "pgvector"
49+
vector_store_name: "hotel_concierge_kb"
50+
is_external: false
51+
source: "URL"
52+
source_configuration:
53+
- "https://www.conferencehotelgroup.com/img/hotels/files/6981/1.Concierge%20Guide%20LVP2021.pdf"
5454

5555
tour_guide:
5656
name: "Tour Guide Assistant"
@@ -66,13 +66,13 @@ templates:
6666
- "Tell me a brief history of the old town and its main cathedral."
6767
- "Can you suggest a kid-friendly museum route with lunch options?"
6868
- "What local customs should I know before visiting religious sites?"
69-
# knowledge_base_config:
70-
# name: "Tour Guide Reference"
71-
# version: "1.0"
72-
# embedding_model: "all-MiniLM-L6-v2"
73-
# provider_id: "pgvector"
74-
# vector_store_name: "tour_guide_kb"
75-
# is_external: false
76-
# source: "URL"
77-
# source_configuration:
78-
# - "ingest/data/compliance/compliance.md"
69+
knowledge_base_config:
70+
name: "Tour Guide Reference"
71+
version: "1.0"
72+
embedding_model: "all-MiniLM-L6-v2"
73+
provider_id: "pgvector"
74+
vector_store_name: "tour_guide_kb"
75+
is_external: false
76+
source: "URL"
77+
source_configuration:
78+
- "https://www.tourismleadershipcouncil.com/wp-content/uploads/2024/07/Certified-Tour-Guides-SAV-Tour-Guide-Manual-UPDATED-2020.pdf"

backend/agent_templates/wealth_management.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ templates:
1616
- "Can you review my portfolio’s diversification and fees?"
1717
- "How should I rebalance given current market conditions?"
1818
- "What are tax-efficient ways to harvest gains and losses this year?"
19-
# knowledge_base_config:
20-
# name: "Investment Advisory Reference"
21-
# version: "1.0"
22-
# embedding_model: "all-MiniLM-L6-v2"
23-
# provider_id: "pgvector"
24-
# vector_store_name: "investment_kb"
25-
# is_external: false
26-
# source: "URL"
27-
# source_configuration:
28-
# - "ingest/data/compliance/compliance.md"
19+
knowledge_base_config:
20+
name: "Investment Advisory Reference"
21+
version: "1.0"
22+
embedding_model: "all-MiniLM-L6-v2"
23+
provider_id: "pgvector"
24+
vector_store_name: "investment_kb"
25+
is_external: false
26+
source: "URL"
27+
source_configuration:
28+
- "https://www.irs.gov/pub/irs-pdf/p550.pdf"
2929

3030
financial_planning:
3131
name: "Financial Planning Specialist"
@@ -41,13 +41,13 @@ templates:
4141
- "What’s the best strategy to optimize 401(k), Roth, and HSA contributions?"
4242
- "How do I plan for college costs for two kids in 10 and 13 years?"
4343
- "What estate planning documents should I have in place right now?"
44-
# knowledge_base_config:
45-
# name: "Financial Planning Reference"
46-
# version: "1.0"
47-
# embedding_model: "all-MiniLM-L6-v2"
48-
# provider_id: "pgvector"
49-
# vector_store_name: "financial_planning_kb"
50-
# is_external: false
51-
# source: "URL"
52-
# source_configuration:
53-
# - "ingest/data/compliance/compliance.md"
44+
knowledge_base_config:
45+
name: "Financial Planning Reference"
46+
version: "1.0"
47+
embedding_model: "all-MiniLM-L6-v2"
48+
provider_id: "pgvector"
49+
vector_store_name: "financial_planning_kb"
50+
is_external: false
51+
source: "URL"
52+
source_configuration:
53+
- "https://www.irs.gov/pub/irs-pdf/p590a.pdf"

deploy/cluster/helm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ dependencies:
4343
version: 0.1.0
4444
repository: https://rh-ai-quickstart.github.io/ai-architecture-charts
4545
- name: ingestion-pipeline
46-
version: 0.2.22
46+
version: 0.5.0
4747
repository: https://rh-ai-quickstart.github.io/ai-architecture-charts

frontend/src/components/chat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export function Chat({ preSelectedAgentId }: ChatProps = {}) {
231231
};
232232
void loadDemoQuestions();
233233
}
234-
}, [chatMessages.length, selectedAgentObj]);
234+
}, [chatMessages.length, selectedAgentObj, demoQuestions.length]);
235235

236236
const onSelectAgent = (
237237
_event: React.MouseEvent<Element, MouseEvent> | undefined,

0 commit comments

Comments
 (0)