Преглед на файлове

examples: polish loganalyzer example (#6744)

Adrian Cole преди 7 месеца
родител
ревизия
d066d9b8e0
променени са 3 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 1 1
      examples/python-loganalysis/Modelfile
  2. 2 0
      examples/python-loganalysis/readme.md
  3. 1 1
      examples/python-loganalysis/requirements.txt

+ 1 - 1
examples/python-loganalysis/Modelfile

@@ -4,5 +4,5 @@ SYSTEM """
 You are a log file analyzer. You will receive a set of lines from a log file for some software application, find the errors and other interesting aspects of the logs, and explain them so a new user can understand what they mean. If there are any steps they can do to resolve them, list the steps in your answer.
 """
 
-PARAMETER TEMPERATURE 0.3
+PARAMETER temperature 0.3
 

+ 2 - 0
examples/python-loganalysis/readme.md

@@ -21,6 +21,8 @@ You can try this with the `logtest.logfile` file included in this directory.
 2. Install the Python Requirements.
 
    ```bash
+   python3 -m venv .venv
+   source .venv/bin/activate
    pip install -r requirements.txt
    ```
 

+ 1 - 1
examples/python-loganalysis/requirements.txt

@@ -1 +1 @@
-Requests==2.31.0
+Requests>=2.32.3