-
Notifications
You must be signed in to change notification settings - Fork 669
Add LLM-friendly documentation #816
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
base: main
Are you sure you want to change the base?
Add LLM-friendly documentation #816
Conversation
This comprehensive documentation provides: - Complete API reference for Python, JavaScript/TypeScript, and CLI - Code examples for all major functions and classes - Quick start guides and usage patterns - Structured format optimized for LLM consumption The documentation covers all user-facing APIs across the E2B SDK ecosystem, making it easier for developers and AI assistants to understand and use E2B.
|
async def create( | ||
cls, | ||
template: Optional[str] = None, | ||
timeout: Optional[int] = None, | ||
metadata: Optional[Dict[str, str]] = None, | ||
envs: Optional[Dict[str, str]] = None, | ||
api_key: Optional[str] = None, | ||
domain: Optional[str] = None, | ||
debug: Optional[bool] = None, | ||
connection_config: Optional[ConnectionConfig] = None | ||
) -> "AsyncSandbox" |
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.
The AsyncSandbox.create()
method is missing the @classmethod
decorator that's present on the connect()
method below it. This inconsistency could lead to confusion since both are intended to be class methods. Adding the decorator would maintain consistency in the API documentation.
async def create( | |
cls, | |
template: Optional[str] = None, | |
timeout: Optional[int] = None, | |
metadata: Optional[Dict[str, str]] = None, | |
envs: Optional[Dict[str, str]] = None, | |
api_key: Optional[str] = None, | |
domain: Optional[str] = None, | |
debug: Optional[bool] = None, | |
connection_config: Optional[ConnectionConfig] = None | |
) -> "AsyncSandbox" | |
@classmethod | |
async def create( | |
cls, | |
template: Optional[str] = None, | |
timeout: Optional[int] = None, | |
metadata: Optional[Dict[str, str]] = None, | |
envs: Optional[Dict[str, str]] = None, | |
api_key: Optional[str] = None, | |
domain: Optional[str] = None, | |
debug: Optional[bool] = None, | |
connection_config: Optional[ConnectionConfig] = None | |
) -> "AsyncSandbox" |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
Summary
This PR adds comprehensive LLM-friendly documentation (
LLM.md
) to the E2B repository. The documentation provides a complete API reference for all E2B components in a format optimized for consumption by Large Language Models and AI assistants.What's Added
Benefits
File Details
LLM.md
Testing
The documentation has been verified to include:
A developer on Askdev.AI requested this update