CineAI commited on
Commit
5e0943c
1 Parent(s): ae90eca

Update command/core/form_documentation.py

Browse files
Files changed (1) hide show
  1. command/core/form_documentation.py +16 -2
command/core/form_documentation.py CHANGED
@@ -4,8 +4,20 @@ import logging
4
  NAME = 'Chelsea_documentation.txt'
5
 
6
  TEMPLATE = """
7
- D
8
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  """
10
 
11
  def generate_doc(path: str):
@@ -15,7 +27,9 @@ def generate_doc(path: str):
15
  else:
16
  current_dir = os.path.dirname(os.path.realpath(__file__))
17
  file = os.path.join(current_dir, NAME)
18
-
 
 
19
  try:
20
  with open(file, 'w') as f:
21
  text = f.write(TEMPLATE)
 
4
  NAME = 'Chelsea_documentation.txt'
5
 
6
  TEMPLATE = """
7
+ Documentation.
8
 
9
+ A complete list of commands that are designed to facilitate the use of the voice assistant (Chelsea).
10
+ The complete list consists of no more than 100 commands written in a txt file.
11
+ The list of commands will be updated as the assistant is developed.
12
+ The first version of the programme (Arctic Monkeys) contains a total of 5 commands.
13
+ They are divided into categories: finance, main, agents, RAG.
14
+
15
+ The list of commands and their use.
16
+
17
+ Command documentation: the user downloads a text file that describes the commands in detail.
18
+ The information on how to use the very first and main command will be announced during the first use.
19
+ The following list of voice commands in English is available for calling the command: "Download commands", "download commands", "load commands", "boot commands", "install commands", "commands", "load", "boot", "download", "install".
20
+ In Ukrainian: "Завантажити команди", "Скачати команди", "Загрузити команди", "Переглянути команди", "Завантажити", "Скачати", "Загрузити", "Переглянути", "команди".
21
  """
22
 
23
  def generate_doc(path: str):
 
27
  else:
28
  current_dir = os.path.dirname(os.path.realpath(__file__))
29
  file = os.path.join(current_dir, NAME)
30
+
31
+ logging.info(file)
32
+
33
  try:
34
  with open(file, 'w') as f:
35
  text = f.write(TEMPLATE)