walkthrough_awanllm 0.1.11 → 0.1.12
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 +4 -4
- data/README.md +62 -12
- data/lib/walkthrough_awanllm/version.rb +1 -1
- data/walkthrough_awanllm-0.1.11.gem +0 -0
- data/walkthrough_awanllm.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbf5144f58d9bdea302d3c0065b8febd8bd32ce609ff574769223d33828d2d6b
|
4
|
+
data.tar.gz: 6c392221fa5ed9daa9ce20676e387dfe1f1d3aa935bf42f8a86de8f6accc7637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 519508648067ce15e9db529ad760bd7b021e6658277325886e35c2d4fb3b7d7e9a2420b4b4c8fa0cdc23551c9488bc325edb9df158538cdee367a65ff34b46c7
|
7
|
+
data.tar.gz: 4aa5cbd6c9a1a69be8dcb762f3346e5e2b2bd08ec7f50b420fe6fe056c80df67eb320d53bac55c31cdd8b296d8119590ff4a9bc5861d5243f77d65e0fa22bf33
|
data/README.md
CHANGED
@@ -1,34 +1,83 @@
|
|
1
|
-
|
1
|
+
Here's an updated README for your gem `walkthrough_awanllm`, including all necessary installation and usage instructions, as well as development and contributing guidelines.
|
2
2
|
|
3
|
-
|
3
|
+
```markdown
|
4
|
+
# WalkthroughAwanllm
|
4
5
|
|
5
|
-
|
6
|
+
A Ruby gem to generate a project development walkthrough with the AwanLLM API. This gem helps you log activities and generate detailed walkthroughs of your project's lifecycle.
|
6
7
|
|
7
8
|
## Installation
|
8
9
|
|
9
|
-
|
10
|
+
Add this line to your application's Gemfile:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
gem 'walkthrough_awanllm'
|
14
|
+
```
|
15
|
+
|
16
|
+
And then execute:
|
17
|
+
|
18
|
+
```sh
|
19
|
+
$ bundle install
|
20
|
+
```
|
10
21
|
|
11
|
-
|
22
|
+
Or install it yourself as:
|
12
23
|
|
13
|
-
|
24
|
+
```sh
|
25
|
+
$ gem install walkthrough_awanllm
|
26
|
+
```
|
14
27
|
|
15
|
-
|
28
|
+
## Setup
|
16
29
|
|
17
|
-
|
30
|
+
After installing the gem, you need to configure it by running the setup script. This will prompt you for your AwanLLM API key and the model name you wish to use.
|
31
|
+
|
32
|
+
```sh
|
33
|
+
$ ruby bin/setup_awanllm.rb
|
34
|
+
```
|
18
35
|
|
19
36
|
## Usage
|
20
37
|
|
21
|
-
|
38
|
+
### Generating Content
|
39
|
+
|
40
|
+
To generate content using the AwanLLM API, you can create an instance of the `AwanLLM` class and call its methods:
|
41
|
+
|
42
|
+
```ruby
|
43
|
+
require 'walkthrough_awanllm'
|
44
|
+
|
45
|
+
llm = AwanLLM.new
|
46
|
+
response = llm.generate_content(prompt: "Generate some content based on this prompt.")
|
47
|
+
puts response
|
48
|
+
```
|
49
|
+
|
50
|
+
### Generating a Walkthrough
|
51
|
+
|
52
|
+
To generate a detailed walkthrough of your project's activities:
|
53
|
+
|
54
|
+
```ruby
|
55
|
+
llm.generate_walkthrough
|
56
|
+
```
|
57
|
+
|
58
|
+
This will read the activity log and generate a `walkthrough.md` file in the project's root directory.
|
22
59
|
|
23
60
|
## Development
|
24
61
|
|
25
62
|
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
26
63
|
|
27
|
-
To install this gem onto your local machine, run
|
64
|
+
To install this gem onto your local machine, run:
|
65
|
+
|
66
|
+
```sh
|
67
|
+
$ bundle exec rake install
|
68
|
+
```
|
69
|
+
|
70
|
+
To release a new version, update the version number in `version.rb`, and then run:
|
71
|
+
|
72
|
+
```sh
|
73
|
+
$ bundle exec rake release
|
74
|
+
```
|
75
|
+
|
76
|
+
This will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
28
77
|
|
29
78
|
## Contributing
|
30
79
|
|
31
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
80
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/mruduljohn/walkthrough_awanllm. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/mruduljohn/walkthrough_awanllm/blob/master/CODE_OF_CONDUCT.md).
|
32
81
|
|
33
82
|
## License
|
34
83
|
|
@@ -36,4 +85,5 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
36
85
|
|
37
86
|
## Code of Conduct
|
38
87
|
|
39
|
-
Everyone interacting in the WalkthroughAwanllm project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
88
|
+
Everyone interacting in the WalkthroughAwanllm project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/mruduljohn/walkthrough_awanllm/blob/master/CODE_OF_CONDUCT.md).
|
89
|
+
```
|
Binary file
|
data/walkthrough_awanllm.gemspec
CHANGED
@@ -39,6 +39,6 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.post_install_message = <<-MESSAGE
|
40
40
|
Thank you for installing the AwanLLM gem!
|
41
41
|
To complete the setup, please run the following command:
|
42
|
-
setup_awanllm
|
42
|
+
ruby /vendor/bundle/ruby/YOUR_VERSION/bin/setup_awanllm.rb
|
43
43
|
MESSAGE
|
44
44
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: walkthrough_awanllm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mrudul John
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- lib/walkthrough_awanllm/railtie.rb
|
86
86
|
- lib/walkthrough_awanllm/version.rb
|
87
87
|
- sig/walkthrough_awanllm.rbs
|
88
|
+
- walkthrough_awanllm-0.1.11.gem
|
88
89
|
- walkthrough_awanllm.gemspec
|
89
90
|
homepage: https://github.com/mruduljohn/Walkthrough_awanllm_gem
|
90
91
|
licenses:
|
@@ -94,7 +95,7 @@ metadata:
|
|
94
95
|
post_install_message: |2
|
95
96
|
Thank you for installing the AwanLLM gem!
|
96
97
|
To complete the setup, please run the following command:
|
97
|
-
setup_awanllm
|
98
|
+
ruby /vendor/bundle/ruby/YOUR_VERSION/bin/setup_awanllm.rb
|
98
99
|
rdoc_options: []
|
99
100
|
require_paths:
|
100
101
|
- lib
|