cpee-llm 1.0.5 → 1.1.0

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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -0
  3. data/cpee-llm.gemspec +2 -2
  4. data/lib/cpee/llm/functions.rb +96 -67
  5. data/lib/cpee/llm/implementation.rb +42 -13
  6. data/lib/cpee/llm/implementation.xml +34 -1
  7. data/lib/cpee/llm/prompts/system/adapt_docxml_description.txt +50 -0
  8. data/lib/cpee/llm/prompts/{adapt_xml.txt → system/adapt_xml_endpoints.txt} +1 -76
  9. data/lib/cpee/llm/prompts/system/cpee_xml.txt +99 -0
  10. data/lib/cpee/llm/prompts/system/cpee_xml_documentation_modelling.txt +35 -0
  11. data/lib/cpee/llm/prompts/system/intent.txt +45 -0
  12. data/lib/cpee/llm/prompts/user/cpee_repair.txt +5 -0
  13. data/lib/cpee/llm/prompts/user/dataflow.txt +9 -0
  14. data/lib/cpee/llm/prompts/user/intent.txt +17 -0
  15. data/lib/cpee/llm/prompts/user/process_description.txt +5 -0
  16. data/lib/cpee/llm/prompts/user/process_description_endpoints.txt +9 -0
  17. data/lib/cpee/llm/prompts/user/process_model_adapt.txt +8 -0
  18. data/lib/cpee/llm/prompts/user/process_model_adapt_api.txt +11 -0
  19. data/lib/cpee/llm/prompts/user/process_model_text.txt +4 -0
  20. data/lib/cpee/llm/prompts/user/repair.txt +5 -0
  21. data/lib/cpee/llm/rubyllm_requests.rb +64 -107
  22. data/server/connect_gemini +1 -1
  23. data/server/connect_gpt +1 -1
  24. data/server/connect_morpheus +1 -1
  25. data/server/cpee-llm +1 -1
  26. data/server/plugins.json +51 -0
  27. data/tools/cpee-llm-tool +1 -1
  28. metadata +29 -15
  29. /data/lib/cpee/llm/prompts/{apply.txt → system/apply.txt} +0 -0
  30. /data/lib/cpee/llm/prompts/{dataflow.txt → system/dataflow.txt} +0 -0
  31. /data/lib/cpee/llm/prompts/{derive.txt → system/derive.txt} +0 -0
  32. /data/lib/cpee/llm/prompts/{describe.txt → system/describe.txt} +0 -0
  33. /data/lib/cpee/llm/prompts/{gemini-request.json → system/gemini-request.json} +0 -0
  34. /data/lib/cpee/llm/prompts/{generate1.txt → system/generate1.txt} +0 -0
  35. /data/lib/cpee/llm/prompts/{generate_enpoints.txt → system/generate_enpoints.txt} +0 -0
  36. /data/lib/cpee/llm/prompts/{generate_enpoints1.txt → system/generate_enpoints1.txt} +0 -0
  37. /data/lib/cpee/llm/prompts/{identify.txt → system/identify.txt} +0 -0
  38. /data/lib/cpee/llm/prompts/{validate_mermaid.xml → system/validate_mermaid.xml} +0 -0
  39. /data/lib/cpee/llm/prompts/{validate_xml.txt → system/validate_xml.txt} +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee-llm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nataliia Klievtsova
@@ -101,14 +101,14 @@ dependencies:
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '1.0'
104
+ version: '1'
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '1.0'
111
+ version: '1'
112
112
  description: see http://cpee.org
113
113
  email: n.klievtsova@gmail.com
114
114
  executables:
@@ -126,24 +126,38 @@ files:
126
126
  - lib/cpee/llm/functions.rb
127
127
  - lib/cpee/llm/implementation.rb
128
128
  - lib/cpee/llm/implementation.xml
129
- - lib/cpee/llm/prompts/adapt_xml.txt
130
- - lib/cpee/llm/prompts/apply.txt
131
- - lib/cpee/llm/prompts/dataflow.txt
132
- - lib/cpee/llm/prompts/derive.txt
133
- - lib/cpee/llm/prompts/describe.txt
134
- - lib/cpee/llm/prompts/gemini-request.json
135
- - lib/cpee/llm/prompts/generate1.txt
136
- - lib/cpee/llm/prompts/generate_enpoints.txt
137
- - lib/cpee/llm/prompts/generate_enpoints1.txt
138
- - lib/cpee/llm/prompts/identify.txt
139
- - lib/cpee/llm/prompts/validate_mermaid.xml
140
- - lib/cpee/llm/prompts/validate_xml.txt
129
+ - lib/cpee/llm/prompts/system/adapt_docxml_description.txt
130
+ - lib/cpee/llm/prompts/system/adapt_xml_endpoints.txt
131
+ - lib/cpee/llm/prompts/system/apply.txt
132
+ - lib/cpee/llm/prompts/system/cpee_xml.txt
133
+ - lib/cpee/llm/prompts/system/cpee_xml_documentation_modelling.txt
134
+ - lib/cpee/llm/prompts/system/dataflow.txt
135
+ - lib/cpee/llm/prompts/system/derive.txt
136
+ - lib/cpee/llm/prompts/system/describe.txt
137
+ - lib/cpee/llm/prompts/system/gemini-request.json
138
+ - lib/cpee/llm/prompts/system/generate1.txt
139
+ - lib/cpee/llm/prompts/system/generate_enpoints.txt
140
+ - lib/cpee/llm/prompts/system/generate_enpoints1.txt
141
+ - lib/cpee/llm/prompts/system/identify.txt
142
+ - lib/cpee/llm/prompts/system/intent.txt
143
+ - lib/cpee/llm/prompts/system/validate_mermaid.xml
144
+ - lib/cpee/llm/prompts/system/validate_xml.txt
145
+ - lib/cpee/llm/prompts/user/cpee_repair.txt
146
+ - lib/cpee/llm/prompts/user/dataflow.txt
147
+ - lib/cpee/llm/prompts/user/intent.txt
148
+ - lib/cpee/llm/prompts/user/process_description.txt
149
+ - lib/cpee/llm/prompts/user/process_description_endpoints.txt
150
+ - lib/cpee/llm/prompts/user/process_model_adapt.txt
151
+ - lib/cpee/llm/prompts/user/process_model_adapt_api.txt
152
+ - lib/cpee/llm/prompts/user/process_model_text.txt
153
+ - lib/cpee/llm/prompts/user/repair.txt
141
154
  - lib/cpee/llm/rubyllm_requests.rb
142
155
  - server/connect_gemini
143
156
  - server/connect_gpt
144
157
  - server/connect_morpheus
145
158
  - server/cpee-llm
146
159
  - server/cpee-llm.conf
160
+ - server/plugins.json
147
161
  - tools/cpee-llm
148
162
  - tools/cpee-llm-tool
149
163
  homepage: http://github.com/etm/cpee-llm/