inquirex-llm 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 737239fae63381a1b7ab52afd9a811e6d57f4b781379c8dbaa694c7458e940a2
4
- data.tar.gz: 531baf672a53604111e9799bdb2a1af4bfac01933a304589da6c68655db57dfb
3
+ metadata.gz: d88efd2e36800946885576819285836d651aec1b90529504f25399a7856b447d
4
+ data.tar.gz: 6be4cf2107958061b45840a87e24c954fa9951458b4cbf868a7bfc8368dd3007
5
5
  SHA512:
6
- metadata.gz: 5a372a04fd14caddf249fd5b04d63f87508dc468ea50de016f57ac968814f4b8641fe96e6b05f05bc433a2c77978ffd120b4529a3ae5590867da46eb4e5f00e4
7
- data.tar.gz: f8b604991408d6b61a063a9f337e32fe8de96c0de5b6eda7bf08dfe496f19756833abae6c3437cf6078c9efe5ff5230c05f14f3b0ea2e205b68c9efc8d7bb416
6
+ metadata.gz: aeb78792e0f106dd619043daf3b3eb21a7e209ad983bf8f5349eefeb74e071b5ca25b11bd445acbb77b0e1926b170347d1ca38a6c75c7d147cbf6d46ffed79dd
7
+ data.tar.gz: e4f00de410d54bb8c4a595816e681a0ca4c1d26a2bdc01583ff636a3b2dddaedef6b499af090e6b18f1f62ff64446122ff2529116f9f19512ef349ff615476c9
data/README.md CHANGED
@@ -6,6 +6,21 @@ LLM integration verbs for the [Inquirex](https://github.com/inquirex/inquirex) q
6
6
 
7
7
  Extends the core DSL with four server-side verbs -- `clarify`, `describe`, `summarize`, and `detour` -- that bridge free-text answers and structured data via LLM processing. Ships with a pluggable adapter interface and a `NullAdapter` for testing.
8
8
 
9
+ `inquirex` is a pure Ruby, declarative, rules-driven questionnaire engine for building conditional intake forms, qualification wizards, and branching surveys.
10
+
11
+ > [!IMPORTANT]
12
+ >
13
+ > Note that `i`
14
+ >
15
+ > `nquirex` is the base gem of the ecosystem that contains:
16
+ >
17
+ > - [`inquirex`](https://github.com/inquirex/inquirex)
18
+ > - [`inquirex-llm`](https://github.com/inquirex/inquirex-llm)
19
+ > - [`inquirex-tty`](https://github.com/inquirex/inquirex-)
20
+ > - [`inquirex-js`](https://github.com/inquirex/inquirex-js)
21
+ >
22
+ > For a presentation on these gems and what they do please watch the [RubySF presentation](https://www.youtube.com/watch?v=iaoKW7Ap3_M&t=1s) and you can also [view the slides form the presentation](https://reinvent.one/images/talks/pdfs/2026.inquirex.pdf).
23
+
9
24
  ## Status
10
25
 
11
26
  - Version: `0.1.0`
data/justfile CHANGED
@@ -1,38 +1,69 @@
1
- set shell := ["bash", "-lc"]
1
+ # Tell 'just' to run bash, source our setup script, then execute the recipe
2
+ set shell := ["bash", "-c"]
2
3
 
3
- rbenv := 'eval "$(rbenv init -)"'
4
+ version := `grep VERSION lib/inquirex/llm/version.rb | awk '{print $3}' | tr -d '"' | tr -d '\n'`
5
+ rbenv := 'eval "$(rbenv init bash)"; bundle exec '
6
+ repo := 'git@github.com:inquirex/inquirex.git'
4
7
 
5
8
  [no-exit-message]
6
9
  recipes:
7
- @just --choose
10
+ just --choose
8
11
 
9
12
  # Sync all dependencies
10
13
  install:
11
- {{rbenv}} && bin/setup
14
+ bin/setup
12
15
 
13
- # Lint and reformat files
14
- lint-fix *args:
15
- {{rbenv}} && bundle exec rubocop -a
16
-
17
- alias format := lint-fix
16
+ build: install
18
17
 
19
18
  # Lint and reformat files
20
19
  lint:
21
- {{rbenv}} && bundle exec rubocop
20
+ {{ rbenv }} rubocop
21
+
22
+ # Lint and reformat files (-a) — pass -A as an argument
23
+ format *args:
24
+ {{ rbenv }} rubocop -a {{ args }}
22
25
 
23
26
  # Run all the tests
24
27
  test *args:
25
- {{rbenv}} && ENVIRONMENT=test bundle exec rspec {{args}}
28
+ export ENVIRONMENT=test; {{ rbenv }} rspec {{args}}
26
29
 
27
30
  # Run tests with coverage
28
31
  test-coverage *args:
29
- ENVIRONMENT=test COVERAGE=true bundle exec rspec
32
+ export ENVIRONMENT=test; export COVERAGE=true; {{ rbenv }} rspec {{ args }}
33
+
34
+ check-all: install lint test-coverage
30
35
 
31
36
  clean:
32
37
  #!/usr/bin/env bash
33
- find . -name .DS_Store -delete -print || true
34
- rm -rf tmp/*
38
+ @find . -name .DS_Store -delete -print || true
39
+ @rm -rf tmp/*
35
40
 
36
41
  # Run all lefthook pre-commit hooks
37
- ci:
38
- {{rbenv}} && lefthook run pre-commit --all-files
42
+ lefthook:
43
+ {{ rbenv }} lefthook run pre-commit --all-files
44
+
45
+ # Print current gem version
46
+ version:
47
+ @echo "{{ version }}"
48
+
49
+ # Clobber
50
+ clobber:
51
+ {{ rbenv }} rake clobber
52
+
53
+ # Generate documentation
54
+ doc:
55
+ #!/usr/bin/env bash
56
+ {{ rbenv }} rake doc
57
+
58
+ # Create
59
+ publish: build
60
+ {{ rbenv }} rake release[remote]
61
+
62
+
63
+ # Tag v{{ version }}, publish the GH release, & refresh the Homebrew tap.
64
+ release:
65
+ git fetch --tags
66
+ git tag -f "v{{ version }}"
67
+ git push -f --tags
68
+ gh release delete -y "v{{ version }}" --repo {{ repo }} 2>/dev/null || true
69
+ gh release create "v{{ version }}" --generate-notes --repo {{ repo }}
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Inquirex
4
4
  module LLM
5
- VERSION = "0.3.0"
5
+ VERSION = "0.4.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inquirex-llm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Gredeskoul
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '0.2'
18
+ version: '0.4'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '0.2'
25
+ version: '0.4'
26
26
  description: Extends the Inquirex DSL with four LLM-powered verbs — clarify, describe,
27
27
  summarize, and detour — that run server-side to extract structured data, generate
28
28
  text, and dynamically branch flows. Pluggable adapter interface keeps the gem LLM-agnostic;
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  requirements: []
84
- rubygems_version: 4.0.10
84
+ rubygems_version: 4.0.16
85
85
  specification_version: 4
86
86
  summary: LLM integration verbs for the Inquirex questionnaire engine
87
87
  test_files: []