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 +4 -4
- data/lib/summarize-meeting/ai.rb +2 -2
- data/lib/summarize-meeting/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07e3eaa4b04f7b2d9ccb00632ab021a85b87dd8a6798a72319d84ec3c905fa4f
|
4
|
+
data.tar.gz: 200e57a22c74d4c7c418f2b34ec4fbec6f53119ca1e381266ce16d53ac680e36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a201d18bd409b281bf8e2e7610d4f98a37cc29dfff8f1a6b1c631d61fe88c00b43977b076bfa887e3f074bc64a6fa03951e2459cdc5baad738e47f5d0255d414
|
7
|
+
data.tar.gz: d3ea73f7bfbc3f756324d2e72c49ff9cd67694ef7da7647b9e8b0dc08805f745d9d265a906e49ff49c55b08e406b5ddb8b8887d45be0399962a1efd7b1707964
|
data/lib/summarize-meeting/ai.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module SummarizeMeeting
|
2
2
|
module Ai
|
3
3
|
class OpenAiError < StandardError; end
|
4
|
-
MAX_TOTAL_TOKENS =
|
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-
|
44
|
+
model: "gpt-4",
|
45
45
|
messages: messages,
|
46
46
|
}
|
47
47
|
response = client.chat(parameters: parameters)
|
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.
|
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-
|
11
|
+
date: 2023-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: optparse
|