Commit 0b33227
authored
feat: add code system management and search endpoints to Construe API
This update adds comprehensive code system management and search capabilities to the Construe API client, enabling users to browse available code systems and perform different types of code searches.
Key changes:
- Add listAvailableCodeSystems() method to retrieve metadata about all available code systems
- Add listCodesInACodeSystem() method for paginated browsing of codes within a specific system
- Add getASpecificCode() method to retrieve detailed information about individual codes
- Add semanticSearchEmbeddingBased() method for natural language queries using vector embeddings
- Add textSearchKeywordBased() method for fast keyword-based search with typo tolerance
- Add comprehensive error handling with new error types (NotFoundError, NotImplementedError, ServiceUnavailableError)
- Add corresponding request/response types and documentation for all new endpoints
- Remove User-Agent header from default client configuration
- Update reference documentation with detailed usage examples and API descriptions
🌿 Generated with Fern1 parent eee9835 commit 0b33227
File tree
27 files changed
+1763
-4
lines changed- src
- api/resources/construe
- client
- requests
- errors
- types
- tests/wire/construe
27 files changed
+1763
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
1 | 16 | | |
2 | 17 | | |
3 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments