mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 23:04:49 +00:00
* Replace Maybe for Sure in select code areas * Make sure passwords are consistent * Remove (admin|member) from demo data first name * Database and schema names finally to `sure` * Fix broken test * Another (benchmarking) database name to `sure_*` * More rebranding to Sure * Missed this Maybe mention in the same page * Random nitpicks and more Maybes * Demo data accounts and more Maybes * Test data account updates * Impersonation test accounts * Consistency with `compose.example.yml`
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
<div class="flex items-start w-full gap-3 p-2">
|
|
<%= render "chats/ai_avatar" %>
|
|
|
|
<div class="max-w-[85%] text-sm space-y-4 text-primary">
|
|
<p>Hey <%= Current.user&.first_name || "there" %>! I'm an AI/large-language-model that can help with your finances. I have access to the web and your account data.</p>
|
|
|
|
<p>
|
|
You can use <span class="bg-container border border-secondary px-1.5 py-0.5 rounded font-mono text-xs">/</span> to access commands
|
|
</p>
|
|
|
|
<div class="space-y-3">
|
|
<p>Here's a few questions you can ask:</p>
|
|
|
|
<% questions = [
|
|
{
|
|
icon: "chart-area",
|
|
text: "Evaluate investment portfolio"
|
|
},
|
|
{
|
|
icon: "wallet-minimal",
|
|
text: "Show spending insights"
|
|
},
|
|
{
|
|
icon: "alert-triangle",
|
|
text: "Find unusual patterns"
|
|
}
|
|
] %>
|
|
|
|
<div class="space-y-2.5">
|
|
<% questions.each do |question| %>
|
|
<button data-action="chat#submitSampleQuestion"
|
|
data-chat-question-param="<%= question[:text] %>"
|
|
class="w-fit flex items-center gap-2 border border-tertiary rounded-full py-1.5 px-2.5 hover:bg-gray-100">
|
|
<%= icon(question[:icon]) %> <%= question[:text] %>
|
|
</button>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|