briyah 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +216 -0
- package/data/common/config/markup +1 -1
- package/data/packs/dnd5e/agents/player.json +11 -11
- package/data/packs/dnd5e/prompts/character_creator/defaults_config.json +21 -20
- package/data/packs/dnd5e/prompts/character_creator/perceive.prompt +19 -12
- package/data/packs/dnd5e/prompts/dnd_player/perceive.prompt +10 -6
- package/dist-sdk/server/src/app.service.d.ts +1 -0
- package/dist-sdk/server/src/app.service.js +26 -3
- package/dist-sdk/server/src/room/nickname.d.ts +1 -0
- package/dist-sdk/server/src/room/nickname.js +15 -0
- package/dist-sdk/server/src/room/room-store.service.d.ts +1 -0
- package/dist-sdk/server/src/room/room-store.service.js +4 -0
- package/dist-sdk/server/src/room/room.d.ts +28 -1
- package/dist-sdk/server/src/room/room.js +235 -12
- package/dist-sdk/server/src/rpg/rpg-roster.d.ts +1 -3
- package/dist-sdk/server/src/rpg/rpg-roster.js +12 -49
- package/dist-sdk/server/src/rpg/rpg.service.js +5 -5
- package/dist-sdk/server/src/sdk/index.d.ts +0 -1
- package/dist-sdk/server/src/sdk/index.js +1 -3
- package/dist-sdk/server/src/tools/core/index.d.ts +3 -0
- package/dist-sdk/server/src/tools/core/index.js +9 -0
- package/dist-sdk/server/src/tools/core/rename.tool.d.ts +2 -0
- package/dist-sdk/server/src/tools/core/rename.tool.js +61 -0
- package/dist-sdk/server/src/tools/native-tool.types.d.ts +10 -0
- package/dist-sdk/server/src/tools/packs/dnd5e/tools/sheet.tools.js +9 -1
- package/dist-sdk/server/src/tools/packs/index.d.ts +3 -2
- package/dist-sdk/server/src/tools/packs/index.js +17 -9
- package/dist-sdk/shared/types/app.types.d.ts +0 -1
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/Agent.html +73 -73
- package/docs/classes/Briyah.html +16 -16
- package/docs/classes/BriyahConfigService.html +7 -7
- package/docs/classes/NativeToolRegistry.html +10 -10
- package/docs/classes/PackInstantiationService.html +7 -7
- package/docs/classes/PackService.html +13 -13
- package/docs/classes/Room.html +190 -94
- package/docs/classes/RoomMessage.html +22 -22
- package/docs/enums/MessageAction.html +18 -18
- package/docs/functions/availableToolPacks.html +5 -5
- package/docs/functions/buildMarkdown.html +4 -4
- package/docs/functions/dnd5eTools.html +4 -4
- package/docs/functions/installToolPacks.html +8 -5
- package/docs/functions/pageMarker.html +4 -4
- package/docs/functions/registerToolPacks.html +4 -4
- package/docs/functions/splitMarkdownIntoPages.html +4 -4
- package/docs/functions/stripWrappingFence.html +4 -4
- package/docs/hierarchy.html +11 -11
- package/docs/index.html +4 -4
- package/docs/interfaces/AgentCreationOptions.html +12 -12
- package/docs/interfaces/AgentInfo.html +30 -30
- package/docs/interfaces/AgentMessagesResponse.html +8 -8
- package/docs/interfaces/AppService.html +140 -137
- package/docs/interfaces/Artifact.html +9 -9
- package/docs/interfaces/ArtifactMetadata.html +13 -13
- package/docs/interfaces/ArtifactWriteOptions.html +7 -7
- package/docs/interfaces/AttachDocumentResponse.html +6 -6
- package/docs/interfaces/BriyahConfigOptions.html +12 -12
- package/docs/interfaces/ChapterInfo.html +6 -6
- package/docs/interfaces/Character.html +10 -10
- package/docs/interfaces/ConversionAgent.html +6 -6
- package/docs/interfaces/CreateAgentResponse.html +5 -5
- package/docs/interfaces/CreateRoomResponse.html +6 -6
- package/docs/interfaces/CreateStoryResponse.html +5 -5
- package/docs/interfaces/FileList.html +5 -5
- package/docs/interfaces/FileMetadata.html +10 -10
- package/docs/interfaces/IConfigService.html +5 -5
- package/docs/interfaces/InstantiateModels.html +6 -6
- package/docs/interfaces/InstantiateRoomResult.html +7 -7
- package/docs/interfaces/LoadedPack.html +16 -16
- package/docs/interfaces/LoggingOptions.html +9 -9
- package/docs/interfaces/Message.html +9 -9
- package/docs/interfaces/ModelChoice.html +7 -7
- package/docs/interfaces/ModelInfo.html +8 -8
- package/docs/interfaces/NativeToolDefinition.html +10 -10
- package/docs/interfaces/PackAgentTemplate.html +9 -9
- package/docs/interfaces/PackRoomTemplate.html +11 -11
- package/docs/interfaces/PackView.html +20 -20
- package/docs/interfaces/PdfConversionOptions.html +10 -10
- package/docs/interfaces/PdfConversionResult.html +10 -10
- package/docs/interfaces/PdfMarkdownOptions.html +21 -21
- package/docs/interfaces/PdfMarkdownResult.html +11 -11
- package/docs/interfaces/PdfPageMarkdown.html +9 -9
- package/docs/interfaces/PreparedPromptResponse.html +6 -6
- package/docs/interfaces/ProcessTextResponse.html +10 -10
- package/docs/interfaces/PromptFile.html +7 -7
- package/docs/interfaces/PromptFileContent.html +8 -8
- package/docs/interfaces/PromptFilesResponse.html +5 -5
- package/docs/interfaces/PromptFolder.html +8 -8
- package/docs/interfaces/PromptFolderDefaults.html +19 -19
- package/docs/interfaces/PromptFolderDefaultsResponse.html +7 -7
- package/docs/interfaces/PromptFoldersResponse.html +5 -5
- package/docs/interfaces/RoomDetails.html +19 -19
- package/docs/interfaces/RoomErrorUpdate.html +8 -8
- package/docs/interfaces/RoomInfo.html +10 -10
- package/docs/interfaces/RoomMessageUpdate.html +13 -13
- package/docs/interfaces/RoomMessagesResponse.html +6 -6
- package/docs/interfaces/SendMessageResult.html +6 -6
- package/docs/interfaces/StoryErrorEvent.html +8 -8
- package/docs/interfaces/StoryIdea.html +8 -8
- package/docs/interfaces/StoryInfo.html +28 -28
- package/docs/interfaces/StoryIntroduceCharacterEvent.html +7 -7
- package/docs/interfaces/StoryProgressChapterEvent.html +6 -6
- package/docs/interfaces/StoryState.html +12 -12
- package/docs/interfaces/StoryStateEvent.html +7 -7
- package/docs/interfaces/ToolArtifact.html +9 -9
- package/docs/interfaces/ToolCaller.html +7 -7
- package/docs/interfaces/ToolDefinition.html +9 -9
- package/docs/interfaces/ToolHelpers.html +7 -7
- package/docs/interfaces/ToolPackDocuments.html +6 -6
- package/docs/interfaces/ToolParameter.html +8 -8
- package/docs/interfaces/ToolRoomAccess.html +49 -16
- package/docs/interfaces/ToolSummary.html +8 -8
- package/docs/interfaces/ToolsResponse.html +7 -7
- package/docs/interfaces/Transaction.html +13 -13
- package/docs/interfaces/TransactionHistoryResponse.html +6 -6
- package/docs/modules.html +6 -6
- package/docs/types/PackOrigin.html +4 -4
- package/docs/types/PromptScope.html +4 -4
- package/docs/types/RoomTurnMode.html +4 -4
- package/docs/types/RoomUpdate.html +4 -4
- package/docs/types/RosterOverrides.html +4 -4
- package/docs/types/ToolContext.html +4 -4
- package/docs/types/ToolRunResult.html +4 -4
- package/package.json +32 -3
- package/data/packs/acts/agents/character-guide.json +0 -6
- package/data/packs/acts/agents/discipleship-mentor.json +0 -6
- package/data/packs/acts/agents/mentor-coach.json +0 -6
- package/data/packs/acts/agents/student.json +0 -13
- package/data/packs/acts/agents/table-moderator.json +0 -6
- package/data/packs/acts/artifacts/chapter-01-acts-1.md +0 -405
- package/data/packs/acts/artifacts/chapter-02-acts-2.md +0 -443
- package/data/packs/acts/artifacts/chapter-03-acts-3.md +0 -409
- package/data/packs/acts/artifacts/chapter-04-acts-4.md +0 -438
- package/data/packs/acts/artifacts/chapter-05-acts-5.md +0 -434
- package/data/packs/acts/artifacts/chapter-06-acts-6.md +0 -441
- package/data/packs/acts/artifacts/chapter-07-acts-7.md +0 -472
- package/data/packs/acts/artifacts/chapter-08-acts-8.md +0 -512
- package/data/packs/acts/artifacts/chapter-09-acts-9.md +0 -346
- package/data/packs/acts/artifacts/chapter-10-acts-10.md +0 -367
- package/data/packs/acts/artifacts/chapter-11-acts-11.md +0 -391
- package/data/packs/acts/artifacts/chapter-12-acts-12.md +0 -390
- package/data/packs/acts/artifacts/chapter-13-acts-13.md +0 -388
- package/data/packs/acts/artifacts/chapter-14-acts-14.md +0 -466
- package/data/packs/acts/artifacts/chapter-15-acts-15.md +0 -413
- package/data/packs/acts/artifacts/chapter-16-acts-16.md +0 -585
- package/data/packs/acts/artifacts/chapter-17-acts-17.md +0 -428
- package/data/packs/acts/artifacts/chapter-18-acts-18.md +0 -486
- package/data/packs/acts/artifacts/chapter-19-acts-19.md +0 -461
- package/data/packs/acts/artifacts/chapter-20-acts-20.md +0 -389
- package/data/packs/acts/artifacts/chapter-21-acts-21.md +0 -452
- package/data/packs/acts/artifacts/chapter-22-acts-22.md +0 -424
- package/data/packs/acts/artifacts/chapter-23-acts-23.md +0 -395
- package/data/packs/acts/artifacts/chapter-24-acts-24.md +0 -446
- package/data/packs/acts/artifacts/chapter-25-acts-25.md +0 -391
- package/data/packs/acts/artifacts/chapter-26-acts-26.md +0 -431
- package/data/packs/acts/artifacts/chapter-27-acts-27.md +0 -530
- package/data/packs/acts/artifacts/chapter-28-acts-28.md +0 -1871
- package/data/packs/acts/artifacts/chapters.manifest.json +0 -170
- package/data/packs/acts/artifacts/character_guide-creation.md +0 -112
- package/data/packs/acts/artifacts/discipleship_mentor-procedure.md +0 -154
- package/data/packs/acts/artifacts/discipleship_mentor-systems.md +0 -72
- package/data/packs/acts/artifacts/manifest.json +0 -197
- package/data/packs/acts/artifacts/stage-guide.md +0 -94
- package/data/packs/acts/pack.json +0 -6
- package/data/packs/acts/prompts/acts_player/defaults_config.json +0 -5
- package/data/packs/acts/prompts/acts_player/perceive.json +0 -29
- package/data/packs/acts/prompts/acts_player/perceive.prompt +0 -87
- package/data/packs/acts/prompts/acts_player/system_instruction.prompt +0 -0
- package/data/packs/acts/prompts/acts_room_moderator/defaults_config.json +0 -9
- package/data/packs/acts/prompts/acts_room_moderator/moderate.json +0 -34
- package/data/packs/acts/prompts/acts_room_moderator/moderate.prompt +0 -70
- package/data/packs/acts/prompts/acts_room_moderator/system_instruction.prompt +0 -0
- package/data/packs/acts/prompts/character_guide/defaults_config.json +0 -18
- package/data/packs/acts/prompts/character_guide/perceive.json +0 -29
- package/data/packs/acts/prompts/character_guide/perceive.prompt +0 -140
- package/data/packs/acts/prompts/character_guide/system_instruction.prompt +0 -0
- package/data/packs/acts/prompts/discipleship_mentor/defaults_config.json +0 -23
- package/data/packs/acts/prompts/discipleship_mentor/perceive.json +0 -33
- package/data/packs/acts/prompts/discipleship_mentor/perceive.prompt +0 -245
- package/data/packs/acts/prompts/discipleship_mentor/system_instruction.prompt +0 -0
- package/data/packs/acts/prompts/mentor_coach/defaults_config.json +0 -13
- package/data/packs/acts/prompts/mentor_coach/perceive.json +0 -29
- package/data/packs/acts/prompts/mentor_coach/perceive.prompt +0 -87
- package/data/packs/acts/prompts/mentor_coach/system_instruction.prompt +0 -0
- package/data/packs/acts/rooms/session.json +0 -14
- package/data/packs/acts/rooms/training.json +0 -58
- package/dist-sdk/server/src/tools/packs/acts/data/cards.d.ts +0 -53
- package/dist-sdk/server/src/tools/packs/acts/data/cards.js +0 -54
- package/dist-sdk/server/src/tools/packs/acts/data/character-cards.generated.d.ts +0 -2
- package/dist-sdk/server/src/tools/packs/acts/data/character-cards.generated.js +0 -185
- package/dist-sdk/server/src/tools/packs/acts/data/encounters.d.ts +0 -12
- package/dist-sdk/server/src/tools/packs/acts/data/encounters.js +0 -102
- package/dist-sdk/server/src/tools/packs/acts/data/event-cards.generated.d.ts +0 -2
- package/dist-sdk/server/src/tools/packs/acts/data/event-cards.generated.js +0 -196
- package/dist-sdk/server/src/tools/packs/acts/data/item-cards.generated.d.ts +0 -2
- package/dist-sdk/server/src/tools/packs/acts/data/item-cards.generated.js +0 -1311
- package/dist-sdk/server/src/tools/packs/acts/engine/cards.d.ts +0 -5
- package/dist-sdk/server/src/tools/packs/acts/engine/cards.js +0 -27
- package/dist-sdk/server/src/tools/packs/acts/engine/challenge.d.ts +0 -37
- package/dist-sdk/server/src/tools/packs/acts/engine/challenge.js +0 -120
- package/dist-sdk/server/src/tools/packs/acts/engine/dice.d.ts +0 -20
- package/dist-sdk/server/src/tools/packs/acts/engine/dice.js +0 -41
- package/dist-sdk/server/src/tools/packs/acts/engine/sheet.d.ts +0 -54
- package/dist-sdk/server/src/tools/packs/acts/engine/sheet.js +0 -200
- package/dist-sdk/server/src/tools/packs/acts/index.d.ts +0 -2
- package/dist-sdk/server/src/tools/packs/acts/index.js +0 -24
- package/dist-sdk/server/src/tools/packs/acts/tools/award.tool.d.ts +0 -2
- package/dist-sdk/server/src/tools/packs/acts/tools/award.tool.js +0 -184
- package/dist-sdk/server/src/tools/packs/acts/tools/challenge.tool.d.ts +0 -2
- package/dist-sdk/server/src/tools/packs/acts/tools/challenge.tool.js +0 -107
- package/dist-sdk/server/src/tools/packs/acts/tools/chapter.tool.d.ts +0 -3
- package/dist-sdk/server/src/tools/packs/acts/tools/chapter.tool.js +0 -146
- package/dist-sdk/server/src/tools/packs/acts/tools/check.tool.d.ts +0 -4
- package/dist-sdk/server/src/tools/packs/acts/tools/check.tool.js +0 -241
- package/dist-sdk/server/src/tools/packs/acts/tools/encounter.tool.d.ts +0 -3
- package/dist-sdk/server/src/tools/packs/acts/tools/encounter.tool.js +0 -72
- package/dist-sdk/server/src/tools/packs/acts/tools/faith.tool.d.ts +0 -2
- package/dist-sdk/server/src/tools/packs/acts/tools/faith.tool.js +0 -75
- package/dist-sdk/server/src/tools/packs/acts/tools/shared.d.ts +0 -20
- package/dist-sdk/server/src/tools/packs/acts/tools/shared.js +0 -70
- package/dist-sdk/server/src/tools/packs/acts/tools/sheet.tools.d.ts +0 -4
- package/dist-sdk/server/src/tools/packs/acts/tools/sheet.tools.js +0 -215
- package/docs/functions/actsTools.html +0 -44
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PdfConversionOptions | Briyah SDK - v2.0.
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PdfConversionOptions | Briyah SDK - v2.0.3</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.3</a>
|
|
3
3
|
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
4
|
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
5
|
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
<div class="tsd-comment tsd-typography"><p>How a conversion should be run. Every field has an environment-backed default.</p>
|
|
15
15
|
</div></section>
|
|
16
16
|
<div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PdfConversionOptions</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#attempts">attempts</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#concurrency">concurrency</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#onprogress">onProgress</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pagetimeoutms">pageTimeoutMs</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#retrybackoffms">retryBackoffMs</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div>
|
|
17
|
-
<section class="tsd-panel tsd-hierarchy" data-refl="
|
|
17
|
+
<section class="tsd-panel tsd-hierarchy" data-refl="739">
|
|
18
18
|
<h4>Hierarchy (<a href="../hierarchy.html#PdfConversionOptions">View Summary</a>)</h4>
|
|
19
19
|
<ul class="tsd-hierarchy">
|
|
20
20
|
<li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">PdfConversionOptions</span>
|
|
21
21
|
<ul class="tsd-hierarchy">
|
|
22
22
|
<li class="tsd-hierarchy-item"><a href="PdfMarkdownOptions.html" class="tsd-signature-type tsd-kind-interface">PdfMarkdownOptions</a></li></ul></li></ul></section><aside class="tsd-sources">
|
|
23
23
|
<ul>
|
|
24
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
24
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L62">server/src/documents/pdf-conversion.ts:62</a></li></ul></aside>
|
|
25
25
|
<section class="tsd-panel-group tsd-index-group">
|
|
26
26
|
<section class="tsd-panel tsd-index-panel">
|
|
27
27
|
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<div class="tsd-comment tsd-typography"><p>Attempts per page before giving up. Defaults to <code>PDF_CONVERT_PAGE_ATTEMPTS</code> or 3.</p>
|
|
45
45
|
</div><aside class="tsd-sources">
|
|
46
46
|
<ul>
|
|
47
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
47
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L72">server/src/documents/pdf-conversion.ts:72</a></li></ul></aside></section>
|
|
48
48
|
<section class="tsd-panel tsd-member">
|
|
49
49
|
<h3 class="tsd-anchor-link" id="concurrency"><code class="tsd-tag">Optional</code><span>concurrency</span><a href="#concurrency" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
50
50
|
<div class="tsd-signature"><span class="tsd-kind-property">concurrency</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
@@ -54,28 +54,28 @@ document did before there was a cap, and the provider rate-limited most of
|
|
|
54
54
|
them. Defaults to <code>PDF_CONVERT_CONCURRENCY</code> or 20.</p>
|
|
55
55
|
</div><aside class="tsd-sources">
|
|
56
56
|
<ul>
|
|
57
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
57
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L70">server/src/documents/pdf-conversion.ts:70</a></li></ul></aside></section>
|
|
58
58
|
<section class="tsd-panel tsd-member">
|
|
59
59
|
<h3 class="tsd-anchor-link" id="onprogress"><code class="tsd-tag">Optional</code><span>on<wbr/>Progress</span><a href="#onprogress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
60
60
|
<div class="tsd-signature"><span class="tsd-kind-property">onProgress</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></div>
|
|
61
61
|
<div class="tsd-comment tsd-typography"><p>Called as pages complete, for a caller with somewhere to show it.</p>
|
|
62
62
|
</div><aside class="tsd-sources">
|
|
63
63
|
<ul>
|
|
64
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
64
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L78">server/src/documents/pdf-conversion.ts:78</a></li></ul></aside></section>
|
|
65
65
|
<section class="tsd-panel tsd-member">
|
|
66
66
|
<h3 class="tsd-anchor-link" id="pagetimeoutms"><code class="tsd-tag">Optional</code><span>page<wbr/>Timeout<wbr/>Ms</span><a href="#pagetimeoutms" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
67
67
|
<div class="tsd-signature"><span class="tsd-kind-property">pageTimeoutMs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
68
68
|
<div class="tsd-comment tsd-typography"><p>Per-attempt timeout. Defaults to <code>PDF_CONVERT_PAGE_TIMEOUT_MS</code> or 2 minutes.</p>
|
|
69
69
|
</div><aside class="tsd-sources">
|
|
70
70
|
<ul>
|
|
71
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
71
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L74">server/src/documents/pdf-conversion.ts:74</a></li></ul></aside></section>
|
|
72
72
|
<section class="tsd-panel tsd-member">
|
|
73
73
|
<h3 class="tsd-anchor-link" id="retrybackoffms"><code class="tsd-tag">Optional</code><span>retry<wbr/>Backoff<wbr/>Ms</span><a href="#retrybackoffms" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
74
74
|
<div class="tsd-signature"><span class="tsd-kind-property">retryBackoffMs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
75
75
|
<div class="tsd-comment tsd-typography"><p>Base delay for the exponential backoff between attempts. Defaults to 1000ms.</p>
|
|
76
76
|
</div><aside class="tsd-sources">
|
|
77
77
|
<ul>
|
|
78
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
78
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L76">server/src/documents/pdf-conversion.ts:76</a></li></ul></aside></section></section></details></div>
|
|
79
79
|
<div class="col-sidebar">
|
|
80
80
|
<div class="page-menu">
|
|
81
81
|
<div class="tsd-navigation settings">
|
|
@@ -95,7 +95,7 @@ them. Defaults to <code>PDF_CONVERT_CONCURRENCY</code> or 20.</p>
|
|
|
95
95
|
<div><a href="#attempts"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>attempts</span></a><a href="#concurrency"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>concurrency</span></a><a href="#onprogress"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Progress</span></a><a href="#pagetimeoutms"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>page<wbr/>Timeout<wbr/>Ms</span></a><a href="#retrybackoffms"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>retry<wbr/>Backoff<wbr/>Ms</span></a></div></details></div></details></div>
|
|
96
96
|
<div class="site-menu">
|
|
97
97
|
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
98
|
-
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.
|
|
98
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.3</a>
|
|
99
99
|
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
100
100
|
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
101
101
|
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PdfConversionResult | Briyah SDK - v2.0.
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PdfConversionResult | Briyah SDK - v2.0.3</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.3</a>
|
|
3
3
|
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
4
|
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
5
|
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</div></section>
|
|
16
16
|
<div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PdfConversionResult</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#agents">agents</a><span class="tsd-signature-symbol">:</span> <a href="ConversionAgent.html" class="tsd-signature-type tsd-kind-interface">ConversionAgent</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#failedpages">failedPages</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#markdown">markdown</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pagecount">pageCount</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pages">pages</a><span class="tsd-signature-symbol">:</span> <a href="PdfPageMarkdown.html" class="tsd-signature-type tsd-kind-interface">PdfPageMarkdown</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#totalcost">totalCost</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources">
|
|
17
17
|
<ul>
|
|
18
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
18
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L82">server/src/documents/pdf-conversion.ts:82</a></li></ul></aside>
|
|
19
19
|
<section class="tsd-panel-group tsd-index-group">
|
|
20
20
|
<section class="tsd-panel tsd-index-panel">
|
|
21
21
|
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
@@ -39,38 +39,38 @@
|
|
|
39
39
|
<div class="tsd-comment tsd-typography"><p>Every agent created, so a caller can finish them or bill them.</p>
|
|
40
40
|
</div><aside class="tsd-sources">
|
|
41
41
|
<ul>
|
|
42
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
42
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L92">server/src/documents/pdf-conversion.ts:92</a></li></ul></aside></section>
|
|
43
43
|
<section class="tsd-panel tsd-member">
|
|
44
44
|
<h3 class="tsd-anchor-link" id="failedpages"><span>failed<wbr/>Pages</span><a href="#failedpages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
45
45
|
<div class="tsd-signature"><span class="tsd-kind-property">failedPages</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div>
|
|
46
46
|
<div class="tsd-comment tsd-typography"><p>The pages that exhausted their attempts, in order. Empty on a clean run.</p>
|
|
47
47
|
</div><aside class="tsd-sources">
|
|
48
48
|
<ul>
|
|
49
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
49
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L87">server/src/documents/pdf-conversion.ts:87</a></li></ul></aside></section>
|
|
50
50
|
<section class="tsd-panel tsd-member">
|
|
51
51
|
<h3 class="tsd-anchor-link" id="markdown"><span>markdown</span><a href="#markdown" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
52
52
|
<div class="tsd-signature"><span class="tsd-kind-property">markdown</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
53
53
|
<div class="tsd-comment tsd-typography"><p>Every page concatenated, with <code><!-- Page N --></code> markers and a header.</p>
|
|
54
54
|
</div><aside class="tsd-sources">
|
|
55
55
|
<ul>
|
|
56
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
56
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L85">server/src/documents/pdf-conversion.ts:85</a></li></ul></aside></section>
|
|
57
57
|
<section class="tsd-panel tsd-member">
|
|
58
58
|
<h3 class="tsd-anchor-link" id="pagecount"><span>page<wbr/>Count</span><a href="#pagecount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
59
59
|
<div class="tsd-signature"><span class="tsd-kind-property">pageCount</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
60
60
|
<ul>
|
|
61
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
61
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L88">server/src/documents/pdf-conversion.ts:88</a></li></ul></aside></section>
|
|
62
62
|
<section class="tsd-panel tsd-member">
|
|
63
63
|
<h3 class="tsd-anchor-link" id="pages"><span>pages</span><a href="#pages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
64
64
|
<div class="tsd-signature"><span class="tsd-kind-property">pages</span><span class="tsd-signature-symbol">:</span> <a href="PdfPageMarkdown.html" class="tsd-signature-type tsd-kind-interface">PdfPageMarkdown</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
|
65
65
|
<ul>
|
|
66
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
66
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L83">server/src/documents/pdf-conversion.ts:83</a></li></ul></aside></section>
|
|
67
67
|
<section class="tsd-panel tsd-member">
|
|
68
68
|
<h3 class="tsd-anchor-link" id="totalcost"><span>total<wbr/>Cost</span><a href="#totalcost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
69
69
|
<div class="tsd-signature"><span class="tsd-kind-property">totalCost</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
70
70
|
<div class="tsd-comment tsd-typography"><p>Summed across every page's agent.</p>
|
|
71
71
|
</div><aside class="tsd-sources">
|
|
72
72
|
<ul>
|
|
73
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
73
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L90">server/src/documents/pdf-conversion.ts:90</a></li></ul></aside></section></section></details></div>
|
|
74
74
|
<div class="col-sidebar">
|
|
75
75
|
<div class="page-menu">
|
|
76
76
|
<div class="tsd-navigation settings">
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
<div><a href="#agents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>agents</span></a><a href="#failedpages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>failed<wbr/>Pages</span></a><a href="#markdown"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>markdown</span></a><a href="#pagecount"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>page<wbr/>Count</span></a><a href="#pages"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pages</span></a><a href="#totalcost"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>total<wbr/>Cost</span></a></div></details></div></details></div>
|
|
91
91
|
<div class="site-menu">
|
|
92
92
|
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
93
|
-
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.
|
|
93
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.3</a>
|
|
94
94
|
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
95
95
|
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
96
96
|
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PdfMarkdownOptions | Briyah SDK - v2.0.
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PdfMarkdownOptions | Briyah SDK - v2.0.3</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.3</a>
|
|
3
3
|
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
4
|
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
5
|
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
here is about <em>which</em> agent does the converting and what it is told.</p>
|
|
17
17
|
</div></section>
|
|
18
18
|
<div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PdfMarkdownOptions</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#agentname">agentName</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#aimodel">aiModel</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#aiservicename">aiServiceName</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#attempts">attempts</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#concurrency">concurrency</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#documenttype">documentType</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#fidelityhints">fidelityHints</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#finishagents">finishAgents</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#onprogress">onProgress</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pagetimeoutms">pageTimeoutMs</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#promptfile">promptFile</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#promptfolder">promptFolder</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#reasoningeffort">reasoningEffort</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">"low"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"medium"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"high"</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#retrybackoffms">retryBackoffMs</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#rownoun">rowNoun</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#variables">variables</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div>
|
|
19
|
-
<section class="tsd-panel tsd-hierarchy" data-refl="
|
|
19
|
+
<section class="tsd-panel tsd-hierarchy" data-refl="693">
|
|
20
20
|
<h4>Hierarchy (<a href="../hierarchy.html#PdfMarkdownOptions">View Summary</a>)</h4>
|
|
21
21
|
<ul class="tsd-hierarchy">
|
|
22
22
|
<li class="tsd-hierarchy-item"><a href="PdfConversionOptions.html" class="tsd-signature-type tsd-kind-interface">PdfConversionOptions</a>
|
|
23
23
|
<ul class="tsd-hierarchy">
|
|
24
24
|
<li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">PdfMarkdownOptions</span></li></ul></li></ul></section><aside class="tsd-sources">
|
|
25
25
|
<ul>
|
|
26
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
26
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L136">server/src/app.service.ts:136</a></li></ul></aside>
|
|
27
27
|
<section class="tsd-panel-group tsd-index-group">
|
|
28
28
|
<section class="tsd-panel tsd-index-panel">
|
|
29
29
|
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
@@ -57,21 +57,21 @@ here is about <em>which</em> agent does the converting and what it is told.</p>
|
|
|
57
57
|
<div class="tsd-comment tsd-typography"><p>Shown in logs and cost reports. Defaults to <code>PDF Converter</code>.</p>
|
|
58
58
|
</div><aside class="tsd-sources">
|
|
59
59
|
<ul>
|
|
60
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
60
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L151">server/src/app.service.ts:151</a></li></ul></aside></section>
|
|
61
61
|
<section class="tsd-panel tsd-member">
|
|
62
62
|
<h3 class="tsd-anchor-link" id="aimodel"><code class="tsd-tag">Optional</code><span>ai<wbr/>Model</span><a href="#aimodel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
63
63
|
<div class="tsd-signature"><span class="tsd-kind-property">aiModel</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
64
64
|
<div class="tsd-comment tsd-typography"><p>Overrides <code>DOC_CONVERSION_AI_MODEL</code>.</p>
|
|
65
65
|
</div><aside class="tsd-sources">
|
|
66
66
|
<ul>
|
|
67
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
67
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L140">server/src/app.service.ts:140</a></li></ul></aside></section>
|
|
68
68
|
<section class="tsd-panel tsd-member">
|
|
69
69
|
<h3 class="tsd-anchor-link" id="aiservicename"><code class="tsd-tag">Optional</code><span>ai<wbr/>Service<wbr/>Name</span><a href="#aiservicename" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
70
70
|
<div class="tsd-signature"><span class="tsd-kind-property">aiServiceName</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
71
71
|
<div class="tsd-comment tsd-typography"><p>Overrides <code>DOC_CONVERSION_AI_SERVICE</code>.</p>
|
|
72
72
|
</div><aside class="tsd-sources">
|
|
73
73
|
<ul>
|
|
74
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
74
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L138">server/src/app.service.ts:138</a></li></ul></aside></section>
|
|
75
75
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
76
76
|
<h3 class="tsd-anchor-link" id="attempts"><code class="tsd-tag">Optional</code><span>attempts</span><a href="#attempts" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
77
77
|
<div class="tsd-signature"><span class="tsd-kind-property">attempts</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
@@ -79,7 +79,7 @@ here is about <em>which</em> agent does the converting and what it is told.</p>
|
|
|
79
79
|
</div><aside class="tsd-sources">
|
|
80
80
|
<p>Inherited from <a href="PdfConversionOptions.html">PdfConversionOptions</a>.<a href="PdfConversionOptions.html#attempts">attempts</a></p>
|
|
81
81
|
<ul>
|
|
82
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
82
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L72">server/src/documents/pdf-conversion.ts:72</a></li></ul></aside></section>
|
|
83
83
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
84
84
|
<h3 class="tsd-anchor-link" id="concurrency"><code class="tsd-tag">Optional</code><span>concurrency</span><a href="#concurrency" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
85
85
|
<div class="tsd-signature"><span class="tsd-kind-property">concurrency</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
@@ -90,21 +90,21 @@ them. Defaults to <code>PDF_CONVERT_CONCURRENCY</code> or 20.</p>
|
|
|
90
90
|
</div><aside class="tsd-sources">
|
|
91
91
|
<p>Inherited from <a href="PdfConversionOptions.html">PdfConversionOptions</a>.<a href="PdfConversionOptions.html#concurrency">concurrency</a></p>
|
|
92
92
|
<ul>
|
|
93
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
93
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L70">server/src/documents/pdf-conversion.ts:70</a></li></ul></aside></section>
|
|
94
94
|
<section class="tsd-panel tsd-member">
|
|
95
95
|
<h3 class="tsd-anchor-link" id="documenttype"><code class="tsd-tag">Optional</code><span>document<wbr/>Type</span><a href="#documenttype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
96
96
|
<div class="tsd-signature"><span class="tsd-kind-property">documentType</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
97
97
|
<div class="tsd-comment tsd-typography"><p>Noun phrase completing "Convert this page from ___", e.g. <code>a fleet schedule</code>.</p>
|
|
98
98
|
</div><aside class="tsd-sources">
|
|
99
99
|
<ul>
|
|
100
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
100
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L154">server/src/app.service.ts:154</a></li></ul></aside></section>
|
|
101
101
|
<section class="tsd-panel tsd-member">
|
|
102
102
|
<h3 class="tsd-anchor-link" id="fidelityhints"><code class="tsd-tag">Optional</code><span>fidelity<wbr/>Hints</span><a href="#fidelityhints" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
103
103
|
<div class="tsd-signature"><span class="tsd-kind-property">fidelityHints</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
104
104
|
<div class="tsd-comment tsd-typography"><p>What must survive verbatim, e.g. <code>chapter and verse numbers</code>.</p>
|
|
105
105
|
</div><aside class="tsd-sources">
|
|
106
106
|
<ul>
|
|
107
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
107
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L156">server/src/app.service.ts:156</a></li></ul></aside></section>
|
|
108
108
|
<section class="tsd-panel tsd-member">
|
|
109
109
|
<h3 class="tsd-anchor-link" id="finishagents"><code class="tsd-tag">Optional</code><span>finish<wbr/>Agents</span><a href="#finishagents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
110
110
|
<div class="tsd-signature"><span class="tsd-kind-property">finishAgents</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
@@ -112,7 +112,7 @@ them. Defaults to <code>PDF_CONVERT_CONCURRENCY</code> or 20.</p>
|
|
|
112
112
|
when the caller wants to read costs off the agents and dispose of them itself.</p>
|
|
113
113
|
</div><aside class="tsd-sources">
|
|
114
114
|
<ul>
|
|
115
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
115
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L165">server/src/app.service.ts:165</a></li></ul></aside></section>
|
|
116
116
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
117
117
|
<h3 class="tsd-anchor-link" id="onprogress"><code class="tsd-tag">Optional</code><span>on<wbr/>Progress</span><a href="#onprogress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
118
118
|
<div class="tsd-signature"><span class="tsd-kind-property">onProgress</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">message</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></div>
|
|
@@ -120,7 +120,7 @@ when the caller wants to read costs off the agents and dispose of them itself.</
|
|
|
120
120
|
</div><aside class="tsd-sources">
|
|
121
121
|
<p>Inherited from <a href="PdfConversionOptions.html">PdfConversionOptions</a>.<a href="PdfConversionOptions.html#onprogress">onProgress</a></p>
|
|
122
122
|
<ul>
|
|
123
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
123
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L78">server/src/documents/pdf-conversion.ts:78</a></li></ul></aside></section>
|
|
124
124
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
125
125
|
<h3 class="tsd-anchor-link" id="pagetimeoutms"><code class="tsd-tag">Optional</code><span>page<wbr/>Timeout<wbr/>Ms</span><a href="#pagetimeoutms" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
126
126
|
<div class="tsd-signature"><span class="tsd-kind-property">pageTimeoutMs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
@@ -128,14 +128,14 @@ when the caller wants to read costs off the agents and dispose of them itself.</
|
|
|
128
128
|
</div><aside class="tsd-sources">
|
|
129
129
|
<p>Inherited from <a href="PdfConversionOptions.html">PdfConversionOptions</a>.<a href="PdfConversionOptions.html#pagetimeoutms">pageTimeoutMs</a></p>
|
|
130
130
|
<ul>
|
|
131
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
131
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L74">server/src/documents/pdf-conversion.ts:74</a></li></ul></aside></section>
|
|
132
132
|
<section class="tsd-panel tsd-member">
|
|
133
133
|
<h3 class="tsd-anchor-link" id="promptfile"><code class="tsd-tag">Optional</code><span>prompt<wbr/>File</span><a href="#promptfile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
134
134
|
<div class="tsd-signature"><span class="tsd-kind-property">promptFile</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
135
135
|
<div class="tsd-comment tsd-typography"><p>The prompt file within that folder. Defaults to <code>convert_pdf_page</code>.</p>
|
|
136
136
|
</div><aside class="tsd-sources">
|
|
137
137
|
<ul>
|
|
138
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
138
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L149">server/src/app.service.ts:149</a></li></ul></aside></section>
|
|
139
139
|
<section class="tsd-panel tsd-member">
|
|
140
140
|
<h3 class="tsd-anchor-link" id="promptfolder"><code class="tsd-tag">Optional</code><span>prompt<wbr/>Folder</span><a href="#promptfolder" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
141
141
|
<div class="tsd-signature"><span class="tsd-kind-property">promptFolder</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
@@ -144,12 +144,12 @@ when the caller wants to read costs off the agents and dispose of them itself.</
|
|
|
144
144
|
a pack-qualified one — and keeps Briyah's concurrency, retry and assembly.</p>
|
|
145
145
|
</div><aside class="tsd-sources">
|
|
146
146
|
<ul>
|
|
147
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
147
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L147">server/src/app.service.ts:147</a></li></ul></aside></section>
|
|
148
148
|
<section class="tsd-panel tsd-member">
|
|
149
149
|
<h3 class="tsd-anchor-link" id="reasoningeffort"><code class="tsd-tag">Optional</code><span>reasoning<wbr/>Effort</span><a href="#reasoningeffort" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
150
150
|
<div class="tsd-signature"><span class="tsd-kind-property">reasoningEffort</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">"low"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"medium"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"high"</span></div><aside class="tsd-sources">
|
|
151
151
|
<ul>
|
|
152
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
152
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L152">server/src/app.service.ts:152</a></li></ul></aside></section>
|
|
153
153
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
154
154
|
<h3 class="tsd-anchor-link" id="retrybackoffms"><code class="tsd-tag">Optional</code><span>retry<wbr/>Backoff<wbr/>Ms</span><a href="#retrybackoffms" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
155
155
|
<div class="tsd-signature"><span class="tsd-kind-property">retryBackoffMs</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
|
|
@@ -157,21 +157,21 @@ a pack-qualified one — and keeps Briyah's concurrency, retry and assembly.</p>
|
|
|
157
157
|
</div><aside class="tsd-sources">
|
|
158
158
|
<p>Inherited from <a href="PdfConversionOptions.html">PdfConversionOptions</a>.<a href="PdfConversionOptions.html#retrybackoffms">retryBackoffMs</a></p>
|
|
159
159
|
<ul>
|
|
160
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
160
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L76">server/src/documents/pdf-conversion.ts:76</a></li></ul></aside></section>
|
|
161
161
|
<section class="tsd-panel tsd-member">
|
|
162
162
|
<h3 class="tsd-anchor-link" id="rownoun"><code class="tsd-tag">Optional</code><span>row<wbr/>Noun</span><a href="#rownoun" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
163
163
|
<div class="tsd-signature"><span class="tsd-kind-property">rowNoun</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
|
|
164
164
|
<div class="tsd-comment tsd-typography"><p>Plural noun for the document's records, e.g. <code>vehicle rows</code>. Adds a don't-drop warning.</p>
|
|
165
165
|
</div><aside class="tsd-sources">
|
|
166
166
|
<ul>
|
|
167
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
167
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L158">server/src/app.service.ts:158</a></li></ul></aside></section>
|
|
168
168
|
<section class="tsd-panel tsd-member">
|
|
169
169
|
<h3 class="tsd-anchor-link" id="variables"><code class="tsd-tag">Optional</code><span>variables</span><a href="#variables" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
170
170
|
<div class="tsd-signature"><span class="tsd-kind-property">variables</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span></div>
|
|
171
171
|
<div class="tsd-comment tsd-typography"><p>Further Handlebars variables for a caller's own prompt.</p>
|
|
172
172
|
</div><aside class="tsd-sources">
|
|
173
173
|
<ul>
|
|
174
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
174
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L160">server/src/app.service.ts:160</a></li></ul></aside></section></section></details></div>
|
|
175
175
|
<div class="col-sidebar">
|
|
176
176
|
<div class="page-menu">
|
|
177
177
|
<div class="tsd-navigation settings">
|
|
@@ -191,7 +191,7 @@ a pack-qualified one — and keeps Briyah's concurrency, retry and assembly.</p>
|
|
|
191
191
|
<div><a href="#agentname"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>agent<wbr/>Name</span></a><a href="#aimodel"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ai<wbr/>Model</span></a><a href="#aiservicename"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ai<wbr/>Service<wbr/>Name</span></a><a href="#attempts" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>attempts</span></a><a href="#concurrency" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>concurrency</span></a><a href="#documenttype"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>document<wbr/>Type</span></a><a href="#fidelityhints"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fidelity<wbr/>Hints</span></a><a href="#finishagents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>finish<wbr/>Agents</span></a><a href="#onprogress" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>on<wbr/>Progress</span></a><a href="#pagetimeoutms" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>page<wbr/>Timeout<wbr/>Ms</span></a><a href="#promptfile"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prompt<wbr/>File</span></a><a href="#promptfolder"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prompt<wbr/>Folder</span></a><a href="#reasoningeffort"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>reasoning<wbr/>Effort</span></a><a href="#retrybackoffms" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>retry<wbr/>Backoff<wbr/>Ms</span></a><a href="#rownoun"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>row<wbr/>Noun</span></a><a href="#variables"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>variables</span></a></div></details></div></details></div>
|
|
192
192
|
<div class="site-menu">
|
|
193
193
|
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
194
|
-
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.
|
|
194
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.3</a>
|
|
195
195
|
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
196
196
|
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
197
197
|
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PdfMarkdownResult | Briyah SDK - v2.0.
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PdfMarkdownResult | Briyah SDK - v2.0.3</title><meta name="description" content="Documentation for Briyah SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Briyah SDK - v2.0.3</a>
|
|
3
3
|
<div id="tsd-toolbar-links"><a href="https://github.com/your-org/briyah">GitHub</a><a href="https://www.npmjs.com/package/briyah">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
4
|
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
5
|
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
<div class="tsd-comment tsd-typography"><p>A finished conversion, with the agents typed as Briyah's own.</p>
|
|
15
15
|
</div></section>
|
|
16
16
|
<div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PdfMarkdownResult</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#agents">agents</a><span class="tsd-signature-symbol">:</span> <a href="../classes/Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#failedpages">failedPages</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#markdown">markdown</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pagecount">pageCount</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pages">pages</a><span class="tsd-signature-symbol">:</span> <a href="PdfPageMarkdown.html" class="tsd-signature-type tsd-kind-interface">PdfPageMarkdown</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#totalcost">totalCost</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div>
|
|
17
|
-
<section class="tsd-panel tsd-hierarchy" data-refl="
|
|
17
|
+
<section class="tsd-panel tsd-hierarchy" data-refl="713">
|
|
18
18
|
<h4>Hierarchy</h4>
|
|
19
19
|
<ul class="tsd-hierarchy">
|
|
20
20
|
<li class="tsd-hierarchy-item"><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><a href="PdfConversionResult.html" class="tsd-signature-type tsd-kind-interface">PdfConversionResult</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">"agents"</span><span class="tsd-signature-symbol">></span>
|
|
21
21
|
<ul class="tsd-hierarchy">
|
|
22
22
|
<li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">PdfMarkdownResult</span></li></ul></li></ul></section><aside class="tsd-sources">
|
|
23
23
|
<ul>
|
|
24
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
24
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L169">server/src/app.service.ts:169</a></li></ul></aside>
|
|
25
25
|
<section class="tsd-panel-group tsd-index-group">
|
|
26
26
|
<section class="tsd-panel tsd-index-panel">
|
|
27
27
|
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
<h3 class="tsd-anchor-link" id="agents"><span>agents</span><a href="#agents" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
44
44
|
<div class="tsd-signature"><span class="tsd-kind-property">agents</span><span class="tsd-signature-symbol">:</span> <a href="../classes/Agent.html" class="tsd-signature-type tsd-kind-class">Agent</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
|
45
45
|
<ul>
|
|
46
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
46
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/app.service.ts#L170">server/src/app.service.ts:170</a></li></ul></aside></section>
|
|
47
47
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
48
48
|
<h3 class="tsd-anchor-link" id="failedpages"><span>failed<wbr/>Pages</span><a href="#failedpages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
49
49
|
<div class="tsd-signature"><span class="tsd-kind-property">failedPages</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></div>
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
</div><aside class="tsd-sources">
|
|
52
52
|
<p>Inherited from <a href="PdfConversionResult.html">PdfConversionResult</a>.<a href="PdfConversionResult.html#failedpages">failedPages</a></p>
|
|
53
53
|
<ul>
|
|
54
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
54
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L87">server/src/documents/pdf-conversion.ts:87</a></li></ul></aside></section>
|
|
55
55
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
56
56
|
<h3 class="tsd-anchor-link" id="markdown"><span>markdown</span><a href="#markdown" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
57
57
|
<div class="tsd-signature"><span class="tsd-kind-property">markdown</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
@@ -59,19 +59,19 @@
|
|
|
59
59
|
</div><aside class="tsd-sources">
|
|
60
60
|
<p>Inherited from <a href="PdfConversionResult.html">PdfConversionResult</a>.<a href="PdfConversionResult.html#markdown">markdown</a></p>
|
|
61
61
|
<ul>
|
|
62
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
62
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L85">server/src/documents/pdf-conversion.ts:85</a></li></ul></aside></section>
|
|
63
63
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
64
64
|
<h3 class="tsd-anchor-link" id="pagecount"><span>page<wbr/>Count</span><a href="#pagecount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
65
65
|
<div class="tsd-signature"><span class="tsd-kind-property">pageCount</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
66
66
|
<p>Inherited from <a href="PdfConversionResult.html">PdfConversionResult</a>.<a href="PdfConversionResult.html#pagecount">pageCount</a></p>
|
|
67
67
|
<ul>
|
|
68
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
68
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L88">server/src/documents/pdf-conversion.ts:88</a></li></ul></aside></section>
|
|
69
69
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
70
70
|
<h3 class="tsd-anchor-link" id="pages"><span>pages</span><a href="#pages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
71
71
|
<div class="tsd-signature"><span class="tsd-kind-property">pages</span><span class="tsd-signature-symbol">:</span> <a href="PdfPageMarkdown.html" class="tsd-signature-type tsd-kind-interface">PdfPageMarkdown</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
|
|
72
72
|
<p>Inherited from <a href="PdfConversionResult.html">PdfConversionResult</a>.<a href="PdfConversionResult.html#pages">pages</a></p>
|
|
73
73
|
<ul>
|
|
74
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
74
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L83">server/src/documents/pdf-conversion.ts:83</a></li></ul></aside></section>
|
|
75
75
|
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
76
76
|
<h3 class="tsd-anchor-link" id="totalcost"><span>total<wbr/>Cost</span><a href="#totalcost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
77
77
|
<div class="tsd-signature"><span class="tsd-kind-property">totalCost</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
</div><aside class="tsd-sources">
|
|
80
80
|
<p>Inherited from <a href="PdfConversionResult.html">PdfConversionResult</a>.<a href="PdfConversionResult.html#totalcost">totalCost</a></p>
|
|
81
81
|
<ul>
|
|
82
|
-
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/
|
|
82
|
+
<li>Defined in <a href="https://github.com/WilhiteSoftwareLLC/briyah/blob/683254ac85e228b874f6df02fc93a13893a152d5/server/src/documents/pdf-conversion.ts#L90">server/src/documents/pdf-conversion.ts:90</a></li></ul></aside></section></section></details></div>
|
|
83
83
|
<div class="col-sidebar">
|
|
84
84
|
<div class="page-menu">
|
|
85
85
|
<div class="tsd-navigation settings">
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
<div><a href="#agents"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>agents</span></a><a href="#failedpages" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>failed<wbr/>Pages</span></a><a href="#markdown" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>markdown</span></a><a href="#pagecount" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>page<wbr/>Count</span></a><a href="#pages" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pages</span></a><a href="#totalcost" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>total<wbr/>Cost</span></a></div></details></div></details></div>
|
|
100
100
|
<div class="site-menu">
|
|
101
101
|
<nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/your-org/briyah" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/briyah" class="tsd-nav-link">npm</a></nav>
|
|
102
|
-
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.
|
|
102
|
+
<nav class="tsd-navigation"><a href="../modules.html">Briyah SDK - v2.0.3</a>
|
|
103
103
|
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
104
104
|
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
105
105
|
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|