Skip to main content

Query Discourse and summarize threads

Project description

discuss-nutshell

Actions Status Documentation Status

PyPI version Conda-Forge PyPI platforms

GitHub Discussion

Take a Discourse topic and parse it into posts that can be queried.

  • data_loader.py: Hit an endpoint and save to json
  • preprocessor.py: Do data cleaning and parsing into individual post files
  • launch_app.py: Launch gradio app to interact with the LLM and log queries, context, responses

Take the db file and use datasette to view: datasette data/posts_qa_logs.db

Next phase

Authors, date/time, post number, uuid post, core dev (bool), cooked message, summarized message

  • Does this message support or refute the PEP?
  • What are key topics found in the message
  • How many times has a person posted

Summarize the thread.

Report on pros and cons of the PEP proposal.

  • Embeddings
  • Vector database like chroma
  • chunks

Query with chunks and prompt

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

discuss_nutshell-0.1.0.tar.gz (978.3 kB view details)

Uploaded Source

Built Distribution

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

discuss_nutshell-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file discuss_nutshell-0.1.0.tar.gz.

File metadata

  • Download URL: discuss_nutshell-0.1.0.tar.gz
  • Upload date:
  • Size: 978.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for discuss_nutshell-0.1.0.tar.gz
Algorithm Hash digest
SHA256 26979f2d5f32b6b442151665b942d7a90efb1c82b438d97c3117fb8a7c8e432d
MD5 f146831d8b25b507db3e0cc816e39b9f
BLAKE2b-256 13ce07d1e490fa002312586f6accd0711b3d02d179b752c4149b40ebdacb3f78

See more details on using hashes here.

Provenance

The following attestation bundles were made for discuss_nutshell-0.1.0.tar.gz:

Publisher: cd.yml on willingc/discuss-nutshell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file discuss_nutshell-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for discuss_nutshell-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bed675fc91ae7dc2cb1600017a527b56a7a37697f7b5681623da7d49e76d82b6
MD5 6c362cc8ef1f4ea09c6db2cfa8c31f8c
BLAKE2b-256 223b073b92c7134e0e507ca863abd9131e515e3f2304f2d0770e92d2e533aba5

See more details on using hashes here.

Provenance

The following attestation bundles were made for discuss_nutshell-0.1.0-py3-none-any.whl:

Publisher: cd.yml on willingc/discuss-nutshell

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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