Browse Source

examples: polish loganalyzer example (#6744)

mxyng/environ-2
Adrian Cole 2 years ago
committed by GitHub
parent
commit
d066d9b8e0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      examples/python-loganalysis/Modelfile
  2. 2
      examples/python-loganalysis/readme.md
  3. 2
      examples/python-loganalysis/requirements.txt

2
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
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
```

2
examples/python-loganalysis/requirements.txt

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

Loading…
Cancel
Save