ruby_llm-template 0.1.3 → 0.1.4

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: 6d29593c199869e039e035f780616492e8874d37d64eb5a95ef92167934f9589
4
- data.tar.gz: e661e4860a001786c2809c279f752bc56d69424ba6820d4fffc45dd6a4a6b3e5
3
+ metadata.gz: 49596291defa8cac6cb6088736c1403b7e7612aa5948da276dba410ae114ed27
4
+ data.tar.gz: '09b7dbfb13a4535aebd3c70df2353a9dc73597eacc160aea2643dc3272774e4b'
5
5
  SHA512:
6
- metadata.gz: 889a6c6016f00d5bbcf0dc4fffae0f53fe57366fc5731087367006fd072f8720775a0801949d6fcb9c487958cfd1eb9d4ca5a2cd4b72a415dc164c9d8bb7d48c
7
- data.tar.gz: 0aaae4004d6356c1663b2476b74a2929ad0294936bab7a9e513ac9a1a9e5769fe47ab3397d1e634195e306b1d59c018afe6d12cda464a87e853ea7e85f5fa410
6
+ metadata.gz: ed0c3650f34970ac5ecd0ed30c48196cdcb0a81283828431ab17852cde489591e210c9cb52c68e42e89b12ce5565b6aca399a1838ac38cfe3516d1e5d0912fba
7
+ data.tar.gz: 30520cba8a4e3aad1edbf971651310098f8f7c9c2f1367023337010537f6dd2a668aa94b6bfe5a53de2ba2af6e03d3e6d3628db5282d738422928e86d3c88574
data/README.md CHANGED
@@ -1,9 +1,14 @@
1
1
  # RubyLLM::Template
2
2
 
3
- A flexible template management system for [RubyLLM](https://github.com/crmne/ruby_llm) that allows you to organize and reuse ERB templates.
3
+ [![Gem Version](https://badge.fury.io/rb/ruby_llm-template.svg)](https://rubygems.org/gems/ruby_llm-template)
4
+ [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/danielfriis/ruby_llm-template/blob/main/LICENSE.txt)
5
+ [![CI](https://github.com/danielfriis/ruby_llm-template/actions/workflows/ci.yml/badge.svg)](https://github.com/danielfriis/ruby_llm-template/actions/workflows/ci.yml)
6
+
7
+ Organize prompts into easy-to-use templates for [RubyLLM](https://github.com/crmne/ruby_llm).
4
8
 
5
9
  ```ruby
6
- RubyLLM.chat.with_template(:extract_metadata, document: @document).complete
10
+ chat = RubyLLM.chat
11
+ chat.with_template(:extract_metadata, document: @document).complete
7
12
 
8
13
  # ----------------------------------
9
14
  # Retrieves the following files:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RubyLlm
4
4
  module Template
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.4"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_llm-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Friis