1apiVersion: smarter.sh/v1
2kind: LLMClient
3metadata:
4 description:
5 To create and deploy an example Smarter llmclient. Prompt with example
6 function calling to trigger the example Static Plugin
7 name: example_llmclient
8 version: 0.1.0
9spec:
10 apiKey: snake_case_api_key_name
11 config:
12 prompt:
13 allowedOrigins:
14 - https://www.example.com
15 appAssistant: Elle
16 appExamplePrompts:
17 - What is the weather in New York?
18 - Tell me a joke
19 - whats the current price of Apple stock?
20 - How many days ago was 29-Feb-1972?
21 appFileAttachment: false
22 appInfoUrl: https://example.com
23 appName: Example LLMClient
24 appPlaceholder: Ask me anything...
25 appWelcomeMessage: Welcome to the Example LLMClient! How can I help you today?
26 customDomain: null
27 defaultMaxTokens: 2048
28 defaultModel: gpt-6-luna
29 defaultSystemRole:
30 You are a helpful llmclient. When given the opportunity to utilize
31 function calling, you should always do so. This will allow you to provide the
32 best possible responses to the user. If you are unable to provide a response,
33 you should prompt the user for more information. If you are still unable to
34 provide a response, you should inform the user that you are unable to help them
35 at this time.
36 defaultTemperature: 1.0
37 deployed: false
38 provider: openai
39 subdomain: example-llmclient
40 styles:
41 appLogoUrl: https://cdn.smarter.sh/images/logo/smarter-crop.png
42 appBackgroundImageUrl: https://cdn.smarter.sh/cms/img/techdots.png
43 appBackgroundImageSize: cover
44 # assistantAvatarUrl: https://cdn.smarter.sh/images/llmclients/example/assistant.png # coming soon: upload, then uncomment
45 # userAvatarUrl: https://cdn.smarter.sh/images/llmclients/example/user.png # coming soon: upload, then uncomment
46 fontFamily: '"Montserrat", system-ui, sans-serif'
47 googleFont: Montserrat
48 fontSize: 15px
49 borderRadius: 14px
50 mainContainer:
51 backgroundColor: '#ffffff'
52 color: '#3a2a1a'
53 borderColor: '#f15a29'
54 conversationHeader:
55 backgroundColor: '#231f20'
56 color: '#ffffff'
57 infoColor: '#fdb913'
58 borderColor: '#f15a29'
59 messageList:
60 backgroundColor: rgba(255, 255, 255, 0.8)
61 color: '#3a2a1a'
62 incomingMessage:
63 backgroundColor: '#fff7e6'
64 color: '#3a2a1a'
65 borderColor: '#fdd9a0'
66 linkColor: '#d4380d'
67 outgoingMessage:
68 backgroundColor: '#f15a29'
69 color: '#ffffff'
70 borderColor: '#d4380d'
71 linkColor: '#fff3b0'
72 messageInput:
73 backgroundColor: '#ffffff'
74 editorBackgroundColor: '#fff1e0'
75 color: '#3a2a1a'
76 placeholderColor: '#a07a5a'
77 borderColor: '#fdd9a0'
78 buttons:
79 color: '#f15a29'
80 typingIndicator:
81 color: '#f15a29'
82 functions:
83 - weather
84 - datemath
85 - stockprice
86 plugins:
87 - everlasting_gobstopper
88 - example_configuration