summarize-meeting 1.3.2 → 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: f6b12c6dac816079ec5c3aa2f879d93fdc4fea0616843f6cdcea02d3241bdc2a
4
- data.tar.gz: eb3e9cc35d30922b759417100178d59c3be48dab84c50a44aac31726d6b8829b
3
+ metadata.gz: 07e3eaa4b04f7b2d9ccb00632ab021a85b87dd8a6798a72319d84ec3c905fa4f
4
+ data.tar.gz: 200e57a22c74d4c7c418f2b34ec4fbec6f53119ca1e381266ce16d53ac680e36
5
5
  SHA512:
6
- metadata.gz: bc52213e5468d899182b0b3d73e234112677db442b9dc664062d6c67be44039d4dac142b9ca83c51fbfba47fb4d5505a70b98714497978ad3504bc93c59b9d78
7
- data.tar.gz: aa917214ef057c71739aa136bdd823d74caccb7f3c2490bbc262d6f1ef9abf1a84340d240c69465571513423e530bfdddef5a49851d7cd805b37250506f70b17
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)
@@ -1,3 +1,3 @@
1
1
  module SummarizeMeeting
2
- VERSION = "1.3.2"
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.2
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-07 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