Skip to main content

Stateful streaming reasoning tag scrubber for AI agents

Project description

think-scrubber

Stateful streaming reasoning tag scrubber for AI agents.

Usage

from think_scrubber import StreamingThinkScrubber

scrubber = StreamingThinkScrubber()
print(scrubber.feed("Hello <think>secret thought</think> world!"))
# "Hello  world!"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

think_scrubber-1.0.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

think_scrubber-1.0.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file think_scrubber-1.0.0.tar.gz.

File metadata

  • Download URL: think_scrubber-1.0.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for think_scrubber-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b260ffbb2db846fa7a114c1ab0aeada453113d0c462d77623ec47abf4729b5d9
MD5 fc709fcf25ed6dd832e6c45e9ff88080
BLAKE2b-256 2242146e573c74f1667efdc00da5bfa3466884ef6768a1e2048c3d6d47ce569d

See more details on using hashes here.

File details

Details for the file think_scrubber-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: think_scrubber-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for think_scrubber-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8964e679a7fa7b79b9b0da821322c275b99904cd64d43c99f8fb3af842b21a8c
MD5 989c4c795ee8d5c342e52ae169641197
BLAKE2b-256 d40befa614647bc2d2668c8a42fdb193a4d4c1b18b694e1f770fc13c3fc43ecf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page