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

Built Distribution

File details

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

File metadata

File hashes

Hashes for llama_index_readers_stackoverflow-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fa1344f4e10256bc0cd6f62c055f83be805a9a1a47dc0c793bb6429d6037c333
MD5 fc84b82674b386704aa08f46fc4bb007
BLAKE2b-256 e7c6abede1a01cccc38263864ee677097a3469b807747c9bf1f9325a1a3fe136

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_stackoverflow-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0404c993617ac590b5c27dc3f76c1b473bd44bef4a0ed207a208e694e110cdfc
MD5 e5b1069f32586885233e120d5a4c87ec
BLAKE2b-256 e1093e8a38ba963bfd522179a9dc1b1934e7ceda5fe6fecd06830df169fe1585

See more details on using hashes here.

Supported by

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