Wdoc

Latest version: v2.9.0

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 16

2.9.0

What's new

New Features

- **Shell Command Testing**
- Added shell command test for NYTimes parsing with content validation. [d3832f2d]

Fixes

- **Intermediate Merging**
- Fixed error during batch merging, ensuring intermediate answers are handled properly when too large. [d06cbb36]
- Improved logic for retry attempts during batch merging. [573e15fa]
- **Parsing Reliability**
- Prevent return of intermediately parsed output on parsing failure. [78c93640]
- Adapted handling to retry when encountering unparseable output or `finish_reason=length`. [763e9b4b]
- **Backend and Output**
- Resolved backend errors and edge case issues breaking summary generation. [bf00ced0, 89c01de3]
- Corrected handling of test outputs to avoid crashing in specific import modes. [ee416ece]
- **Testing Corrections**
- Corrected various test functions and ensured expected outcomes align with API changes. [bfcba71a, 89c01de3, 292ce90b]

Documentation

- **General Updates**
- Enhanced walkthrough formatting for improved readability in documentation. [2ec7fad9]
- Provided context about the origins of wdoc in README. [31e6c5d5]
- **Example and Help Docs**
- Updated examples documentation to remove confusing import_mode arguments. [cef5cdf1]
- Improved query and summary help documentation to reflect recent changes. [a289759c, f1a6294b]

Improvements

- **Configuration and Setup Adjustments**
- Simplified the post-install script to handle dependencies via `uv` if present. [7a551432, 4ed0a350]
- **Performance and Debugging Enhancements**
- Bumped max_tokens for intermediate answers to accommodate larger outputs during processing. [df059b61]
- Stored original strings before parsing for effective debugging. [6ec39576]
- Addressed deprecation warnings to keep up with latest standards. [15e4793c]

Minor Changes

- **Code and Debug Tune-ups**
- Streamlined testing arguments and outputs for precise validation. [7e5e4ce7, b7f1a1f0, d79b4c51]
- Fine-tuned post-install scripts and functional debug outputs for better clarity. [d620f879]
- **Enhanced wdoc Docs Via SVG Files (WIP)**
- Create SVG diagram and documentation for summary algorithm. [b5f49a96]
- Added SVG visualization and improved design and intuitive flow representation for better understanding. [9489a8af, 703dde08]


Commits details since the last release


- [d06cbb36] by thiswillbeyourgithub, 34 minutes ago:
fix: error when merging batch when intermediate answers got so large the model can't merge them anymore
We just concatennate them using semantic order and that will be good
enough, the alternative is too expensive

Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [573e15fa] by thiswillbeyourgithub, 35 minutes ago:
fix: one more trial given to merge batches
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [7edbe1f8] by thiswillbeyourgithub, 54 minutes ago:
doc: add helpful debug message if abrupt message tail
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py



- [df059b61] by thiswillbeyourgithub, 55 minutes ago:
new: bump max_token for intermediate answer from 1000 to 4000
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [78c93640] by thiswillbeyourgithub, 3 hours ago:
fix: don't return intermediately parsed output if parsing fails
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py



- [6ec39576] by thiswillbeyourgithub, 3 hours ago:
minor: store the original string before parsing to help debugging
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py



- [ee1c8571] by thiswillbeyourgithub, 3 hours ago:
minor: better order of the output price prints
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [cc49037a] by thiswillbeyourgithub, 3 hours ago:
fix: out_file test
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [cef5cdf1] by thiswillbeyourgithub, 3 hours ago:
fix: forgot to remove import_mode args from examples
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/docs/examples.md



- [d3832f2d] by thiswillbeyourgithub (aider), 3 hours ago:
feat: Add shell command test for NYTimes parsing with content validation

tests/test_wdoc.py



- [ee416ece] by thiswillbeyourgithub, 3 hours ago:
new: don't crash if using import_mode at the same time as out_file
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [32ecdbde] by thiswillbeyourgithub, 4 hours ago:
test: remove unused debug and verbose argsc
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [a13d20a2] by thiswillbeyourgithub, 4 hours ago:
new: remove confusing arg 'import_mode' and set it automatically depending on if imported or launched from cli
Signed-off-by: thiswillbeyourgithub
<26625900+thiswillbeyourgithubusers.noreply.github.com>

README.md
scripts/AnkiFiltered/AnkiFilteredDeckCreator.py
scripts/TheFiche/TheFiche.py
tests/test_wdoc.py
wdoc/__main__.py
wdoc/docs/help.md
wdoc/wdoc.py



- [763e9b4b] by thiswillbeyourgithub, 4 hours ago:
fix: now if eval_llm returns something unparsable or with finish_reason=length we always retry
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [15e4793c] by thiswillbeyourgithub, 4 hours ago:
minor: address deprecation warnings
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/tasks/query.py



- [b7f1a1f0] by thiswillbeyourgithub, 4 hours ago:
test: set semantic batching test to api mark
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [7e5e4ce7] by thiswillbeyourgithub, 4 hours ago:
test: move semantic batching test to the api section
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [e5530b64] by thiswillbeyourgithub, 5 hours ago:
test: add test for mistral embeddings
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [d79b4c51] by thiswillbeyourgithub, 5 hours ago:
fix: remove unused arg in tests
Signed-off-by: thiswillbeyourgithub
<26625900+thiswillbeyourgithubusers.noreply.github.com>
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [13ad2aab] by thiswillbeyourgithub, 5 hours ago:
test: ollama should be an api mark not basic
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [d3679b3a] by thiswillbeyourgithub, 5 hours ago:
minor: sort pytest by mark
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [bfcba71a] by thiswillbeyourgithub, 6 hours ago:
fix test
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [292ce90b] by thiswillbeyourgithub, 6 hours ago:
fix: test of query
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [740dc25e] by thiswillbeyourgithub, 6 hours ago:
fix: test of out_file
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [ff737110] by thiswillbeyourgithub, 6 hours ago:
fix: summary test
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [3b292ea0] by thiswillbeyourgithub, 6 hours ago:
fix: remove unused arg in tests
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [bf00ced0] by thiswillbeyourgithub, 6 hours ago:
fix: edge case was breaking summary
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [89c01de3] by thiswillbeyourgithub, 6 hours ago:
fix: backend error in one edge case
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [ebcf92fb] by thiswillbeyourgithub (aider), 6 hours ago:
feat: Change default query relevancy threshold to -0.5

wdoc/docs/help.md
wdoc/wdoc.py



- [443aab4c] by thiswillbeyourgithub, 7 hours ago:
fix: query_task arg is actually optional
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [5847cd36] by thiswillbeyourgithub, 7 hours ago:
fix: missing var if only one document present
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [31e6c5d5] by thiswillbeyourgithub (aider), 12 hours ago:
docs: Add context about medical student's motivation for creating wdoc

README.md



- [2ec7fad9] by thiswillbeyourgithub (aider), 14 hours ago:
style: Update walkthrough formatting to use triple backticks for code blocks

wdoc/docs/examples.md



- [c06a8491] by thiswillbeyourgithub, 15 hours ago:
update roadmap
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

README.md



- [7d1ba8bd] by thiswillbeyourgithub, 15 hours ago:
fix: link to examples
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

README.md



- [d003d8ed] by thiswillbeyourgithub, 25 hours ago:
fix: ongoing fix for the summary test
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [3a5f805c] by thiswillbeyourgithub, 25 hours ago:
fix: tests for api were wrong
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [17e6a0fa] by thiswillbeyourgithub, 26 hours ago:
fix: test using out_file
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [50325e99] by thiswillbeyourgithub, 26 hours ago:
fix: dont read from stdin if pytest is imported
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py



- [53370050] by thiswillbeyourgithub, 26 hours ago:
minor
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/test_wdoc.py



- [14735c8b] by thiswillbeyourgithub, 26 hours ago:
minor
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/batch_file_loader.py



- [4ed0a350] by thiswillbeyourgithub, 26 hours ago:
new: the post install script now tries to install python-magic from git
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

setup.py



- [7a551432] by thiswillbeyourgithub, 26 hours ago:
new: try to use uv for the PostInstall script
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

setup.py



- [7c705562] by thiswillbeyourgithub, 26 hours ago:
docs: minor
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

README.md



- [6d0c42cb] by thiswillbeyourgithub, 26 hours ago:
feat: allow using shell pipes
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

README.md
setup.py
wdoc/__main__.py
wdoc/docs/examples.md
wdoc/utils/misc.py



- [d620f879] by thiswillbeyourgithub, 27 hours ago:
docs: insist on txt vs text filetype
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/docs/help.md



- [a0c54951] by thiswillbeyourgithub, 29 hours ago:
minor
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/__main__.py



- [83df9c5d] by thiswillbeyourgithub, 30 hours ago:
new: use Literal type hint for audio backend
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/loaders.py



- [07128045] by thiswillbeyourgithub (aider), 2 days ago:
test: Add API test for summary out_file argument

tests/test_wdoc.py



- [a289759c] by thiswillbeyourgithub (aider), 2 days ago:
docs: Update documentation for out_file argument with query use case

wdoc/docs/help.md



- [f1a6294b] by thiswillbeyourgithub, 2 days ago:
feat: allow out_file to be specified for query too
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [0b524a79] by thiswillbeyourgithub, 2 days ago:
harmonize the way out_file is handled
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py
wdoc/wdoc.py



- [d0274309] by thiswillbeyourgithub, 2 days ago:
put unfinished svg into some folder
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/docs/svg/query_animation.html
wdoc/docs/svg/query_rag.md
wdoc/docs/svg/summary.svg



- [44f36f08] by thiswillbeyourgithub, 2 days ago:
add
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

query_rag.md



- [4a673b09] by thiswillbeyourgithub (aider), 2 days ago:
refactor: Reposition step 4 and update process flow arrows in summary diagram

wdoc/docs/summary.svg



- [4ca2bdd2] by thiswillbeyourgithub (aider), 2 days ago:
fix: Swap step 3 and 4 labels in summary SVG diagram

wdoc/docs/summary.svg



- [87035327] by thiswillbeyourgithub, 2 days ago:
better svg
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/docs/summary.svg



- [b5f49a96] by thiswillbeyourgithub (aider), 2 days ago:
feat: Improve wdoc summary algorithm SVG diagram and documentation

summary_rag.md
wdoc/docs/summary.svg



- [204ca0f7] by thiswillbeyourgithub (aider), 2 days ago:
refactor: Update SVG flow and remove distracting icons

wdoc/docs/summary.svg



- [703dde08] by thiswillbeyourgithub (aider), 2 days ago:
feat: Simplify SVG cycle with more intuitive circular design

wdoc/docs/summary.svg



- [fc83dd31] by thiswillbeyourgithub (aider), 2 days ago:
feat: Enhance SVG visualization with improved design, color scheme, and intuitive flow representation

wdoc/docs/summary.svg



- [9489a8af] by thiswillbeyourgithub (aider), 2 days ago:
feat: Add SVG visualization of wdoc summary algorithm

wdoc/docs/summary.svg



- [3e975752] by thiswillbeyourgithub (aider), 2 days ago:
fix: Encode '>' as HTML entity in query_animation.html

wdoc/docs/query_animation.html



- [37c8244d] by thiswillbeyourgithub (aider), 2 days ago:
refactor: Convert dynamic SVG animation to static HTML flow diagram

wdoc/docs/query_animation.html



- [37469788] by thiswillbeyourgithub, 2 days ago:
remove unused arrows
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/docs/query_animation.html



- [c9dd00c2] by thiswillbeyourgithub, 2 days ago:
add query animation
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/docs/query_animation.html

2.8.0

bumpver.toml
docs/source/conf.py
setup.py
wdoc/wdoc.py



- [f97935e3] by thiswillbeyourgithub, 3 minutes ago:
Revert "tests: remove the fixture from tests as they are bugging some tests"
This reverts commit 34adb42a1f79f49711b50b0cd812a6d5cab993ca.

tests/conftest.py



- [6515373d] by thiswillbeyourgithub, 6 minutes ago:
fix: apply patch before running tests
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/conftest.py
tests/run_all_tests.sh



- [34adb42a] by thiswillbeyourgithub, 14 minutes ago:
tests: remove the fixture from tests as they are bugging some tests
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/conftest.py



- [10633a61] by thiswillbeyourgithub, 61 minutes ago:
fix: cant use xdist for the api tests apparently
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/run_all_tests.sh



- [5e7233b2] by thiswillbeyourgithub, 77 minutes ago:
fix: obsolete script was using an old import env var name
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

scripts/AnkiFiltered/AnkiFilteredDeckCreator.py



- [7265e000] by thiswillbeyourgithub, 2 hours ago:
fix: to run the tests we must install pytest-xdist
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/run_all_tests.sh



- [ed119347] by thiswillbeyourgithub, 2 hours ago:
fix: to run the tests we need to patch asyncio
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/run_all_tests.sh



- [f382e173] by thiswillbeyourgithub, 4 hours ago:
new: better format for debug prints
Signed-off-by: thiswillbeyourgithub
<26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/logger.py



- [e213351b] by thiswillbeyourgithub, 4 hours ago:
minor: remove a mention of winston doc and replace by wdoc
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/docs/help.md



- [11b5c955] by thiswillbeyourgithub, 4 hours ago:
fix: set default concurrency to 1 actually because it is causing issues
Signed-off-by: thiswillbeyourgithub
<26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/docs/help.md
wdoc/utils/env.py



- [dca2b477] by thiswillbeyourgithub (aider), 7 hours ago:
feat: Add environment variable to control invalid document evaluation behavior

wdoc/docs/help.md
wdoc/utils/env.py
wdoc/utils/tasks/query.py



- [ffa2d67e] by thiswillbeyourgithub, 7 hours ago:
docs: harmonize default env valuee presentation
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/docs/help.md



- [95ec3aa0] by thiswillbeyourgithub, 7 hours ago:
fix: set default llm concurrency to 5 instead of 15
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/docs/help.md
wdoc/utils/env.py



- [c056ba4e] by thiswillbeyourgithub, 7 hours ago:
fix: exit code should have been 0 not 1
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [26ba02b6] by thiswillbeyourgithub, 7 hours ago:
fix: litellm debugging
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [9ac4f327] by thiswillbeyourgithub, 7 hours ago:
typo
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/tasks/query.py



- [3d3006e3] by thiswillbeyourgithub (aider), 31 hours ago:
feat: Add WDOC_APPLY_ASYNCIO_PATCH env variable to control asyncio patching

wdoc/__init__.py
wdoc/docs/help.md
wdoc/utils/env.py



- [dfccef09] by thiswillbeyourgithub, 31 hours ago:
minor
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/__init__.py



- [ed5590b6] by thiswillbeyourgithub, 32 hours ago:
new: reworked how we parse the outputs of eval_llm
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/tasks/query.py



- [f8cd452e] by thiswillbeyourgithub, 32 hours ago:
new: use more debug logging
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/embeddings.py
wdoc/utils/llm.py
wdoc/utils/tasks/query.py
wdoc/wdoc.py



- [796f8cfc] by thiswillbeyourgithub, 32 hours ago:
major fix: finally fix the bug where some sources were not properly referenced
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py
wdoc/utils/prompts.py
wdoc/utils/tasks/query.py
wdoc/wdoc.py



- [65389107] by thiswillbeyourgithub, 33 hours ago:
new: actually no need to use a debug print for the md printing
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/logger.py



- [3201936c] by thiswillbeyourgithub, 34 hours ago:
fix: do not use info level debug print for the final answer of query
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/logger.py



- [357925f1] by thiswillbeyourgithub, 34 hours ago:
fix: in rare cases where the clustering only finds 1 cluster

wdoc/utils/tasks/query.py



- [072c00dd] by thiswillbeyourgithub, 34 hours ago:
new: allow finding oonly 2 clusters in a group of texts
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/tasks/query.py



- [1786ff70] by thiswillbeyourgithub, 34 hours ago:
fix: avoid issues when asking for more clusters than texts
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/tasks/query.py



- [82385997] by thiswillbeyourgithub, 35 hours ago:
bump persistdict
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

setup.py



- [fd01302e] by thiswillbeyourgithub, 2 days ago:
new: add a decorator to get more useful debug logs
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py
wdoc/utils/tasks/query.py
wdoc/utils/tasks/summarize.py



- [4b58b161] by thiswillbeyourgithub, 2 days ago:
add more debug logs
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [971cda58] by thiswillbeyourgithub, 2 days ago:
apply black
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [639e4436] by thiswillbeyourgithub, 2 days ago:
fix: use the up to date way to increase litellm log level

wdoc/wdoc.py



- [ef7cb6b9] by thiswillbeyourgithub, 2 days ago:
new: add more debug prints
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/embeddings.py



- [dc5d2032] by thiswillbeyourgithub, 2 days ago:
remove unused status function
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/embeddings.py



- [d836e6a7] by thiswillbeyourgithub, 2 days ago:
new: set USER_AGENT before importing wdoc and its dep

wdoc/__init__.py
wdoc/wdoc.py



- [5b24a9f3] by thiswillbeyourgithub, 2 days ago:
bump persistdict
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

setup.py



- [55ac32b3] by thiswillbeyourgithub, 2 days ago:
update gitignore
Signed-off-by: thiswillbeyourgithub
<26625900+thiswillbeyourgithubusers.noreply.github.com>

.gitignore



- [4a750376] by thiswillbeyourgithub, 2 days ago:
new: specify name of LocalFileStore
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/customs/fix_llm_caching.py
wdoc/utils/embeddings.py
wdoc/utils/retrievers.py



- [55d0396a] by thiswillbeyourgithub, 2 days ago:
new: use my custom LocalFileStore for retrievers too
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/retrievers.py



- [8b5269d2] by thiswillbeyourgithub, 2 days ago:
bump PersistDict
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

setup.py



- [84850f72] by thiswillbeyourgithub, 2 days ago:
new: add a name to the LocalFileStore for better logging
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/customs/compressed_embeddings_cacher.py



- [c379df4c] by thiswillbeyourgithub, 2 days ago:
fix: typo
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/customs/compressed_embeddings_cacher.py



- [cbf1c543] by thiswillbeyourgithub (aider), 2 days ago:
refactor: Replace hash-based source identifiers with consistent [[WDOC_N]] format

wdoc/utils/tasks/query.py
wdoc/wdoc.py



- [188eb649] by thiswillbeyourgithub (aider), 2 days ago:
fix: Correct source substitution logic for single document case

wdoc/wdoc.py



- [7fd28797] by thiswillbeyourgithub (aider), 2 days ago:
refactor: Improve source identifier handling for single document case

wdoc/wdoc.py



- [ef53691a] by thiswillbeyourgithub (aider), 2 days ago:
fix: Resolve source substitution issue for single document case

wdoc/wdoc.py



- [656094cc] by thiswillbeyourgithub (aider), 2 days ago:
fix: Improve source substitution and remove duplicate code block

wdoc/wdoc.py



- [f7ae6a32] by thiswillbeyourgithub (aider), 2 days ago:
fix: Ensure source_hashes is populated for single-document queries

wdoc/wdoc.py



- [bb3f8a3e] by thiswillbeyourgithub, 2 days ago:
fix: wrong type hint
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py



- [b89ff576] by thiswillbeyourgithub (aider), 3 days ago:
fix: Correct source substitution logic in query_task method

wdoc/wdoc.py



- [91c6f331] by thiswillbeyourgithub, 3 days ago:
Revert "refactor: Improve source hash tracking and batching in intermediate answer processing"
This reverts commit 06501a35392a21fe521a531531adcdd0833a348b.

wdoc/wdoc.py



- [06501a35] by thiswillbeyourgithub (aider), 3 days ago:
refactor: Improve source hash tracking and batching in intermediate answer processing

wdoc/wdoc.py

2.7.1

bumpver.toml
docs/source/conf.py
setup.py
wdoc/wdoc.py



- [78faa584] by thiswillbeyourgithub, 34 minutes ago:
fix: use latest verdion of persistic for better performance
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

setup.py



- [9ff91765] by thiswillbeyourgithub, 55 minutes ago:
minor: the message to start langfuse shouod be in debug level
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py



- [5f21bc94] by thiswillbeyourgithub, 69 minutes ago:
new: no need actually to print message when bypassinh model name matching
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py



- [a37e7324] by thiswillbeyourgithub, 71 minutes ago:
fix: handle multiple output answers

wdoc/wdoc.py



- [9cd64073] by thiswillbeyourgithub, 4 hours ago:
new: try to cache embeddings in memory when loading them
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/embeddings.py
wdoc/utils/misc.py



- [9b11e822] by thiswillbeyourgithub, 4 hours ago:
new: use a debug print when bypassing a modelname matching
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py



- [5cfa86aa] by thiswillbeyourgithub, 4 hours ago:
new: update the model parameters if it actually does not support n
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [5202b455] by thiswillbeyourgithub, 4 hours ago:
fix: better handling of models that do not support modifying the n parameter
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/docs/help.md
wdoc/wdoc.py



- [9d1e4f62] by thiswillbeyourgithub, 4 hours ago:
fix: add hash method to ModelName to make it work with caches
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py



- [72f6409b] by thiswillbeyourgithub, 4 hours ago:
new: try to avoid trusting litellm or openrouter for model parameters and max_tokens
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py



- [d689b6a9] by thiswillbeyourgithub, 4 hours ago:
new: add memoize decorator to frequently called model name handlers
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py



- [21108bd8] by thiswillbeyourgithub, 4 hours ago:
minor: forgot a type checker decorator
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/misc.py



- [ffa0f80e] by thiswillbeyourgithub, 5 hours ago:
minor: better error message
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/wdoc.py



- [ec8682f0] by thiswillbeyourgithub, 5 hours ago:
fix: forgot to update an exit value in create_embeddings
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/embeddings.py



- [69336552] by thiswillbeyourgithub, 3 days ago:
use pytest-xdist when running all tests
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/run_all_tests.sh



- [371ed6c7] by thiswillbeyourgithub, 3 days ago:
add pytest xdist to setup
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

setup.py



- [3bb75965] by thiswillbeyourgithub, 3 days ago:
test: use scope session fixture for pytest to make them faster
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

tests/conftest.py



- [00c46cae] by thiswillbeyourgithub, 3 days ago:
fix: forgot to remove a logger.info duplicate line
Signed-off-by: thiswillbeyourgithub
<26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/logger.py



- [49fcb232] by thiswillbeyourgithub, 3 days ago:
remove the is_silent argument and flag that are not used anymore
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/docs/help.md
wdoc/utils/flags.py
wdoc/utils/logger.py



- [38826304] by thiswillbeyourgithub, 3 days ago:
new: use the logger instead of tqdm write to avoid duplicate prints and have better importability
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/logger.py

2.7.0

bumpver.toml
docs/source/conf.py
setup.py
wdoc/wdoc.py



- [15b67b3b] by thiswillbeyourgithub, 25 minutes ago:
docs: minor
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

README.md



- [3995840d] by thiswillbeyourgithub, 25 minutes ago:
docs: mention open webui tool everywhere
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

README.md
wdoc/docs/examples.md



- [4cf05769] by thiswillbeyourgithub (aider), 3 hours ago:
new: Remove first line containing "a deep breath" from LLM output

wdoc/utils/tasks/summarize.py



- [82a52e61] by thiswillbeyourgithub (aider), 3 hours ago:
fix: Resolve undefined args and kwargs in EnvVar.__getattr__ method

wdoc/utils/env.py



- [81c2c2c3] by thiswillbeyourgithub (aider), 3 hours ago:
new: Change default import type to native and update documentation

wdoc/docs/help.md
wdoc/utils/env.py

2.6.10

bumpver.toml
docs/source/conf.py
setup.py
wdoc/wdoc.py



- [f442f78f] by thiswillbeyourgithub, 4 minutes ago:
fix: crashing typo when using tags
Signed-off-by: thiswillbeyourgithub
<26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/llm.py

2.6.9

bumpver.toml
docs/source/conf.py
setup.py
wdoc/wdoc.py



- [adc6a449] by thiswillbeyourgithub, 2 minutes ago:
fix: do not remove previous logger
they can be set by another lib, for example open-webui

Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithubusers.noreply.github.com>

wdoc/utils/logger.py

Page 1 of 16

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.