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/
- Click Create a new PAT
- Name the token, and pick the team scope
- Select an expiration date
- 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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_readers_stackoverflow-0.1.3.tar.gz.
File metadata
- Download URL: llama_index_readers_stackoverflow-0.1.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5500f8c978a5d50f494d18406d6ce64c244dcb361da72e28c713dca648dfd031
|
|
| MD5 |
f8f413a71e1399af903cb66db46b4e57
|
|
| BLAKE2b-256 |
b3a7d845e4e3955137fc1faf18aeaf45b42c36aa7ff23f11a9bc05da5bc3a5ef
|
File details
Details for the file llama_index_readers_stackoverflow-0.1.3-py3-none-any.whl.
File metadata
- Download URL: llama_index_readers_stackoverflow-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.13 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
479533266c4d5962926a50e0d8728f5dadfc281a61823bce3a47be7fbae05bfe
|
|
| MD5 |
1c9d5d12dd78a9691a29b8dd4153379c
|
|
| BLAKE2b-256 |
83e40202b80d78aa5334458fb29f208ef648b28ea21ac3548cd401702044dd70
|