ollama_chat 0.0.3 → 0.0.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 +4 -4
- data/.gitignore +1 -0
- data/CHANGES.md +15 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/config/searxng/settings.yml +2583 -0
- data/docker-compose.yml +21 -0
- data/lib/ollama_chat/chat.rb +3 -2
- data/lib/ollama_chat/information.rb +2 -0
- data/lib/ollama_chat/ollama_chat_config/default_config.yml +7 -0
- data/lib/ollama_chat/source_fetching.rb +0 -33
- data/lib/ollama_chat/version.rb +1 -1
- data/lib/ollama_chat/web_searching.rb +60 -0
- data/lib/ollama_chat.rb +1 -0
- data/ollama_chat.gemspec +6 -6
- data/spec/assets/searxng.json +111 -0
- data/spec/ollama_chat/chat_spec.rb +3 -1
- data/spec/ollama_chat/source_fetching_spec.rb +0 -9
- data/spec/ollama_chat/web_searching_spec.rb +29 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3f84805f1f6ef58ce6fd25f0f4a477b919c7afa72d909bf3c48ca8fa643d1dd
|
4
|
+
data.tar.gz: 61ce65c1f30464f4b30c0a4228a88aa9f4796a15407820d84db5c6240527d014
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68bff70a1b439a0a01ec0daf7c8a643c6814450f8dbdd8368d92a43941d774034fe34a616f237ecec66c59ab1ed97585eda5e39d857625fd8f5a9a61d8d3f7b0
|
7
|
+
data.tar.gz: 20ec1a209f3e23374f0b3ee8b0bb1b1757fbb412500c823f1b8117f19ddc323dec2b9d1715fb9e3726549885dee08d4ccf00e25f1036a5af57699cb3f42b02c6
|
data/.gitignore
CHANGED
data/CHANGES.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# Changes
|
2
2
|
|
3
|
+
## 2025-02-21 v0.0.4
|
4
|
+
|
5
|
+
* Added support for web searching with SearXNG:
|
6
|
+
+ Added `ollama_chat/web_searching.rb` module which includes a generic
|
7
|
+
`search_web` method that uses the selected search engine.
|
8
|
+
+ Updated `ollama_chat/default_config.yml` to include configuration options
|
9
|
+
for web searching with all engines.
|
10
|
+
+ Updated `ollama_chat/chat.rb` to use the new `web_searching` module and
|
11
|
+
updated the `search_web` method to return results from either engine.
|
12
|
+
+ Added specs in `spec/ollama_chat/web_searching_spec.rb` to test the new functionality.
|
13
|
+
* Added ollama chat version display to information module and spec:
|
14
|
+
+ Added `STDOUT.puts` for displaying ollama chat version in `lib/ollama_chat/information.rb`
|
15
|
+
+ Updated test in `spec/ollama_chat/chat_spec.rb` to include new output string
|
16
|
+
* Update chat document redis cache expiration time default to 0.
|
17
|
+
|
3
18
|
## 2025-02-17 v0.0.3
|
4
19
|
|
5
20
|
* Support setting of request headers:
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|