summarize-meeting 1.3.1 → 1.4.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: c6bec0a6fe2979b29a254ac94d79a2cb9c3a641ff0fdfb8e66654d59435305ec
4
- data.tar.gz: ecc8af0c48f39c2571c4a974f9129282c753ce2c94662e61e3abff45f2a912bd
3
+ metadata.gz: 07e3eaa4b04f7b2d9ccb00632ab021a85b87dd8a6798a72319d84ec3c905fa4f
4
+ data.tar.gz: 200e57a22c74d4c7c418f2b34ec4fbec6f53119ca1e381266ce16d53ac680e36
5
5
  SHA512:
6
- metadata.gz: 16132c75418432b88987be1547574546188c67c0b91c2a84f2fe4107a139819022836147b510d7f41564abd8410ec3a26bfd4139c56badc8e617e31ce2f21bb0
7
- data.tar.gz: 45566381986ce989a20a48d9e484c381e111e2a71f779269328eba8d183751562b0e9f7412bfea3895ddf53c6dd9385a19b13409a0fca226a8ba2a6589ab2eb9
6
+ metadata.gz: a201d18bd409b281bf8e2e7610d4f98a37cc29dfff8f1a6b1c631d61fe88c00b43977b076bfa887e3f074bc64a6fa03951e2459cdc5baad738e47f5d0255d414
7
+ data.tar.gz: d3ea73f7bfbc3f756324d2e72c49ff9cd67694ef7da7647b9e8b0dc08805f745d9d265a906e49ff49c55b08e406b5ddb8b8887d45be0399962a1efd7b1707964
@@ -1,7 +1,7 @@
1
1
  module SummarizeMeeting
2
2
  module Ai
3
3
  class OpenAiError < StandardError; end
4
- MAX_TOTAL_TOKENS = 4096
4
+ MAX_TOTAL_TOKENS = 8000
5
5
  WORDS_PER_TOKEN = 0.75
6
6
 
7
7
  @@access_token = ENV["OPENAI_KEY"]
@@ -41,7 +41,7 @@ module SummarizeMeeting
41
41
 
42
42
  def self.chat(messages, client: self.client)
43
43
  parameters = {
44
- model: "gpt-3.5-turbo",
44
+ model: "gpt-4",
45
45
  messages: messages,
46
46
  }
47
47
  response = client.chat(parameters: parameters)
@@ -4,7 +4,7 @@ require "openai"
4
4
 
5
5
  module SummarizeMeeting
6
6
  class Meeting
7
- RESPONSE_RESERVE_TOKENS = 500
7
+ RESPONSE_RESERVE_TOKENS = 1000
8
8
 
9
9
  LINE_SUMMARY_PROMPT_TEMPLATE = [
10
10
  {
@@ -1,3 +1,3 @@
1
1
  module SummarizeMeeting
2
- VERSION = "1.3.1"
2
+ VERSION = "1.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: summarize-meeting
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Devine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-04 00:00:00.000000000 Z
11
+ date: 2023-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: optparse