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

File metadata

File hashes

Hashes for llama_index_readers_stackoverflow-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d86bad9f74ac9b157ecf5c65708ab0c1f5116a44403b0e4012f279414b5bb59c
MD5 3146b788c5731ce22ec43738980a6a49
BLAKE2b-256 37c4f9ad8d8cc33e5627bee16356190dc6e77506a63d69c8d36bb53e154e9ca2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_stackoverflow-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5563cde6a52992fe20e1582939bbf999533c233ce81b21df0e0e10aed9586784
MD5 7b76c6809afd4654f4e8c7a62cd87775
BLAKE2b-256 555a65c84d4470956018ccc283f80a7dc2ef56c234370a38a0921b6eef257c0f

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