autodocgenerator 0.9.0.2__py3-none-any.whl → 0.9.0.4__py3-none-any.whl
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.
- autodocgenerator/__init__.py +21 -1
- autodocgenerator/engine/config/config.py +3 -3
- autodocgenerator-0.9.0.4.dist-info/METADATA +983 -0
- {autodocgenerator-0.9.0.2.dist-info → autodocgenerator-0.9.0.4.dist-info}/RECORD +5 -5
- autodocgenerator-0.9.0.2.dist-info/METADATA +0 -981
- {autodocgenerator-0.9.0.2.dist-info → autodocgenerator-0.9.0.4.dist-info}/WHEEL +0 -0
autodocgenerator/__init__.py
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
def _print_welcome():
|
|
2
|
+
BLUE = "\033[94m"
|
|
3
|
+
BOLD = "\033[1m"
|
|
4
|
+
CYAN = "\033[96m"
|
|
5
|
+
RESET = "\033[0m"
|
|
6
|
+
|
|
7
|
+
ascii_logo = f"""
|
|
8
|
+
{BLUE}{BOLD} ___ ____ ______
|
|
9
|
+
/ | / __ \ / ____/
|
|
10
|
+
/ /| | / / / / / / __
|
|
11
|
+
/ ___ | / /_/ / / /_/ /
|
|
12
|
+
/_/ |_|/_____/ \____/
|
|
13
|
+
{RESET}"""
|
|
14
|
+
|
|
15
|
+
print(ascii_logo)
|
|
16
|
+
print(f"{CYAN}ADG Library{RESET} | {BOLD}Status:{RESET} Ready to work")
|
|
17
|
+
print(f"{'—' * 35}\n")
|
|
18
|
+
|
|
19
|
+
_print_welcome()
|
|
20
|
+
|
|
21
|
+
|
|
2
22
|
from .ui.logging import BaseLogger, BaseLoggerTemplate, InfoLog, ErrorLog, WarningLog
|
|
3
23
|
|
|
4
24
|
logger = BaseLogger()
|
|
@@ -110,9 +110,9 @@ BASE_CUSTOM_DISCRIPTIONS = """
|
|
|
110
110
|
1. Use ONLY the provided Context to answer.
|
|
111
111
|
2. If the requested information is not explicitly mentioned in the Context, or if you don't know the answer based on the provided data, respond with an empty string ("") or simply say "No information found".
|
|
112
112
|
3. DO NOT use external knowledge or invent any logic that is not present in the text.
|
|
113
|
-
4. Do not provide any introductory or concluding remarks.
|
|
114
|
-
5. If you dont have any info about it return just !noinfo
|
|
115
|
-
|
|
113
|
+
4. Do not provide any introductory or concluding remarks.
|
|
114
|
+
5. If you dont have any info about it return just !noinfo Exception for "example usage": If the goal is to provide a usage example and the Context contains a class or function implementation, you are permitted to synthesize a code example by deriving the logic strictly from the provided implementation details.
|
|
115
|
+
7. Every response must start with exactly one <a name="CONTENT_DESCRIPTION"></a> tag. The CONTENT_DESCRIPTION must be a short, hyphenated summary of the actual information you are providing (e.g., "user-authentication-logic" instead of "auth.yml").
|
|
116
116
|
STRICT RULES(This rules works only for <a name=""></a> tag):
|
|
117
117
|
|
|
118
118
|
NO filenames or paths (e.g., forbidden: "autodocconfig.yml", "src/config").
|