A Python package for extracting and managing logs to build a collaborative workspace for agents
Project description
NeatLogs
This repository contains Python scripts that work as the 'NeatLogs' module to extract logs to build a collaborative workspace for agents.
Installation
cd neatlogs
pip install -r requirements.txt
Quick Start
import NeatLogs as nl
# Initialize logging
nl.init()
# That's it! Your LLM conversations will now be logged to demo.txt
Example Output
(If used directly with litellm)
📝 Conversation Log
==================================================
🕒 2025-02-11 15:30:45
🤖 Model: gpt-4
--------------------------------------------------
👤 User:
What's the weather like today?
🤖 Assistant:
I don't have access to real-time weather data, but I can help you find weather information for your location.
==================================================
Project Structure
(Not updated completely)
neatlogs/
├── __init__.py
├── llm_logger.py #Core logging functionality
├── log_parser.py #Log parsing and formatting
├── requirements.txt
└── README.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
neatlogs-0.1.0.tar.gz
(7.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neatlogs-0.1.0.tar.gz.
File metadata
- Download URL: neatlogs-0.1.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6089607f8eb9efb4d6bdf89d0b8f1efc5a560964a9d7f1d99fe0826374d949c0
|
|
| MD5 |
493a089b2f42a0d24c3fad73c5f1978d
|
|
| BLAKE2b-256 |
2759e5bf1c1cfdb1be2abec9d6bb6ae86719132dc383ed079becb0c9bf968a54
|
File details
Details for the file neatlogs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: neatlogs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d8028da41c8c6c386a73e69aa8db8a41aa5ac46adc6711dc49f05c7ccae6e38
|
|
| MD5 |
ad71693baf7741927acf80ed96c925ae
|
|
| BLAKE2b-256 |
40be5d5b1e7eb04755b0277c5fe07512083c0a3bec95e422285ea0eea8026ca4
|