Skip to content

Commit

Permalink
feat(logging): add YAML logging for original prompts in generate_prom…
Browse files Browse the repository at this point in the history
…pt_with_hash

- Implement YAML-based logging in the generate_prompt_with_hash function
- Logs original prompts with their date to a YAML file instead of plain text
- Appends new entries to the existing YAML file, if present
- Utilizes PyYAML to manage serialization of log data
- Maintains human-readable format for prompts, ensuring multiline handling
  • Loading branch information
Estrada Irribarra, Rodrigo Andres committed Oct 21, 2024
1 parent 644c691 commit e7d79e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "storycraftr"
version = "0.6.0-alpha2"
version = "0.6.1-alpha2"
description = "A CLI tool for writing books using OpenAI."
authors = ["Tu nombre <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit e7d79e7

Please sign in to comment.