From 57aaa6f4b2a2e2bd3aef355444eaf5615c6cc3dc Mon Sep 17 00:00:00 2001 From: synw Date: Fri, 1 Dec 2023 16:12:44 +0100 Subject: [PATCH] Update docs --- docs/assets/navigation.js | 2 +- docs/assets/search.js | 2 +- docs/classes/cls.PromptTemplate.html | 64 +++++++------- docs/interfaces/interfaces.HistoryTurn.html | 22 +++-- docs/interfaces/interfaces.ImgData.html | 88 ++++++++++++++++++++ docs/interfaces/interfaces.LmTemplate.html | 22 ++--- docs/interfaces/interfaces.PromptBlock.html | 6 +- docs/interfaces/interfaces.SpacingSlots.html | 8 +- docs/interfaces/interfaces.TurnBlock.html | 6 +- docs/modules/cls.html | 2 +- docs/modules/db.html | 2 +- docs/modules/interfaces.html | 3 +- docs/variables/db.templates.html | 2 +- 13 files changed, 158 insertions(+), 71 deletions(-) create mode 100644 docs/interfaces/interfaces.ImgData.html diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 8a6b7f4..0fe6405 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA43RsQrCMBAG4He5uShWFOno5OAg6CYd0iTa4CUpySmK9N1FLE1qpXa+P1/+XI5PIHknyICjhwQqRiVkoK24ovRTjn5SkkZI4KKMgCxNgJcKhZMGsmN7eOesruggdYWMZHA4Mu8bp5vpsrN0Ved10nqi6HcRxagq1FwQvebGnGJFY7TzrjZPOwWUIelOjMsfSwmzUYU2ypN1j8PVmWAFI+ai6Be9WEbltrq/6d9gSA55n59Zo+WXf2AUHRL3FePKnPdoyf8j4+yQ+d7KqI5tsK/ldf4Cu83/fPICAAA=" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA43RsWrDMBAG4He52bTUpaV4DBkSyBBItuDhLCmxyEky0qW0FL97KTWWHAfbs359+nV3+gFWXwwFCAqQQYNcQwHGyRup8CwoPNVsCDK4aiuhyDMQtSbplYXi1F/ee2caPirTELKKjiAMoXOGmSH7kn+0ZZv1nqzGXWS1qAp3DyS/+USvseqM/nyoveaDAtqy8mcU6sFQ4tmiQhsd2Pnv483baEUj5ZLoHf32npTbmssaGee0LjYl7cx4Z4+xmJzy/ne8Iieuc2ASnRIPDQptLwdyHObINDtl/s13Ucc+ONbKtvwFIrioXjwDAAA=" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index 0852bbf..613ae60 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA71aTY+jRhD9Lz1X1uv+8tctOW2iHCLNJBc0WmHTs0MWgwV4stFo/nvUgKEKugzYJKfRruv1q65XVV00vLMs/TtnO/+dfY+SkO2Ex5LgaNiORUlhspfgYHLmsXMWsx07puE5Nvnn9qfFa3GMmccOcZDnJmc7xj68Zi29alZ7PAWHKPn2GKdFu167DlwSmjrW99gpyExSYBdbVr4UqqHN/8kLc5xK+NDAhngRlnLinJtssgs1aBYHgjyP8iJIisleQOStrsA0+D1Lj6fi5zg9fB/wBVjenQSHV3MMJvI9NKjBfcNNES4cTZ4H38xUH1rYjU7A2D+ds2RM5Bu7e+M+Iu8x1+ikb7dyZ8Z3+Celu8sJGO/fjk/meIqDYkj21vDeiEfhNKqHEjC4U7ATgrj8M426hsxAPiLPuuRjE22YfGymdT2YlGrDbow66Lo+jD/mRjjwOnyy9/hrzBz0RXqayl5BZiCPo8TsMxN8nxoABJwjGV8Kkz2+ppOTEeBmcOOUmZfox0QfGtBtDsDO+yXKizT7xzboASeA5f9w2nXZRrchuKE7+1DPh0mNaIQj0TH4ZoYKoedFg7rRhfa55RD3H1gO8fUnFS42nRG1d3TXuHIpbHI9caw7LZHmwNE0yYvsfCjSbCzLA8aQjB3siHFhiPjKoDCeD00JQ4xX54PxnKgshziv1uN4zn4tDhEPF+F49teqQEZzt/b3MneGkCHigfFjAi+aPQZpr04dE1jhyDFIem3YGM/pmDSGmEfMGBMyuzdg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IDVhBX13Bvk7p47cAv6Lw5a0leCvS4tsbwHem+FX85QUDAEsAXlLg6qECBI0DlzcUqr5PuTxlA1INSMUA3OHzCsAlAQ/CMC8vM0CgwV41tdfyLsoZZwk2rahNl/AuMQf7FSWxx+T1FXqbliBPFZWnTr9helTcvPaB6+qvqP9fUlqUN7RFikRYg2UVictRHECmCyrT0RtdwAeiL6jY2UdVsHEB9N4SkOZlH6ACOEnlV40ryk8qwBZBWAQVzggVEwfKclErQrl7+SwAwEH7EVT7gd8ut1BATJUDfFkGOEFO8W2dPFRSxsfLUz5cAqQCp5pW87VnCwPhpfiqCwDgLMgcLmtnqf1eXpEBOOg2gtdwSp5+r5MArqlkqmC9kwG0DUrYCukKsADqCipW9gqySB01IEGgNVXel3tbAIMuU+lfwXrdGeSUpjKCPFIkqFlFqUOfKCAbFdWYLt8/tzAgLQmq3q2DdAKO8nWdTpS6efUBeR53FwFrUNDy/TqAgMOPb2pe0ut+hEAy1YfHql6Eyg5w9Qd6MnBjRRVhkf5VvpcD9KDJKSpathf3aggAqVOj+sgF5BJo/9Ue6xbH63NSXLqIM/jPHjtFJ2M7J9v5zx8f/wJ7PgBNVDIAAA=="; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA71bS2/bRhD+L+sro2hf1OPWooek6KGA3V4Ew6BE2mZDigJJuQkM//di+Zwhd0RSYnoyEs+338x+M7PDJf3O0uTfjG137+xbePTZVjjs6MUB27LwmAfps3cIMuawcxqxLYsT/xwF2ef2V4vXPI6Yww6Rl2VBxraMfTjNWtptVrs/eYfw+HIfJXm7XrsOXBKaWtZ32MlLg2OOXWxZ+VKohjb7keVBPJXwroEN8SIs5cQ5C9LJLlSgWRzwsizMcu+YT/YCIq91BabBn2kSn/Jfo+TwbcAXYHlzEhxeg9ibyHfXoAbjhkERLsRBlnkvwVQfWtiVTsC9fzinxzE739jduu8j8h5zjU76NpQbM77DPyndbU7A/f4jfgjiU+TlQ7K3hrfueOhPo7orAIORgkg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t3Keyg5wmwryCu4ZVYR58k/xqhMIBCJW1G6ZXt6rIZCQlKPld0OADBROGWPV4nh1pIu6i1jT9NFhp/AUmM7JtrvHj4//ABfoInl2NQAA"; \ No newline at end of file diff --git a/docs/classes/cls.PromptTemplate.html b/docs/classes/cls.PromptTemplate.html index 329e9e8..c75bc54 100644 --- a/docs/classes/cls.PromptTemplate.html +++ b/docs/classes/cls.PromptTemplate.html @@ -28,7 +28,7 @@

Hierarchy

+
  • Defined in cls.ts:10
  • @@ -97,84 +97,84 @@

    Example

    const
    +
  • Defined in cls.ts:36
  • Properties

    _extraAssistant: string = ""
    +
  • Defined in cls.ts:24
  • _extraSystem: string = ""
    +
  • Defined in cls.ts:23
  • _replacePrompt: string = ""
    +
  • Defined in cls.ts:25
  • _replaceSystem: string = ""
    +
  • Defined in cls.ts:26
  • afterShot?: string
    +
  • Defined in cls.ts:20
  • assistant: string
    +
  • Defined in cls.ts:14
  • history: HistoryTurn[] = []
    +
  • Defined in cls.ts:15
  • id: string
    +
  • Defined in cls.ts:11
  • linebreaks?: SpacingSlots
    +
  • Defined in cls.ts:19
  • name: string
    +
  • Defined in cls.ts:12
  • prefix?: string
    +
  • Defined in cls.ts:21
  • shots?: TurnBlock[]
    +
  • Defined in cls.ts:17
  • stop?: string[]
    +
  • Defined in cls.ts:18
  • system?: PromptBlock
    +
  • Defined in cls.ts:16
  • user: string
    +
  • Defined in cls.ts:13
  • Methods

    @@ -189,7 +189,7 @@

    Parameters

    Optional msg: string

    Returns string

    +
  • Defined in cls.ts:316
    • @@ -202,7 +202,7 @@

      Parameters

      skip_empty_system: boolean

    Returns string

    +
  • Defined in cls.ts:279
    • @@ -215,7 +215,7 @@

      Parameters

      Optional msg: string

    Returns string

    +
  • Defined in cls.ts:298
    • @@ -228,7 +228,7 @@

      Parameters

      name: string

    Returns LmTemplate

    +
  • Defined in cls.ts:333
    • @@ -256,7 +256,7 @@

      Example

      tpl
    +
  • Defined in cls.ts:179
    • @@ -279,7 +279,7 @@

      Example

      tpl
    +
  • Defined in cls.ts:150
    • @@ -302,7 +302,7 @@

      Example

      tpl
    +
  • Defined in cls.ts:133
    • @@ -317,7 +317,7 @@
      template: keepShots: boolean = true

    Returns PromptTemplate

    +
  • Defined in cls.ts:55
    • @@ -340,7 +340,7 @@

      Example

      const
    +
  • Defined in cls.ts:262
  • +
  • Defined in cls.ts:273
    • @@ -379,7 +379,7 @@

      Example

      const
    +
  • Defined in cls.ts:220
    • @@ -399,7 +399,7 @@

      Returns string

    +
  • Defined in cls.ts:198
  • +
  • Defined in cls.ts:164
    • @@ -444,7 +444,7 @@

      Example

      tpl
    +
  • Defined in cls.ts:116
  • +
  • Defined in cls.ts:79
  • +
  • Defined in interfaces.ts:171
  • +
  • Defined in interfaces.ts:108
  • +
  • Defined in interfaces.ts:43
  • +
  • Defined in interfaces.ts:66
  • +
  • Defined in db.ts:1
  • Index

    diff --git a/docs/modules/interfaces.html b/docs/modules/interfaces.html index 5287edc..f844898 100644 --- a/docs/modules/interfaces.html +++ b/docs/modules/interfaces.html @@ -16,13 +16,14 @@
  • interfaces
  • Module interfaces

    +
  • Defined in interfaces.ts:1
  • Index

    Interfaces

    HistoryTurn +ImgData LmTemplate PromptBlock SpacingSlots diff --git a/docs/variables/db.templates.html b/docs/variables/db.templates.html index 68ab51d..d663a90 100644 --- a/docs/variables/db.templates.html +++ b/docs/variables/db.templates.html @@ -18,7 +18,7 @@

    Variable templatesConst

    templates: Record<string, LmTemplate> = ...
    +
  • Defined in db.ts:3