Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
181 changes: 0 additions & 181 deletions SDK_EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -677,187 +677,6 @@ client = RoeClient()
result = client.discovery.list_agent_engine_types()
```

### Knowledge Base

#### `knowledge_base_list`

List all KBs for the org, or start a new draft.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.list(
page=1, # optional
page_size=10, # optional
)
```

#### `knowledge_base_create`

List all KBs for the org, or start a new draft.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.create(
company="company",
brief="brief",
)
```

#### `knowledge_base_catalog_retrieve`

Names-only typology+tactic catalog.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.catalog()
```

#### `knowledge_base_import_lens_create`

Import a finalized Atlas lens into roe-main by its atlas_lens_id.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.import_lens("atlas_lens_id")
```

#### `knowledge_base_lens_retrieve`

Fetch a lens directly from Atlas by its atlas_lens_id and return the
names-only projection.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.lens_by_atlas_id("atlas_lens_id")
```

#### `knowledge_base_destroy`

Get or delete a single KB.

```python
from roe import RoeClient

client = RoeClient()

client.knowledge_base.delete("knowledge_base_id")
```

#### `knowledge_base_retrieve`

Get or delete a single KB.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.retrieve("knowledge_base_id")
```

#### `knowledge_base_draft_retrieve`

Poll the atlas draft.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.poll_draft("knowledge_base_id")
```

#### `knowledge_base_finalize_create`

Commit the agreed selection into a lens and mark the KB active.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.finalize("knowledge_base_id")
```

#### `knowledge_base_regenerate_create`

Kick off another async generation round with feedback.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.regenerate("knowledge_base_id")
```

#### `knowledge_base_resolve_create`

Approve or decline a pending regeneration proposal.

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.resolve("knowledge_base_id")
```

#### `knowledge_base_selection_partial_update`

Persist hand-edits to the working selection (typology + tactic opt-in/out).

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.patch_selection(
"knowledge_base_id",
refs=[],
)
```

#### `knowledge_base_sync_create`

Standalone best-effort lens sync (display mode).

```python
from roe import RoeClient

client = RoeClient()

result = client.knowledge_base.sync("knowledge_base_id")
```

#### `knowledge_base_unlink_destroy`

Unlink a knowledge base: remove the local KnowledgeBase row only, leaving
the Atlas lens (and any in-progress draft) untouched.

```python
from roe import RoeClient

client = RoeClient()

client.knowledge_base.unlink("knowledge_base_id")
```

### Policies

#### `policies_list`
Expand Down
Loading
Loading