-
Notifications
You must be signed in to change notification settings - Fork 10
Python Examples for Context SDK #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR adds comprehensive Python SDK examples for the Context SDK. I've identified a few potential bugs and security concerns that should be addressed.
🤖 Automated review complete. Please react with 👍 or 👎 on the individual review comments to provide feedback on their usefulness.
examples/python-sdk/context/github_action_indexer/src/github_client.py
Outdated
Show resolved
Hide resolved
examples/python-sdk/context/github_action_indexer/src/file_filter.py
Outdated
Show resolved
Hide resolved
examples/python-sdk/context/github_action_indexer/augment_indexer/github_client.py
Show resolved
Hide resolved
examples/python-sdk/context/github_action_indexer/augment_indexer/index_manager.py
Show resolved
Hide resolved
examples/python-sdk/context/github_action_indexer/src/search.py
Outdated
Show resolved
Hide resolved
🤖 Augment PR SummarySummary: This PR adds a comprehensive set of Python examples for the Auggie Context SDK, covering both API-backed and local filesystem-backed context modes. Changes:
Technical Notes: The indexer downloads tarballs for full re-index, uses Compare API for incremental changes, and filters files (ignore rules, key-ish patterns, UTF-8 checks) before uploading to Direct Context. 🤖 Was this summary useful? React with 👍 or 👎 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review completed. 5 suggestions posted. Focused on example usability (Python-version/path consistency) and one potential runtime error path.
Comment augment review to trigger a new review at any time.
examples/python-sdk/context/github_action_indexer/.github/workflows/index.yml
Outdated
Show resolved
Hide resolved
examples/python-sdk/context/github_action_indexer/src/index_manager.py
Outdated
Show resolved
Hide resolved
examples/python-sdk/context/github_action_indexer/src/index_manager.py
Outdated
Show resolved
Hide resolved
examples/python-sdk/context/github_action_indexer/src/github_client.py
Outdated
Show resolved
Hide resolved
|
augment review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review completed. 5 suggestions posted.
Comment augment review to trigger a new review at any time.
examples/python-sdk/context/github_action_indexer/.github/workflows/index.yml
Outdated
Show resolved
Hide resolved
examples/python-sdk/context/github_action_indexer/src/github_client.py
Outdated
Show resolved
Hide resolved
examples/python-sdk/context/github_action_indexer/src/index_manager.py
Outdated
Show resolved
Hide resolved
d94a33e to
119c920
Compare
|
augment review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review completed. 1 suggestion posted.
Comment augment review to trigger a new review at any time.
3db5c8b to
2f311d3
Compare
Add comprehensive Python SDK examples demonstrating context modes and AI-powered code analysis capabilities.
What's Included
This PR introduces five complete working examples showcasing different ways to use the Auggie SDK's context features:
Core Examples
Key Features Demonstrated
search()andsearch_and_ask()Documentation
Each example includes:
🤖 This description was generated automatically. Please react with 👍 if it's helpful or 👎 if it needs improvement.