boxcars 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +67 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +8 -8
- data/lib/boxcars/engine/openai.rb +2 -4
- data/lib/boxcars/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: b1199d0161dfab186b1fd3e85789a86d242d5351a0439bbdec719d0d55eecdaa
|
4
|
+
data.tar.gz: 4f0c4b90d023c7a9bb86d45b0aa01ff0d7805bdf7d5f2b36401c87525eb15403
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abc63d10170ba704a0cc1bffc60dc2cc29ffa6927e945050d7157a7779d576be25bf8ed3c738fa6be0ec1e7fdc898ba2d41fc807026e7a2a1232ce7f68d3f283
|
7
|
+
data.tar.gz: 85cf33b3832230a9294557f1a23f305c97a1c8bc31414849160118524a64d1e27bdd74d7b1e186895596b9ce9e82afd6b8fb1fe9e7b081b0e33617228a947834
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,72 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.4.8](https://github.com/BoxcarsAI/boxcars/tree/v0.4.8) (2024-01-08)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/BoxcarsAI/boxcars/compare/v0.4.7...v0.4.8)
|
6
|
+
|
7
|
+
**Closed issues:**
|
8
|
+
|
9
|
+
- OpenBSD system example [\#124](https://github.com/BoxcarsAI/boxcars/issues/124)
|
10
|
+
- End user Struggles [\#111](https://github.com/BoxcarsAI/boxcars/issues/111)
|
11
|
+
- Add Markdown Splitter [\#96](https://github.com/BoxcarsAI/boxcars/issues/96)
|
12
|
+
- Add ability to serialize trains and boxcars [\#95](https://github.com/BoxcarsAI/boxcars/issues/95)
|
13
|
+
- VectorAnswer boxcar should support all vector stores [\#84](https://github.com/BoxcarsAI/boxcars/issues/84)
|
14
|
+
- check Chroma as a vector store [\#78](https://github.com/BoxcarsAI/boxcars/issues/78)
|
15
|
+
- Reg: User account specific / Support multi-tenancy [\#77](https://github.com/BoxcarsAI/boxcars/issues/77)
|
16
|
+
- Failed request returns a string rather than a response object [\#76](https://github.com/BoxcarsAI/boxcars/issues/76)
|
17
|
+
- Improve Google Search by parsing answer box with the engine? [\#70](https://github.com/BoxcarsAI/boxcars/issues/70)
|
18
|
+
- meta data with vector store [\#64](https://github.com/BoxcarsAI/boxcars/issues/64)
|
19
|
+
- boxcar for vector search [\#60](https://github.com/BoxcarsAI/boxcars/issues/60)
|
20
|
+
- demo rails app [\#57](https://github.com/BoxcarsAI/boxcars/issues/57)
|
21
|
+
- Language of output is fixed to English [\#52](https://github.com/BoxcarsAI/boxcars/issues/52)
|
22
|
+
- Update token counting [\#37](https://github.com/BoxcarsAI/boxcars/issues/37)
|
23
|
+
|
24
|
+
**Merged pull requests:**
|
25
|
+
|
26
|
+
- \[infra\] Bump rubocop-rspec from 2.26.0 to 2.26.1 [\#132](https://github.com/BoxcarsAI/boxcars/pull/132) ([dependabot[bot]](https://github.com/apps/dependabot))
|
27
|
+
- \[infra\] Bump rubocop-rspec from 2.25.0 to 2.26.0 [\#131](https://github.com/BoxcarsAI/boxcars/pull/131) ([dependabot[bot]](https://github.com/apps/dependabot))
|
28
|
+
- \[infra\] Bump webmock from 3.18.1 to 3.19.1 [\#130](https://github.com/BoxcarsAI/boxcars/pull/130) ([dependabot[bot]](https://github.com/apps/dependabot))
|
29
|
+
- \[infra\] Bump pg from 1.5.3 to 1.5.4 [\#129](https://github.com/BoxcarsAI/boxcars/pull/129) ([dependabot[bot]](https://github.com/apps/dependabot))
|
30
|
+
- test with ruby 3.3 too [\#128](https://github.com/BoxcarsAI/boxcars/pull/128) ([francis](https://github.com/francis))
|
31
|
+
- \[infra\] Bump hnswlib from 0.8.1 to 0.9.0 [\#127](https://github.com/BoxcarsAI/boxcars/pull/127) ([dependabot[bot]](https://github.com/apps/dependabot))
|
32
|
+
- \[infra\] Bump vcr from 6.1.0 to 6.2.0 [\#126](https://github.com/BoxcarsAI/boxcars/pull/126) ([dependabot[bot]](https://github.com/apps/dependabot))
|
33
|
+
- \[infra\] Bump debug from 1.9.0 to 1.9.1 [\#125](https://github.com/BoxcarsAI/boxcars/pull/125) ([dependabot[bot]](https://github.com/apps/dependabot))
|
34
|
+
- \[infra\] Bump nokogiri from 1.15.4 to 1.15.5 [\#123](https://github.com/BoxcarsAI/boxcars/pull/123) ([dependabot[bot]](https://github.com/apps/dependabot))
|
35
|
+
- \[infra\] Bump debug from 1.8.0 to 1.9.0 [\#122](https://github.com/BoxcarsAI/boxcars/pull/122) ([dependabot[bot]](https://github.com/apps/dependabot))
|
36
|
+
- \[infra\] Bump rubocop from 1.54.2 to 1.59.0 [\#121](https://github.com/BoxcarsAI/boxcars/pull/121) ([dependabot[bot]](https://github.com/apps/dependabot))
|
37
|
+
- \[infra\] Bump rubocop-rspec from 2.22.0 to 2.25.0 [\#120](https://github.com/BoxcarsAI/boxcars/pull/120) ([dependabot[bot]](https://github.com/apps/dependabot))
|
38
|
+
- \[infra\] Update ruby-openai requirement from ~\> 4.2 to \>= 4.2, \< 7.0 [\#119](https://github.com/BoxcarsAI/boxcars/pull/119) ([dependabot[bot]](https://github.com/apps/dependabot))
|
39
|
+
- \[infra\] Bump pgvector from 0.2.1 to 0.2.2 [\#118](https://github.com/BoxcarsAI/boxcars/pull/118) ([dependabot[bot]](https://github.com/apps/dependabot))
|
40
|
+
- \[infra\] Bump rake from 13.0.6 to 13.1.0 [\#117](https://github.com/BoxcarsAI/boxcars/pull/117) ([dependabot[bot]](https://github.com/apps/dependabot))
|
41
|
+
- \[infra\] Bump sqlite3 from 1.6.3 to 1.6.9 [\#115](https://github.com/BoxcarsAI/boxcars/pull/115) ([dependabot[bot]](https://github.com/apps/dependabot))
|
42
|
+
- Create dependabot.yml [\#114](https://github.com/BoxcarsAI/boxcars/pull/114) ([francis](https://github.com/francis))
|
43
|
+
- Bump activesupport from 7.0.6 to 7.0.7.1 [\#113](https://github.com/BoxcarsAI/boxcars/pull/113) ([dependabot[bot]](https://github.com/apps/dependabot))
|
44
|
+
- Bump protocol-http1 from 0.15.0 to 0.16.0 [\#112](https://github.com/BoxcarsAI/boxcars/pull/112) ([dependabot[bot]](https://github.com/apps/dependabot))
|
45
|
+
|
46
|
+
## [v0.4.7](https://github.com/BoxcarsAI/boxcars/tree/v0.4.7) (2023-11-07)
|
47
|
+
|
48
|
+
[Full Changelog](https://github.com/BoxcarsAI/boxcars/compare/v0.4.6...v0.4.7)
|
49
|
+
|
50
|
+
## [v0.4.6](https://github.com/BoxcarsAI/boxcars/tree/v0.4.6) (2023-11-06)
|
51
|
+
|
52
|
+
[Full Changelog](https://github.com/BoxcarsAI/boxcars/compare/v0.4.5...v0.4.6)
|
53
|
+
|
54
|
+
**Merged pull requests:**
|
55
|
+
|
56
|
+
- Perpexity API [\#110](https://github.com/BoxcarsAI/boxcars/pull/110) ([francis](https://github.com/francis))
|
57
|
+
|
58
|
+
## [v0.4.5](https://github.com/BoxcarsAI/boxcars/tree/v0.4.5) (2023-10-06)
|
59
|
+
|
60
|
+
[Full Changelog](https://github.com/BoxcarsAI/boxcars/compare/v0.4.4...v0.4.5)
|
61
|
+
|
62
|
+
**Merged pull requests:**
|
63
|
+
|
64
|
+
- Json engine [\#109](https://github.com/BoxcarsAI/boxcars/pull/109) ([francis](https://github.com/francis))
|
65
|
+
|
66
|
+
## [v0.4.4](https://github.com/BoxcarsAI/boxcars/tree/v0.4.4) (2023-10-03)
|
67
|
+
|
68
|
+
[Full Changelog](https://github.com/BoxcarsAI/boxcars/compare/v0.4.3...v0.4.4)
|
69
|
+
|
3
70
|
## [v0.4.3](https://github.com/BoxcarsAI/boxcars/tree/v0.4.3) (2023-09-19)
|
4
71
|
|
5
72
|
[Full Changelog](https://github.com/BoxcarsAI/boxcars/compare/v0.4.2...v0.4.3)
|
data/Gemfile
CHANGED
@@ -11,7 +11,7 @@ gem "dotenv", "~> 2.8"
|
|
11
11
|
|
12
12
|
gem "rake", "~> 13.1"
|
13
13
|
|
14
|
-
gem "sqlite3", "~> 1.
|
14
|
+
gem "sqlite3", "~> 1.7"
|
15
15
|
|
16
16
|
gem "async", "~>1.31.0"
|
17
17
|
|
@@ -32,7 +32,7 @@ gem "pgvector", "~> 0.2.2"
|
|
32
32
|
|
33
33
|
group :development, :test do
|
34
34
|
gem "rspec", "~> 3.2"
|
35
|
-
gem "rubocop", "~> 1.
|
35
|
+
gem "rubocop", "~> 1.60"
|
36
36
|
gem "vcr", "~> 6.2.0"
|
37
37
|
gem "webmock", "~> 3.19.1"
|
38
38
|
gem "rubocop-rake", "~> 0.6.0"
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
boxcars (0.4.
|
4
|
+
boxcars (0.4.9)
|
5
5
|
anthropic (~> 0.1)
|
6
6
|
google_search_results (~> 2.2)
|
7
7
|
gpt4all (~> 0.0.4)
|
@@ -120,7 +120,7 @@ GEM
|
|
120
120
|
sawyer (~> 0.9)
|
121
121
|
os (1.1.4)
|
122
122
|
parallel (1.24.0)
|
123
|
-
parser (3.3.0.
|
123
|
+
parser (3.3.0.5)
|
124
124
|
ast (~> 2.4.1)
|
125
125
|
racc
|
126
126
|
pg (1.5.4)
|
@@ -162,11 +162,11 @@ GEM
|
|
162
162
|
diff-lcs (>= 1.2.0, < 2.0)
|
163
163
|
rspec-support (~> 3.12.0)
|
164
164
|
rspec-support (3.12.1)
|
165
|
-
rubocop (1.
|
165
|
+
rubocop (1.60.2)
|
166
166
|
json (~> 2.3)
|
167
167
|
language_server-protocol (>= 3.17.0)
|
168
168
|
parallel (~> 1.10)
|
169
|
-
parser (>= 3.
|
169
|
+
parser (>= 3.3.0.2)
|
170
170
|
rainbow (>= 2.2.2, < 4.0)
|
171
171
|
regexp_parser (>= 1.8, < 3.0)
|
172
172
|
rexml (>= 3.2.5, < 4.0)
|
@@ -194,8 +194,8 @@ GEM
|
|
194
194
|
sawyer (0.9.2)
|
195
195
|
addressable (>= 2.3.5)
|
196
196
|
faraday (>= 0.17.3, < 3)
|
197
|
-
sqlite3 (1.7.
|
198
|
-
sqlite3 (1.7.
|
197
|
+
sqlite3 (1.7.1-arm64-darwin)
|
198
|
+
sqlite3 (1.7.1-x86_64-linux)
|
199
199
|
stringio (3.1.0)
|
200
200
|
strings-ansi (0.2.0)
|
201
201
|
timers (4.3.5)
|
@@ -239,10 +239,10 @@ DEPENDENCIES
|
|
239
239
|
rake (~> 13.1)
|
240
240
|
rest-client (~> 2.1)
|
241
241
|
rspec (~> 3.2)
|
242
|
-
rubocop (~> 1.
|
242
|
+
rubocop (~> 1.60)
|
243
243
|
rubocop-rake (~> 0.6.0)
|
244
244
|
rubocop-rspec (~> 2.26)
|
245
|
-
sqlite3 (~> 1.
|
245
|
+
sqlite3 (~> 1.7)
|
246
246
|
vcr (~> 6.2.0)
|
247
247
|
webmock (~> 3.19.1)
|
248
248
|
|
@@ -9,7 +9,7 @@ module Boxcars
|
|
9
9
|
|
10
10
|
# The default parameters to use when asking the engine.
|
11
11
|
DEFAULT_PARAMS = {
|
12
|
-
model: "gpt-4-
|
12
|
+
model: "gpt-4-turbo-preview",
|
13
13
|
temperature: 0.1,
|
14
14
|
max_tokens: 4096
|
15
15
|
}.freeze
|
@@ -44,9 +44,7 @@ module Boxcars
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def conversation_model?(model)
|
47
|
-
|
48
|
-
|
49
|
-
["gpt-3.5-turbo", "gpt-4", "gpt-3.5-turbo-16k"].include?(model)
|
47
|
+
!!(model =~ /(^gpt-4)|(-turbo\b)/)
|
50
48
|
end
|
51
49
|
|
52
50
|
# Get an answer from the engine.
|
data/lib/boxcars/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxcars
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francis Sullivan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-01-
|
12
|
+
date: 2024-01-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: anthropic
|