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.1.2.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_stackoverflow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ddd6b5d2fc2041cfafc843cf735197c804b0ab8f7352a95b28a071b256c4a682
MD5 a23cd70914d54fac74daa70ecb3e1538
BLAKE2b-256 60f49574da23f6393aca52e8d0a08e2cd87e5be2062693e91b5fd40dcd3a6839

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_stackoverflow-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2bc2cb99ca55567f30e77d2ba219effaafd2ec515f928e8aa6428160346f49d5
MD5 1be9e24161edbcd0ba02283997631c02
BLAKE2b-256 1aaadb09a815783fb02d5af0fd089d640f441ba14668c66a75419512b15f2f31

See more details on using hashes here.

Supported by

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