@bigbinary/neeto-assist-frontend 0.0.0-stage → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/README.md +243 -2
  2. package/app/javascript/src/translations/ar.json +78 -0
  3. package/app/javascript/src/translations/bg.json +78 -0
  4. package/app/javascript/src/translations/ca.json +78 -0
  5. package/app/javascript/src/translations/cs.json +78 -0
  6. package/app/javascript/src/translations/da.json +78 -0
  7. package/app/javascript/src/translations/de.json +78 -0
  8. package/app/javascript/src/translations/en.json +75 -0
  9. package/app/javascript/src/translations/es-MX.json +78 -0
  10. package/app/javascript/src/translations/es.json +78 -0
  11. package/app/javascript/src/translations/et.json +78 -0
  12. package/app/javascript/src/translations/fi.json +78 -0
  13. package/app/javascript/src/translations/fil.json +78 -0
  14. package/app/javascript/src/translations/fr.json +78 -0
  15. package/app/javascript/src/translations/he.json +78 -0
  16. package/app/javascript/src/translations/hi.json +78 -0
  17. package/app/javascript/src/translations/hr.json +78 -0
  18. package/app/javascript/src/translations/hu.json +78 -0
  19. package/app/javascript/src/translations/id.json +78 -0
  20. package/app/javascript/src/translations/index.js +3 -0
  21. package/app/javascript/src/translations/it.json +78 -0
  22. package/app/javascript/src/translations/ja.json +78 -0
  23. package/app/javascript/src/translations/ko.json +78 -0
  24. package/app/javascript/src/translations/lv.json +75 -0
  25. package/app/javascript/src/translations/nl.json +78 -0
  26. package/app/javascript/src/translations/pl.json +78 -0
  27. package/app/javascript/src/translations/pt-BR.json +78 -0
  28. package/app/javascript/src/translations/pt.json +78 -0
  29. package/app/javascript/src/translations/ro.json +78 -0
  30. package/app/javascript/src/translations/ru.json +78 -0
  31. package/app/javascript/src/translations/sk.json +78 -0
  32. package/app/javascript/src/translations/sl.json +78 -0
  33. package/app/javascript/src/translations/sv.json +78 -0
  34. package/app/javascript/src/translations/th.json +78 -0
  35. package/app/javascript/src/translations/tr.json +78 -0
  36. package/app/javascript/src/translations/uk.json +78 -0
  37. package/app/javascript/src/translations/vi.json +78 -0
  38. package/app/javascript/src/translations/zh-CN.json +78 -0
  39. package/app/javascript/src/translations/zh-TW.json +78 -0
  40. package/dist/.ready +1 -0
  41. package/dist/NeetoAssistButton.js +98 -0
  42. package/dist/NeetoAssistButton.js.map +1 -0
  43. package/dist/NeetoAssistPane.js +975 -0
  44. package/dist/NeetoAssistPane.js.map +1 -0
  45. package/dist/cjs/NeetoAssistButton.js +100 -0
  46. package/dist/cjs/NeetoAssistButton.js.map +1 -0
  47. package/dist/cjs/NeetoAssistPane.js +977 -0
  48. package/dist/cjs/NeetoAssistPane.js.map +1 -0
  49. package/dist/cjs/index.js +30 -0
  50. package/dist/cjs/index.js.map +1 -0
  51. package/dist/cjs/useNeetoAssistStatus.js +18 -0
  52. package/dist/cjs/useNeetoAssistStatus.js.map +1 -0
  53. package/dist/index.js +22 -0
  54. package/dist/index.js.map +1 -0
  55. package/dist/neeto_assist-BbwXxKis.js +121 -0
  56. package/dist/neeto_assist-BbwXxKis.js.map +1 -0
  57. package/dist/neeto_assist-Ha049T0Q.js +102 -0
  58. package/dist/neeto_assist-Ha049T0Q.js.map +1 -0
  59. package/dist/useNeetoAssistStatus.js +16 -0
  60. package/dist/useNeetoAssistStatus.js.map +1 -0
  61. package/dist/useNeetoAssistStore-B5U7FFgQ.js +218 -0
  62. package/dist/useNeetoAssistStore-B5U7FFgQ.js.map +1 -0
  63. package/dist/useNeetoAssistStore-C4fEnA_y.js +232 -0
  64. package/dist/useNeetoAssistStore-C4fEnA_y.js.map +1 -0
  65. package/package.json +231 -4
  66. package/types.d.ts +53 -0
package/README.md CHANGED
@@ -1,3 +1,244 @@
1
- # Temporary Holding Version
1
+ # neeto-assist-nano
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ NeetoAssist for Neeto products: the `neeto-assist-engine` Rails engine and the `@bigbinary/neeto-assist-frontend`
4
+ package. A host product, NeetoChat first, installs both to show its support reps what NeetoAssist would reply to a
5
+ visitor, let them ask NeetoAssist about a conversation, and rate its answers. NeetoAssist never writes into the
6
+ conversation and never talks to the visitor: a rep decides what to send.
7
+
8
+ The engine calls NeetoAssist's product API (`https://{subdomain}.neetoassist.com`) for the workspace the rep works
9
+ in, and passes NeetoAssist's answers through to the pane.
10
+
11
+ ## Contents
12
+
13
+ 1. [Engine](#engine)
14
+ - [Installation](#installation)
15
+ - [Configuration](#configuration)
16
+ - [Host adapter](#host-adapter)
17
+ - [Asking for a reply suggestion](#asking-for-a-reply-suggestion)
18
+ - [Endpoints](#endpoints)
19
+ 2. [Frontend package](#frontend-package)
20
+ - [Installation](#installation-1)
21
+ - [Usage](#usage)
22
+ 3. [Development](#development)
23
+ 4. [Instructions for Publishing](#instructions-for-publishing)
24
+
25
+ ## Engine
26
+
27
+ ### Installation
28
+
29
+ 1. Add the gem to the host's Gemfile, inside the private gem source:
30
+
31
+ ```ruby
32
+ source "NEETO_GEM_SERVER_URL" do
33
+ # ..existing gems
34
+
35
+ gem "neeto-assist-engine"
36
+ end
37
+ ```
38
+
39
+ 2. Install it:
40
+
41
+ ```shell
42
+ bundle install
43
+ ```
44
+
45
+ 3. Mount the engine in `config/routes.rb`. The frontend package calls it at `/neeto_assist`, so mount it there:
46
+
47
+ ```ruby
48
+ mount NeetoAssistEngine::Engine, at: "/neeto_assist"
49
+ ```
50
+
51
+ The engine has no tables, so there are no migrations to copy.
52
+
53
+ ### Configuration
54
+
55
+ Configure the engine in `config/initializers/neeto_assist.rb`, reading the values from the host's secrets:
56
+
57
+ ```ruby
58
+ NeetoAssistEngine.configure do |config|
59
+ # The host's name in NeetoAssist.
60
+ config.product = "chat"
61
+ # NeetoAssist's address. %{subdomain} becomes the workspace's subdomain.
62
+ # Development: "http://%{subdomain}.lvh.me:9050".
63
+ config.api_base_url = Rails.application.vault.neeto_assist_api_base_url
64
+ # The token NeetoAssist issued to this product.
65
+ config.api_token = Rails.application.vault.neeto_assist_api_token
66
+ # The host's adapter, by class name so it is loaded on use.
67
+ config.host_adapter = "NeetoAssist::HostAdapter"
68
+ # Optional, in seconds. These are the defaults.
69
+ config.open_timeout = 2
70
+ config.read_timeout = 10
71
+ end
72
+ ```
73
+
74
+ Until `product`, `api_base_url`, `api_token` and `host_adapter` are all set, the engine stays off: the job does
75
+ nothing, the status endpoint answers `{ "enabled": false }` and the conversation endpoints answer 404.
76
+
77
+ After a call times out or cannot connect, the engine's calls fail at once for 30 seconds, so a NeetoAssist that stops
78
+ answering cannot tie up the host's threads. The cool off is kept in `Rails.cache`.
79
+
80
+ ### Host adapter
81
+
82
+ The engine learns everything about the host's workspaces, reps and conversations from one class the host provides, a
83
+ subclass of `NeetoAssistEngine::HostAdapter`:
84
+
85
+ | Method | Returns |
86
+ | --- | --- |
87
+ | `enabled?(organization)` | Whether NeetoAssist is on for the workspace: the host's rollout gate, such as a Flipper flag on `Organization`. |
88
+ | `find_conversation(organization, conversation_id)` | The conversation with that id in that workspace, or `nil`. |
89
+ | `can_use?(user, conversation)` | Whether this rep may see NeetoAssist on the conversation. |
90
+ | `can_buy_credits?(user)` | Whether this rep may buy NeetoAssist credits, such as a workspace admin. Defaults to `false`. Only they get the link to buy more once the workspace runs out. |
91
+ | `conversation_payload(conversation)` | The conversation as NeetoAssist takes it (below), built when it is sent. |
92
+ | `conversation_external_id(conversation)` | The conversation's id in NeetoAssist. Defaults to `conversation.id.to_s`. |
93
+
94
+ ```ruby
95
+ module NeetoAssist
96
+ class HostAdapter < NeetoAssistEngine::HostAdapter
97
+ def enabled?(organization)
98
+ organization.neeto_assist_enabled?
99
+ end
100
+
101
+ def find_conversation(organization, conversation_id)
102
+ organization.conversations.find_by(id: conversation_id)
103
+ end
104
+
105
+ def can_use?(user, conversation)
106
+ user.organization_id == conversation.organization_id &&
107
+ ChatPolicy.new(user, conversation).can_manage_messages?
108
+ end
109
+
110
+ def conversation_payload(conversation)
111
+ ConversationPayloadService.new(conversation).process
112
+ end
113
+ end
114
+ end
115
+ ```
116
+
117
+ `conversation_payload` returns `url`, `status`, `assigned_to_human`, `page_url`, `visitor` (`name`, `email`,
118
+ `identity`: `unverified` unless the host vouches for the email) and `messages`: at most the last 30, oldest first,
119
+ each with `id`, `author` (`visitor`, `agent` or `bot`), `author_name`, `body` (plain text, at most 4,000 characters)
120
+ and `created_at`. Leave private notes out.
121
+
122
+ ### Asking for a reply suggestion
123
+
124
+ Enqueue the job after every visitor message, for example from the message's `after_create_commit`:
125
+
126
+ ```ruby
127
+ NeetoAssistEngine::SuggestReplyJob.perform_async(organization.id, conversation.id, message.id)
128
+ ```
129
+
130
+ Do not wait or debounce: NeetoAssist waits for the visitor's burst of messages to end and answers only the latest.
131
+ The job runs on the `within_5_seconds` queue. It does nothing unless the engine is configured, the workspace exists,
132
+ `enabled?` is true and `find_conversation` finds the conversation. It builds the payload when it runs and asks
133
+ NeetoAssist for a `reply_suggestion`. When NeetoAssist is down, too slow or answers with a 5xx, the job raises
134
+ `NeetoCommonsBackend::TransientError`, which Sidekiq retries up to 3 times without reporting every attempt. A refusal
135
+ (a 4xx, such as `409 disabled` once the workspace switched NeetoAssist off) is only logged, since a retry would get
136
+ the same answer.
137
+
138
+ ### Endpoints
139
+
140
+ The pane calls these for the signed-in rep, under the mount path:
141
+
142
+ | Endpoint | Does |
143
+ | --- | --- |
144
+ | `GET /neeto_assist/api/v1/status` | `200 { "enabled": true }` or `{ "enabled": false }`, for any signed-in rep. |
145
+ | `GET /neeto_assist/api/v1/conversations/:conversation_id/runs` | NeetoAssist's runs for the conversation, newest first, and the workspace's credits: `{ "runs": [...], "credits": { "exhausted", "remaining", "buy_url" } }`. `buy_url` is `null` unless `can_buy_credits?` is true for the rep. |
146
+ | `POST /neeto_assist/api/v1/conversations/:conversation_id/runs` | Asks NeetoAssist the rep's question: `{ "run": { "question": "..." } }`. |
147
+ | `PUT /neeto_assist/api/v1/conversations/:conversation_id/runs/:run_id/feedback` | Rates a run: `{ "feedback": { "rating": "up", "note": "..." } }`. |
148
+
149
+ - The conversation endpoints answer 404 unless `enabled?`, `find_conversation` and `can_use?` all pass.
150
+ - Who asks or rates is always the signed-in rep (id, name, email), never anything in the request.
151
+ - A blank question, one over 2,000 characters, or a rating other than `up` or `down` is
152
+ `422 { "error": "invalid", "details": { ... } }`, without calling NeetoAssist.
153
+ - NeetoAssist being down, slow, answering with a 5xx, or refusing the product token is
154
+ `503 { "error": "unavailable" }`. A refused token is not passed on as a 401, which would sign the rep out of the
155
+ host.
156
+ - Any other answer from NeetoAssist passes through with its status and body, such as `404 not_found`,
157
+ `409 disabled` or `422 invalid`.
158
+
159
+ ## Frontend package
160
+
161
+ ### Installation
162
+
163
+ ```shell
164
+ yarn add @bigbinary/neeto-assist-frontend
165
+ ```
166
+
167
+ Its peers are the usual Neeto frontend stack (neeto-commons-frontend, React Query, axios, i18next and ramda) plus
168
+ `@bigbinary/neeto-atoms` and `lucide-react`, which hosts on neeto-atoms already have. It needs a React Query client
169
+ in context (neeto-commons-frontend's `AppContainer` provides one) and the axios neeto-commons-frontend sets up. Its
170
+ copy lives under the `neetoAssist` key in `app/javascript/src/translations/en.json`, which neeto-commons-frontend's
171
+ build merges into the host's translations, as it does for every `@bigbinary` package.
172
+
173
+ ### Usage
174
+
175
+ Two pieces, the same way in every product. The pane goes in the layout once, as the last child of the flex row that
176
+ holds the page, so it opens on the right and pushes the page to the left. The button goes on the ticket.
177
+
178
+ ```jsx
179
+ import {
180
+ NeetoAssistButton,
181
+ NeetoAssistPane,
182
+ useNeetoAssistStatus,
183
+ } from "@bigbinary/neeto-assist-frontend";
184
+
185
+ const Layout = ({ children }) => (
186
+ <div className="flex h-screen">
187
+ <Sidebar />
188
+ <main className="min-w-0 flex-1">{children}</main>
189
+ <NeetoAssistPane />
190
+ </div>
191
+ );
192
+
193
+ const TicketHeader = ({ conversationId, insertIntoComposer }) => {
194
+ const { data: neetoAssistStatus } = useNeetoAssistStatus();
195
+
196
+ if (!neetoAssistStatus?.enabled) return null;
197
+
198
+ return (
199
+ <NeetoAssistButton
200
+ {...{ conversationId }}
201
+ onUseReply={(text, html) => insertIntoComposer({ text, html })}
202
+ />
203
+ );
204
+ };
205
+ ```
206
+
207
+ - `useNeetoAssistStatus()` returns the React Query result of the status endpoint. Read `data?.enabled`: it is empty
208
+ while loading and after a failure, and a failure never shows the rep a toast.
209
+ - `NeetoAssistPane` takes no props and no room until a button opens it. It looks and works like Neeti's pane in
210
+ NeetoCal: 400px wide, with an expand button that takes it to half the window (at most 800px, and the choice is
211
+ remembered), and a close button. While open it sets `data-neeto-assist-open` on the document's root element, to
212
+ `default` or `expanded`, for a host that needs CSS to make room. It follows the ticket: moving to another ticket moves it along, and leaving the
213
+ tickets tucks it away until the rep comes back to one.
214
+ - `NeetoAssistButton` takes `conversationId`, the host's own conversation id, and `onUseReply`. It opens and closes
215
+ the pane, tells the pane which ticket it is about for as long as the button is on screen, and shows a dot when a
216
+ suggested reply is waiting.
217
+ - The pane shows everything NeetoAssist did on the ticket, oldest first: what the customer wrote with the suggested
218
+ reply, "Use reply", "Copy" and the help articles it came from; the rep's own questions as a chat; the reason it
219
+ skipped or found no answer; thumbs up or down with an optional note; then a box to ask more. A ticket with none of
220
+ these starts with a short introduction and a few suggested questions. It polls every 3 seconds while a run is pending
221
+ and every 30 seconds otherwise, and shows its errors inside the pane, never as a toast or an error page.
222
+ - `onUseReply(text, html)` is called when the rep clicks "Use reply". Put the reply in the composer and send
223
+ nothing. `text` is the reply as NeetoAssist wrote it, in light markdown (paragraphs split by blank lines,
224
+ `**bold**`, `1.` numbered and `-` bulleted lists, `##` headings). `html` is the same reply for a rich-text
225
+ composer: escaped text inside only `p`, `br`, `strong`, `ol`, `ul`, `li` and `h2`, with no attributes, so no
226
+ markup from the conversation survives as HTML. Leave `onUseReply` out to show only "Copy".
227
+ - The pane shows replies and notes with the same formatting, built as React elements around plain text.
228
+
229
+ ## Development
230
+
231
+ - `bundle exec rails test` runs the engine's tests against the dummy app in `test/dummy`, whose
232
+ `NeetoAssist::HostAdapter` stands in for a host's. WebMock stubs every call to NeetoAssist.
233
+ - `yarn test` runs the frontend's unit tests with Node's test runner.
234
+ - `yarn build` builds the package and `yarn release` builds it and pushes it to the local yalc store, from where a
235
+ host adds it with `yalc add @bigbinary/neeto-assist-frontend`. The
236
+ [frontend package development guide](https://neeto-engineering.neetokb.com/p/a-d34cb4b0) has the steps.
237
+ - The dummy app previews the pane at `/?conversation_id=<a dummy conversation id>` once NeetoAssist is on for its
238
+ workspace.
239
+
240
+ ## Instructions for Publishing
241
+
242
+ Consult the
243
+ [building and releasing packages](https://neeto-engineering.neetokb.com/articles/building-and-releasing-packages) guide
244
+ for details on how to publish.
@@ -0,0 +1,78 @@
1
+ {
2
+ "neetoWheel": {
3
+ "welcomeScreen": "مرحبًا بك في نيتو ويل نانو"
4
+ },
5
+ "neetoAssist": {
6
+ "title": "نيتو أسيست",
7
+ "beta": "بيتا",
8
+ "betaNote": "يقوم نيتو أسيست بصياغة الردود من مقالات المساعدة الخاصة بك لممثليك. يعمل بجانب إعدادك الحالي أبداً ولا يكتب إلى العميل.",
9
+ "askButton": "اسأل نيتو أسيست",
10
+ "draftReady": "رد مقترح جاهز",
11
+ "expand": "توسيع",
12
+ "collapse": "طي",
13
+ "close": "إغلاق نيتو أسيست",
14
+ "shadowNote": "العملاء لا يرون هذه المحادثة.",
15
+ "intro": {
16
+ "title": "مرحبًا، أنا نيتو أسيست.",
17
+ "description": "عندما يكتب العميل، أقوم بصياغة رد من مقالات المساعدة الخاصة بك. اسألني أي شيء عن هذه المحادثة، أو جرب أحد هذه."
18
+ },
19
+ "suggestions": {
20
+ "summarize": "تلخيص هذه المحادثة",
21
+ "whatToReply": "ماذا أجب؟",
22
+ "whatToCheck": "ماذا يجب أن أتحقق أولاً؟"
23
+ },
24
+ "run": {
25
+ "repAsked": "{{name, anyCase}} سأل",
26
+ "pending": "تفكير...",
27
+ "suggestedReply": "رد مقترح",
28
+ "useReply": "استخدام الرد",
29
+ "copy": "نسخ",
30
+ "copied": "تم نسخ الرد",
31
+ "noAnswer": "لم يجد نيتو أسيست إجابة واثقة",
32
+ "failed": "لم يتمكن نيتو أسيست من الإجابة على هذه",
33
+ "skipped": "تخطى نيتو أسيست هذه",
34
+ "customerWrote": "كتب العميل",
35
+ "sources": "من مقالات المساعدة الخاصة بك",
36
+ "needsFollowUp": "يخبر هذا الرد العميل أن الفريق سيتصرف بناءً على طلبه، لذا يجب على شخص ما المتابعة."
37
+ },
38
+ "skippedReasons": {
39
+ "greeting": "تخطي: قال العميل فقط مرحبًا.",
40
+ "acknowledgment": "تخطي: اعترف العميل أو شكر فقط، لذا لم يكن هناك شيء للرد عليه.",
41
+ "agentHandoff": "تخطي: طلب العميل شخصًا.",
42
+ "unclear": "تخطي: لم تكن الرسالة واضحة بما فيه الكفاية للرد.",
43
+ "otherProduct": "تخطي: السؤال يتعلق بمنتج نيتو آخر.",
44
+ "noKnowledgeSource": "تخطي: لم يتم ربط أي قاعدة معرفية بنيتو أسيست بعد.",
45
+ "disabled": "تخطي: تم تعطيل نيتو أسيست لهذه المساحة العمل.",
46
+ "noQuestion": "تخطي: لم تحتوي الرسالة على كلمات للرد عليها.",
47
+ "outOfCredits": "تخطي: هذه المساحة العمل نفدت من رصيد نيتو أسيست.",
48
+ "assignedToHuman": "تخطي: يمتلك ممثل هذه المحادثة، لذا يظل نيتو أسيست صامتًا. يمكن لمشرف المساحة العمل تغيير ذلك في إعدادات نيتو أسيست.",
49
+ "handedOff": "تخطي: تنتظر هذه المحادثة شخصًا، لأن العميل طلب شخصًا أو أن إجابة سابقة وعدت بأن الفريق سيتبعها. يظل نيتو أسيست صامتًا لبقية المحادثة.",
50
+ "noAnswerCooldown": "تخطي: لم يتمكن نيتو أسيست من الرد منذ لحظة، وغالبًا ما تطلب رسائل العميل التالية نفس الشيء، لذا ينتظر قليلاً قبل المحاولة مرة أخرى."
51
+ },
52
+ "credits": {
53
+ "exhausted": "نفدت مساحة العمل هذه من رصيد نيتو أسيست، لذا لا تحصل الأسئلة الجديدة على إجابة حتى يتم شراء المزيد.",
54
+ "buy": "اشترِ رصيدًا",
55
+ "askAdmin": "اطلب من مشرف المساحة العمل شراء المزيد."
56
+ },
57
+ "feedback": {
58
+ "helpful": "مفيد",
59
+ "notHelpful": "غير مفيد",
60
+ "notePlaceholder": "أضف ملاحظة (اختياري)",
61
+ "save": "حفظ",
62
+ "close": "إغلاق",
63
+ "ratedHelpful": "{{name, anyCase}} وجد ذلك مفيدًا",
64
+ "ratedNotHelpful": "{{name, anyCase}} وجد ذلك غير مفيد"
65
+ },
66
+ "ask": {
67
+ "placeholder": "اسأل عن هذه المحادثة...",
68
+ "submit": "إرسال إلى نيتو أسيست"
69
+ },
70
+ "errors": {
71
+ "unavailable": "لا يمكن الوصول إلى نيتو أسيست الآن. سيحاول مرة أخرى قريبًا.",
72
+ "disabled": "تم تعطيل نيتو أسيست لهذه المساحة العمل.",
73
+ "notFound": "نيتو أسيست غير متوفر لهذه المحادثة.",
74
+ "invalid": "لم يتمكن نيتو أسيست من أخذ ذلك. تحقق منه وحاول مرة أخرى.",
75
+ "generic": "حدث شيء خاطئ مع نيتو أسيست. حاول مرة أخرى."
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "neetoWheel": {
3
+ "welcomeScreen": "Добре дошли в neeto wheel nano"
4
+ },
5
+ "neetoAssist": {
6
+ "title": "NeetoAssist",
7
+ "beta": "БЕТА",
8
+ "betaNote": "NeetoAssist разработва отговори от вашите помощни статии за вашите представители. Работи до вашата текуща настройка и никога не пише на клиент.",
9
+ "askButton": "Попитайте NeetoAssist",
10
+ "draftReady": "Предложен отговор е готов",
11
+ "expand": "Разширяване",
12
+ "collapse": "Сгъване",
13
+ "close": "Затвори NeetoAssist",
14
+ "shadowNote": "Клиентите никога не виждат този чат.",
15
+ "intro": {
16
+ "title": "Здравейте, аз съм NeetoAssist.",
17
+ "description": "Когато клиентът пише, аз изготвям отговор от вашите помощни статии. Попитайте ме всичко за този разговор или опитайте едно от тези."
18
+ },
19
+ "suggestions": {
20
+ "summarize": "Обобщи този разговор",
21
+ "whatToReply": "Какво трябва да отговоря?",
22
+ "whatToCheck": "Какво трябва да проверя първо?"
23
+ },
24
+ "run": {
25
+ "repAsked": "{{name, anyCase}} попита",
26
+ "pending": "Мисля...",
27
+ "suggestedReply": "Предложен отговор",
28
+ "useReply": "Използвай отговор",
29
+ "copy": "Копирай",
30
+ "copied": "Отговорът е копиран",
31
+ "noAnswer": "NeetoAssist не намери сигурен отговор",
32
+ "failed": "NeetoAssist не успя да отговори на този",
33
+ "skipped": "NeetoAssist пропусна този",
34
+ "customerWrote": "Клиентът написа",
35
+ "sources": "От вашите помощни статии",
36
+ "needsFollowUp": "Този отговор казва на клиента, че екипът ще действа по тяхната заявка, така че някой трябва да последва."
37
+ },
38
+ "skippedReasons": {
39
+ "greeting": "Пропуснато: клиентът само каза здравей.",
40
+ "acknowledgment": "Пропуснато: клиентът само призна или каза благодаря, така че нямаше какво да се отговори.",
41
+ "agentHandoff": "Пропуснато: клиентът питаше за човек.",
42
+ "unclear": "Пропуснато: съобщението не беше достатъчно ясно, за да се отговори.",
43
+ "otherProduct": "Пропуснато: въпросът е за друг продукт на Neeto.",
44
+ "noKnowledgeSource": "Пропуснато: няма свързана база знания с NeetoAssist все още.",
45
+ "disabled": "Пропуснато: NeetoAssist е изключен за това работно пространство.",
46
+ "noQuestion": "Пропуснато: съобщението нямаше думи за отговор.",
47
+ "outOfCredits": "Пропуснато: това работно пространство е извън кредити за NeetoAssist.",
48
+ "assignedToHuman": "Пропуснато: представител притежава този разговор, така че NeetoAssist остава мълчалив. Администратор на работното пространство може да промени това в настройките на NeetoAssist.",
49
+ "handedOff": "Пропуснато: този разговор чака човек, защото клиентът е поискал такъв или предишен отговор е обещал екипът да последва. NeetoAssist остава мълчалив за остатъка от него.",
50
+ "noAnswerCooldown": "Пропуснато: NeetoAssist не можа да отговори преди малко, а следващите съобщения на клиента обикновено питат същото, така че изчаква малко преди да опита отново."
51
+ },
52
+ "credits": {
53
+ "exhausted": "Това работно пространство е извън кредити за NeetoAssist, така че нови въпроси не получават отговор, докато не се закупят повече.",
54
+ "buy": "Купете кредити",
55
+ "askAdmin": "Попитайте администратор на работното пространство да купи повече."
56
+ },
57
+ "feedback": {
58
+ "helpful": "Полезно",
59
+ "notHelpful": "Не е полезно",
60
+ "notePlaceholder": "Добавете бележка (по желание)",
61
+ "save": "Запази",
62
+ "close": "Затвори",
63
+ "ratedHelpful": "{{name, anyCase}} намери това полезно",
64
+ "ratedNotHelpful": "{{name, anyCase}} намери това не полезно"
65
+ },
66
+ "ask": {
67
+ "placeholder": "Запитайте за този разговор...",
68
+ "submit": "Изпрати на NeetoAssist"
69
+ },
70
+ "errors": {
71
+ "unavailable": "NeetoAssist не може да бъде достигнат в момента. Ще опита отново скоро.",
72
+ "disabled": "NeetoAssist е изключен за това работно пространство.",
73
+ "notFound": "NeetoAssist не е наличен за този разговор.",
74
+ "invalid": "NeetoAssist не можа да приеме това. Проверете и опитайте отново.",
75
+ "generic": "Нещо се обърка с NeetoAssist. Опитайте отново."
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "neetoWheel": {
3
+ "welcomeScreen": "Benvingut a neeto wheel nano"
4
+ },
5
+ "neetoAssist": {
6
+ "title": "NeetoAssist",
7
+ "beta": "BETA",
8
+ "betaNote": "NeetoAssist redacta respostes dels teus articles d'ajuda per als teus agents. Funciona al costat de la teva configuració actual i mai escriu a un client.",
9
+ "askButton": "Preguntar a NeetoAssist",
10
+ "draftReady": "Una resposta suggerida està a punt",
11
+ "expand": "Expandir",
12
+ "collapse": "Minimitzar",
13
+ "close": "Tancar NeetoAssist",
14
+ "shadowNote": "Els clients mai veuen aquesta conversa.",
15
+ "intro": {
16
+ "title": "Hola, sóc NeetoAssist.",
17
+ "description": "Quan el client escriu, redacto una resposta dels teus articles d'ajuda. Pregunta'm qualsevol cosa sobre aquesta conversa, o prova una d'aquestes."
18
+ },
19
+ "suggestions": {
20
+ "summarize": "Resumir aquesta conversa",
21
+ "whatToReply": "Què hauria de respondre?",
22
+ "whatToCheck": "Què hauria de comprovar primer?"
23
+ },
24
+ "run": {
25
+ "repAsked": "{{name, anyCase}} va preguntar",
26
+ "pending": "Pensant...",
27
+ "suggestedReply": "Resposta suggerida",
28
+ "useReply": "Utilitzar resposta",
29
+ "copy": "Copiar",
30
+ "copied": "Resposta copiada",
31
+ "noAnswer": "NeetoAssist no va trobar cap resposta segura",
32
+ "failed": "NeetoAssist no va poder respondre a aquest.",
33
+ "skipped": "NeetoAssist va passar aquest.",
34
+ "customerWrote": "El client va escriure",
35
+ "sources": "Dels teus articles d'ajuda",
36
+ "needsFollowUp": "Aquesta resposta informa al client que l'equip actuarà segons la seva sol·licitud, així que algú ha de fer un seguiment."
37
+ },
38
+ "skippedReasons": {
39
+ "greeting": "Omissió: el client només va dir hola.",
40
+ "acknowledgment": "Omissió: el client només va reconèixer o va dir gràcies, així que no hi havia res a respondre.",
41
+ "agentHandoff": "Omissió: el client va demanar una persona.",
42
+ "unclear": "Omissió: el missatge no era prou clar per respondre.",
43
+ "otherProduct": "Omissió: la pregunta és sobre un altre producte de Neeto.",
44
+ "noKnowledgeSource": "Omissió: encara no hi ha cap base de coneixements connectada a NeetoAssist.",
45
+ "disabled": "Omissió: NeetoAssist està desactivat per a aquest espai de treball.",
46
+ "noQuestion": "Omissió: el missatge no contenia paraules per respondre.",
47
+ "outOfCredits": "Omissió: aquest espai de treball s'ha quedat sense crèdits de NeetoAssist.",
48
+ "assignedToHuman": "Omissió: un agent és propietari d'aquesta conversa, així que NeetoAssist es queda en silenci. Un administrador de l'espai de treball pot canviar això a la configuració de NeetoAssist.",
49
+ "handedOff": "Omissió: aquesta conversa està esperant una persona, perquè el client va demanar-ne una o una resposta anterior va prometre que l'equip faria un seguiment. NeetoAssist es queda en silenci per la resta.",
50
+ "noAnswerCooldown": "Omissió: NeetoAssist no va poder respondre fa un moment, i els propers missatges del client normalment pregunten el mateix, així que espera una mica abans de tornar-ho a intentar."
51
+ },
52
+ "credits": {
53
+ "exhausted": "Aquest espai de treball s'ha quedat sense crèdits de NeetoAssist, així que noves preguntes no reben resposta fins que s'adquireixin més.",
54
+ "buy": "Comprar crèdits",
55
+ "askAdmin": "Preguntar a un administrador de l'espai de treball per comprar més."
56
+ },
57
+ "feedback": {
58
+ "helpful": "Útil",
59
+ "notHelpful": "No útil",
60
+ "notePlaceholder": "Afegir una nota (opcional)",
61
+ "save": "Desa",
62
+ "close": "Tancar",
63
+ "ratedHelpful": "{{name, anyCase}} va trobar això útil",
64
+ "ratedNotHelpful": "{{name, anyCase}} va trobar això no útil"
65
+ },
66
+ "ask": {
67
+ "placeholder": "Preguntar sobre aquesta conversa...",
68
+ "submit": "Enviar a NeetoAssist"
69
+ },
70
+ "errors": {
71
+ "unavailable": "NeetoAssist no es pot contactar ara mateix. Ho intentarà de nou en breu.",
72
+ "disabled": "NeetoAssist està desactivat per a aquest espai de treball.",
73
+ "notFound": "NeetoAssist no està disponible per a aquesta conversa.",
74
+ "invalid": "NeetoAssist no va poder acceptar això. Comprova-ho i torna-ho a intentar.",
75
+ "generic": "Alguna cosa va anar malament amb NeetoAssist. Torna a intentar-ho."
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "neetoWheel": {
3
+ "welcomeScreen": "Vítejte na neeto wheel nano"
4
+ },
5
+ "neetoAssist": {
6
+ "title": "NeetoAssist",
7
+ "beta": "BETA",
8
+ "betaNote": "NeetoAssist vytváří návrhy odpovědí z vašich článků nápovědy pro vaše zástupce. Spustí se vedle vašeho aktuálního nastavení a nikdy nepíše zákazníkovi.",
9
+ "askButton": "Zeptejte se NeetoAssist",
10
+ "draftReady": "Návrh odpovědi je připraven",
11
+ "expand": "Rozbalit",
12
+ "collapse": "Sbalit",
13
+ "close": "Zavřít NeetoAssist",
14
+ "shadowNote": "Zákazníci tuto konverzaci nikdy nevidí.",
15
+ "intro": {
16
+ "title": "Ahoj, já jsem NeetoAssist.",
17
+ "description": "Když zákazník píše, vytvářím odpověď z vašich článků nápovědy. Zeptejte se mě na cokoliv ohledně této konverzace, nebo zkuste jednu z těchto možností."
18
+ },
19
+ "suggestions": {
20
+ "summarize": "Shrnout tuto konverzaci",
21
+ "whatToReply": "Co bych měl odpovědět?",
22
+ "whatToCheck": "Co bych měl nejprve zkontrolovat?"
23
+ },
24
+ "run": {
25
+ "repAsked": "{{name, anyCase}} se ptal",
26
+ "pending": "Přemýšlím...",
27
+ "suggestedReply": "Návrh odpovědi",
28
+ "useReply": "Použít odpověď",
29
+ "copy": "Kopírovat",
30
+ "copied": "Odpověď zkopírována",
31
+ "noAnswer": "NeetoAssist nenašel žádnou jistou odpověď",
32
+ "failed": "NeetoAssist nedokázal na tohle odpovědět",
33
+ "skipped": "NeetoAssist tohle přeskočil",
34
+ "customerWrote": "Zákazník napsal",
35
+ "sources": "Z vašich článků nápovědy",
36
+ "needsFollowUp": "Tato odpověď říká zákazníkovi, že tým bude jednat o jejich žádosti, takže někdo musí sledovat."
37
+ },
38
+ "skippedReasons": {
39
+ "greeting": "Přeskočeno: zákazník řekl pouze ahoj.",
40
+ "acknowledgment": "Přeskočeno: zákazník pouze potvrdil nebo poděkoval, takže nebylo co odpovídat.",
41
+ "agentHandoff": "Přeskočeno: zákazník požádal o osobu.",
42
+ "unclear": "Přeskočeno: zpráva nebyla dostatečně jasná na odpověď.",
43
+ "otherProduct": "Přeskočeno: otázka je o jiném produktu Neeto.",
44
+ "noKnowledgeSource": "Přeskojeno: k NeetoAssist zatím není připojena žádná znalostní báze.",
45
+ "disabled": "Přeskočeno: NeetoAssist je pro tuto pracovní plochu vypnuto.",
46
+ "noQuestion": "Přeskočeno: zpráva neměla žádná slova na odpověď.",
47
+ "outOfCredits": "Přeskočeno: tato pracovní plocha má nedostatek kreditů NeetoAssist.",
48
+ "assignedToHuman": "Přeskočeno: zástupce vlastní tuto konverzaci, takže NeetoAssist zůstává v tichosti. Administrátor pracovní plochy to může změnit v nastavení NeetoAssist.",
49
+ "handedOff": "Přeskočeno: tato konverzace čeká na osobu, protože zákazník požádal o jednu nebo dřívější odpověď slibovala, že tým bude reagovat. NeetoAssist zůstává tichý až do konce.",
50
+ "noAnswerCooldown": "Přeskočeno: NeetoAssist nemohl před chvílí odpovědět, a další zprávy od zákazníka obvykle kladou stejnou otázku, takže chvíli čeká, než se pokusí znovu."
51
+ },
52
+ "credits": {
53
+ "exhausted": "Tato pracovní plocha má nedostatek kreditů NeetoAssist, takže nové otázky nedostanou žádnou odpověď, dokud nebudou zakoupeny další.",
54
+ "buy": "Koupit kredity",
55
+ "askAdmin": "Požádejte administrátora pracovní plochy, aby zakoupil více."
56
+ },
57
+ "feedback": {
58
+ "helpful": "Užitečné",
59
+ "notHelpful": "Není užitečné",
60
+ "notePlaceholder": "Přidat poznámku (volitelné)",
61
+ "save": "Uložit",
62
+ "close": "Zavřít",
63
+ "ratedHelpful": "{{name, anyCase}} našel toto užitečné",
64
+ "ratedNotHelpful": "{{name, anyCase}} to považoval za neužitečné"
65
+ },
66
+ "ask": {
67
+ "placeholder": "Zeptejte se na tuto konverzaci...",
68
+ "submit": "Odeslat do NeetoAssist"
69
+ },
70
+ "errors": {
71
+ "unavailable": "NeetoAssist nelze v tuto chvíli oslovit. Pokusí se znovu brzy.",
72
+ "disabled": "NeetoAssist je pro tuto pracovní plochu vypnuto.",
73
+ "notFound": "NeetoAssist není pro tuto konverzaci dostupný.",
74
+ "invalid": "NeetoAssist to nemohl přijmout. Zkontrolujte to a zkuste to znovu.",
75
+ "generic": "Něco se pokazilo s NeetoAssist. Zkuste to znovu."
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "neetoWheel": {
3
+ "welcomeScreen": "Velkommen til neeto wheel nano"
4
+ },
5
+ "neetoAssist": {
6
+ "title": "NeetoAssist",
7
+ "beta": "BETA",
8
+ "betaNote": "NeetoAssist udarbejder svar fra dine hjælpeartikler til dine repræsentanter. Det kører ved siden af din nuværende opsætning og skriver aldrig til en kunde.",
9
+ "askButton": "Spørg NeetoAssist",
10
+ "draftReady": "Et foreslået svar er klar",
11
+ "expand": "Udvid",
12
+ "collapse": "Sammenfold",
13
+ "close": "Luk NeetoAssist",
14
+ "shadowNote": "Kunder ser aldrig denne chat.",
15
+ "intro": {
16
+ "title": "Hej, jeg er NeetoAssist.",
17
+ "description": "Når kunden skriver, udarbejder jeg et svar fra dine hjælpeartikler. Spørg mig hvad som helst om denne samtale, eller prøv en af disse."
18
+ },
19
+ "suggestions": {
20
+ "summarize": "Sammenfat denne samtale",
21
+ "whatToReply": "Hvad skal jeg svare?",
22
+ "whatToCheck": "Hvad skal jeg tjekke først?"
23
+ },
24
+ "run": {
25
+ "repAsked": "{{name, anyCase}} spurgte",
26
+ "pending": "Tænker...",
27
+ "suggestedReply": "Foreslået svar",
28
+ "useReply": "Brug svar",
29
+ "copy": "Kopier",
30
+ "copied": "Svar kopieret",
31
+ "noAnswer": "NeetoAssist fandt ikke et sikkert svar",
32
+ "failed": "NeetoAssist kunne ikke svare på dette",
33
+ "skipped": "NeetoAssist sprang dette over",
34
+ "customerWrote": "Kunden skrev",
35
+ "sources": "Fra dine hjælpeartikler",
36
+ "needsFollowUp": "Dette svar fortæller kunden, at teamet vil handle på deres anmodning, så nogen skal følge op."
37
+ },
38
+ "skippedReasons": {
39
+ "greeting": "Sprunget over: kunden sagde kun hej.",
40
+ "acknowledgment": "Sprunget over: kunden anerkendte kun eller sagde tak, så der var intet at svare på.",
41
+ "agentHandoff": "Sprunget over: kunden bad om en person.",
42
+ "unclear": "Sprunget over: beskeden var ikke klar nok til at svare.",
43
+ "otherProduct": "Sprunget over: spørgsmålet handler om et andet Neeto produkt.",
44
+ "noKnowledgeSource": "Sprunget over: ingen vidensbase er tilsluttet NeetoAssist endnu.",
45
+ "disabled": "Sprunget over: NeetoAssist er slået fra for denne arbejdsplads.",
46
+ "noQuestion": "Sprunget over: beskeden havde ingen ord at svare på.",
47
+ "outOfCredits": "Sprunget over: denne arbejdsplads er uden NeetoAssist kreditter.",
48
+ "assignedToHuman": "Sprunget over: en repræsentant ejer denne samtale, så NeetoAssist forbliver stille. En arbejdspladsadministrator kan ændre dette i NeetoAssists indstillinger.",
49
+ "handedOff": "Sprunget over: denne samtale afventer en person, fordi kunden bad om en eller et tidligere svar lovede teamet at følge op. NeetoAssist forbliver stille for resten af det.",
50
+ "noAnswerCooldown": "Sprunget over: NeetoAssist kunne ikke svare for et øjeblik siden, og kundens næste beskeder spørger normalt om det samme, så det venter lidt før det prøver igen."
51
+ },
52
+ "credits": {
53
+ "exhausted": "Denne arbejdsplads er uden NeetoAssist kreditter, så nye spørgsmål får intet svar, indtil flere er købt.",
54
+ "buy": "Køb kreditter",
55
+ "askAdmin": "Spørg en arbejdspladsadministrator om at købe flere."
56
+ },
57
+ "feedback": {
58
+ "helpful": "Nyttig",
59
+ "notHelpful": "Ikke nyttig",
60
+ "notePlaceholder": "Tilføj en note (valgfrit)",
61
+ "save": "Gem",
62
+ "close": "Luk",
63
+ "ratedHelpful": "{{name, anyCase}} fandt dette nyttigt",
64
+ "ratedNotHelpful": "{{name, anyCase}} fandt dette ikke nyttigt"
65
+ },
66
+ "ask": {
67
+ "placeholder": "Spørg om denne samtale...",
68
+ "submit": "Send til NeetoAssist"
69
+ },
70
+ "errors": {
71
+ "unavailable": "NeetoAssist kan ikke nås lige nu. Det vil prøve igen snart.",
72
+ "disabled": "NeetoAssist er slået fra for denne arbejdsplads.",
73
+ "notFound": "NeetoAssist er ikke tilgængelig for denne samtale.",
74
+ "invalid": "NeetoAssist kunne ikke tage det. Tjek det og prøv igen.",
75
+ "generic": "Noget gik galt med NeetoAssist. Prøv igen."
76
+ }
77
+ }
78
+ }