summarize-meeting 1.1.0 → 1.3.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: 9d6006b164f0ac9c90c1ba8f1cb6b104a58a1db6b86979daa6c3a7151a921fed
4
+ data.tar.gz: 6273676387deccd503f02234c7c7bfcf92df453b35e14bd43ce6e42a1627b529
5
5
  SHA512:
6
- metadata.gz: 2975c64d3571e15303d164014182e477c387fef9bac96aa9bdd5e7b3088eff238f8379e4305b9ec9442faf12a13bd2a1f63d5a7188ceca74dc7ccd42c9e8e475
7
- data.tar.gz: 9f48334f5e4df0969de1ddc3055c677f1e2e7df2ea2bda38624e6cfcb5175ba8fa655092bf6bb02080f96b43f827827e1feb1a78fa181cb6b49142c3ecf0aefc
6
+ metadata.gz: c07e547b58e802fa35415861a11f9094d5bcea7ffcacf4a6177d9facf9ab63ab9db86796fd280a01d36769ecf33b9075ac8d74239e9a9e7fe553f7e1c25a2b5a
7
+ data.tar.gz: 9aacf4350a4de7ef8253baae3d2a09c77dcbc4369874c193609a73823d6bbe9a4bf6609a60f22d52ff1a8c9db5ec847139a9a5d151846bf91f835a56a134be02
@@ -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.3.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.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Devine
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: pry
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
125
139
  description: A command line utility that summarizes a meeting using generative language
126
140
  models.
127
141
  email: sean-devine@x-b-e.com