diff --git a/docs/classes/cls.PromptTemplate.html b/docs/classes/cls.PromptTemplate.html index a644b45..d247746 100644 --- a/docs/classes/cls.PromptTemplate.html +++ b/docs/classes/cls.PromptTemplate.html @@ -28,7 +28,7 @@

Hierarchy

+
  • Defined in cls.ts:10
  • @@ -98,84 +98,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

    @@ -190,7 +190,7 @@

    Parameters

    Optional msg: string

    Returns string

    +
  • Defined in cls.ts:362
    • @@ -203,7 +203,7 @@

      Parameters

      skip_empty_system: boolean

    Returns string

    +
  • Defined in cls.ts:325
    • @@ -216,7 +216,7 @@

      Parameters

      Optional msg: string

    Returns string

    +
  • Defined in cls.ts:344
    • @@ -229,7 +229,7 @@

      Parameters

      name: string

    Returns LmTemplate

    +
  • Defined in cls.ts:379
    • @@ -257,7 +257,7 @@

      Example

      tpl
    +
  • Defined in cls.ts:207
    • @@ -284,7 +284,7 @@

      Example

      const
    +
  • Defined in cls.ts:235
    • @@ -307,7 +307,7 @@

      Example

      tpl
    +
  • Defined in cls.ts:178
    • @@ -330,7 +330,7 @@

      Example

      tpl
    +
  • Defined in cls.ts:161
    • @@ -344,9 +344,15 @@ +
      keepShots: boolean = true
      +

      Keep the shots for the template instance: this will also clone the shots

      +
      +

    Returns PromptTemplate

    • A new PromptTemplate instance with the same state as the current one.
    @@ -356,7 +362,7 @@

    Example

    const
    +
  • Defined in cls.ts:70
    • @@ -379,7 +385,7 @@

      Example

      const
    +
  • Defined in cls.ts:310
  • +
  • Defined in cls.ts:320
    • @@ -418,7 +424,7 @@

      Example

      const
    +
  • Defined in cls.ts:268
    • @@ -438,7 +444,7 @@

      Returns string

    +
  • Defined in cls.ts:246
  • +
  • Defined in cls.ts:192
    • @@ -483,7 +489,7 @@

      Example

      tpl
    +
  • Defined in cls.ts:144
    • @@ -502,7 +508,7 @@

      Example

      const
    +
  • Defined in cls.ts:107
  • +
  • Defined in interfaces.ts:111
  • +
  • Defined in interfaces.ts:46
  • +
  • Defined in interfaces.ts:69
  • +
  • Defined in db.ts:1
  • Index

    diff --git a/docs/modules/interfaces.html b/docs/modules/interfaces.html index 6c4f653..715f0f3 100644 --- a/docs/modules/interfaces.html +++ b/docs/modules/interfaces.html @@ -16,7 +16,7 @@
  • interfaces
  • Module interfaces

    +
  • Defined in interfaces.ts:1
  • Index

    diff --git a/docs/variables/db.templates.html b/docs/variables/db.templates.html index 650b449..2f7d092 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