summarize-meeting 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44c7e54486689e6bfa88f4b9ee7e0e82cf90220d64becacc16755ebdd8977dca
4
- data.tar.gz: 0a905c1c9bc06bbe8f5cc825410aa3771597680526f11c6a7775afb9aed2d5b1
3
+ metadata.gz: 50b154d8f5d117b51fb3a377ad725088262543c05d5ee2614929511ad093a553
4
+ data.tar.gz: 66f0a4144e8b5bf6d36792bdb0432014b803e4eff020060fc9d5045c1631edef
5
5
  SHA512:
6
- metadata.gz: 2975c64d3571e15303d164014182e477c387fef9bac96aa9bdd5e7b3088eff238f8379e4305b9ec9442faf12a13bd2a1f63d5a7188ceca74dc7ccd42c9e8e475
7
- data.tar.gz: 9f48334f5e4df0969de1ddc3055c677f1e2e7df2ea2bda38624e6cfcb5175ba8fa655092bf6bb02080f96b43f827827e1feb1a78fa181cb6b49142c3ecf0aefc
6
+ metadata.gz: fd077cdfe8a177d145a5ab4672d14477cbd7a06124f0eeb03c834ef5eb632022d76920ab1ee6cba38e81204f91faa48cb1bdcc1683a86db1f7305e232cc3380a
7
+ data.tar.gz: fc2061143753fc8865b39702cfc215ae7732f8e697f8288170f07a8ba1f627c3078f4d37c40e725506413a2718cb5b7b3f93d427cd6d94a3d1ee7f0d30246192
@@ -13,7 +13,7 @@ module SummarizeMeeting
13
13
  },
14
14
  {
15
15
  role: "system",
16
- content: "The transcript of the meeting is split into {{chunkCount}} chunks. This is the {{chunkIndex}} chunk.",
16
+ content: "The transcript of the meeting is split into {{chunkCount}} chunks. This is the chunk number {{chunkIndex}} of {{chunkCount}}.",
17
17
  },
18
18
  {
19
19
  role: "assistant",
@@ -85,14 +85,14 @@ module SummarizeMeeting
85
85
  consolidated_template = CONSOLIDATED_SUMMARY_PROMPT_TEMPLATE
86
86
  prompt = Mustache.render(consolidated_template.to_json, { notes: previous_chunks_summary.to_json })
87
87
  messages = JSON.parse(prompt)
88
- SummarizeMeeting::Ai.chat(messages: messages)
88
+ SummarizeMeeting::Ai.chat(messages)
89
89
  end
90
90
 
91
91
  def summarize_chunk(chunk, chunk_index, chunk_count, previous_chunks_summary)
92
92
  template = LINE_SUMMARY_PROMPT_TEMPLATE
93
93
  prompt = Mustache.render(template.to_json, { chunkCount: chunk_count, chunkIndex: chunk_index + 1, chunk: chunk.join("\n").to_json })
94
94
  messages = JSON.parse(prompt)
95
- SummarizeMeeting::Ai.chat(messages: messages)
95
+ SummarizeMeeting::Ai.chat(messages)
96
96
  end
97
97
 
98
98
  def split_lines_into_equal_size_chunks(lines, max_chunk_word_count)
@@ -1,3 +1,3 @@
1
1
  module SummarizeMeeting
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: summarize-meeting
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Devine