Skip to main content

llama-index readers stackoverflow integration

Project description

StackoverflowReader (In Beta)

Using the Stackoverflow API, this class will read the Stackoverflow Teams API and return a list of questions and answers based on posts.

It also supports caching the results to a local directory, so that you can run the load_data() method multiple times without hitting the API.

getting a token

Visit: https://stackoverflowteams.com/users/pats/

  1. Click Create a new PAT
  2. Name the token, and pick the team scope
  3. Select an expiration date
  4. Click Create

Add this to your env, or to the instantiation of the StackoverflowReader(pa_token, team_name, cache_dir='./stackoverflow_cache')

export STACKOVERFLOW_PAT=your_token
export STACKOVERFLOW_TEAM_NAME=your_team

Other features which could be added:

  • Add articles
  • Add comments
  • Add tags
  • Add users
  • Add votes
  • Add badges

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

llama_index_readers_stackoverflow-0.5.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file llama_index_readers_stackoverflow-0.5.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_stackoverflow-0.5.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_stackoverflow-0.5.0.tar.gz
Algorithm Hash digest
SHA256 bea227dbf02a4f8bfac9bfa18852003d9dbb9c11e779a1c7b606eb2ab4855104
MD5 998946ea11309ebe6c128fb8d07408d4
BLAKE2b-256 c6ccae682b20e55a409003da4f0193d6efbd080e5fcd7c15c4640ba55c2acdae

See more details on using hashes here.

File details

Details for the file llama_index_readers_stackoverflow-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_stackoverflow-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_stackoverflow-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6bcd70f83aa95aaa8f9b109f17b8ef181e94e27faa6075a0fa59034a2ad33fe8
MD5 d6e0db34f8c02a540fb6c7d33c167a06
BLAKE2b-256 9ffa162318ab3575462ccfd5e6f3437cb8737f5dd50ccee21fa1b07a9d741b33

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