Skip to content

Commit c1988f4

Browse files
Merge pull request #10 from botanu-ai/developer-deborah
docs: add documentation and improve LF compliance files
2 parents e706968 + acbe070 commit c1988f4

File tree

3 files changed

+111
-5
lines changed

3 files changed

+111
-5
lines changed

MAINTAINERS.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
1-
#MAINTAINERS Following is the current list of maintainers on this project
1+
# Maintainers
22

3-
The maintainers are listed in alphabetical order.
3+
This file lists the maintainers of the Botanu SDK Python project.
44

5-
[@deborahjacob-botanu] https://github.com/deborahjacob-botanu (Deborah Jacob)
5+
## Current Maintainers
6+
7+
The maintainers are listed in alphabetical order by GitHub handle.
8+
9+
| Name | GitHub | Role |
10+
|------|--------|------|
11+
| Deborah Jacob | [@deborahjacob-botanu](https://github.com/deborahjacob-botanu) | Lead Maintainer |
12+
13+
## Becoming a Maintainer
14+
15+
Maintainers are contributors who have demonstrated:
16+
17+
- Sustained contributions to the project
18+
- Deep understanding of the codebase
19+
- Commitment to the project's goals and community
20+
21+
If you're interested in becoming a maintainer, start by making regular contributions and engaging with the community.
22+
23+
## Maintainer Responsibilities
24+
25+
- Review and merge pull requests
26+
- Triage issues
27+
- Participate in project planning
28+
- Uphold the Code of Conduct
29+
- Help onboard new contributors

SECURITY.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,35 @@
22

33
## Supported Versions
44

5-
Please upgrade to latest stable version of Botanu which will have know security issues addressed.
5+
| Version | Supported |
6+
| ------- | ------------------ |
7+
| 0.1.x | :white_check_mark: |
8+
9+
Please upgrade to the latest stable version of Botanu which will have known security issues addressed.
610

711
## Reporting a Vulnerability
812

9-
Please report security vulnerabilities privately to the Botanu [maintainer team] (https://github.com/monocle2ai/monocle/blob/main/MAINTAINER.md). Please do not post security vulnerabilities to the public issue tracker.
13+
The Botanu team takes security vulnerabilities seriously. We appreciate your efforts to responsibly disclose your findings.
14+
15+
### How to Report
16+
17+
To report a security vulnerability, please use one of the following methods:
18+
19+
1. **GitHub Security Advisories** (Preferred): Use the [Security tab](https://github.com/botanu-ai/botanu-sdk-python/security/advisories/new) to privately report a vulnerability.
20+
21+
2. **Email**: Contact the [maintainer team](https://github.com/botanu-ai/botanu-sdk-python/blob/main/MAINTAINERS.md)
22+
23+
Please do **not** post security vulnerabilities to the public issue tracker.
24+
25+
### What to Include
26+
27+
- Type of vulnerability
28+
- Full paths of affected source files
29+
- Step-by-step instructions to reproduce the issue
30+
- Impact of the issue and potential attack scenarios
31+
32+
### Response Timeline
33+
34+
- **Initial Response**: Within 48 hours
35+
- **Status Update**: Within 7 days
36+
- **Resolution Target**: Within 90 days (depending on complexity)

docs/index.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Botanu SDK Documentation
2+
3+
Botanu SDK is an OpenTelemetry-native library for run-level cost attribution in AI workflows.
4+
5+
## Quick Start
6+
7+
### Installation
8+
9+
```bash
10+
pip install botanu
11+
```
12+
13+
For full SDK capabilities with OTLP export:
14+
15+
```bash
16+
pip install botanu[sdk]
17+
```
18+
19+
### Basic Usage
20+
21+
```python
22+
from botanu import botanu_use_case
23+
from botanu.tracking.llm import track_llm_call
24+
25+
@botanu_use_case("Customer Support")
26+
def handle_ticket(ticket_id: str):
27+
with track_llm_call(provider="openai", model="gpt-4") as tracker:
28+
response = openai.chat.completions.create(...)
29+
tracker.set_tokens(
30+
input_tokens=response.usage.prompt_tokens,
31+
output_tokens=response.usage.completion_tokens,
32+
)
33+
return response
34+
35+
# Every span within handle_ticket is tagged with botanu.run_id
36+
result = handle_ticket("TICKET-123")
37+
```
38+
39+
## Features
40+
41+
- **Run-level Attribution**: Track costs per business transaction, not just per request
42+
- **OpenTelemetry Native**: Built on OTel standards for maximum interoperability
43+
- **Minimal Overhead**: Lightweight SDK with heavy processing in the collector
44+
- **Multi-provider Support**: Works with OpenAI, Anthropic, Bedrock, Vertex AI, and more
45+
46+
## Documentation
47+
48+
- [Configuration](configuration.md)
49+
- [LLM Tracking](llm-tracking.md)
50+
- [Data Tracking](data-tracking.md)
51+
- [API Reference](api-reference.md)
52+
53+
## License
54+
55+
Apache License 2.0

0 commit comments

Comments
 (0)