Commit Graph

14505 Commits

Author SHA1 Message Date
Michael Peter Christen
70454654f3 by default open the https url for a given host, not the http url
(http does almost not exist any more)
2024-05-27 00:53:18 +02:00
Michael Peter Christen
71a6074cc5 added setting of cache configuration for solr
according to recommendation from
https://community.searchlab.eu/t/yacy-support-gpt-chatgpt-assistant/1622
However it is not clear if this configuration actually works (has an
effect at all) or is the solution for performance issues.
2024-05-26 12:59:59 +02:00
Michael Peter Christen
b8479430b6 400 is too small 2024-05-25 01:21:06 +02:00
Michael Peter Christen
5f4ea9ac5d reduced memory amount for network image
reduced also the number of memory allocation for image storage
2024-05-25 01:10:23 +02:00
Michael Peter Christen
fe4c0aa890 refactoring of RAG reverse proxy: extracted code for ollama code to
their own classes
2024-05-21 00:06:19 +02:00
Michael Peter Christen
8b65a4d14e fixed build clean 2024-05-19 18:02:49 +02:00
Michael Peter Christen
f1c70dce33 Merge branch 'master' of github.com:yacy/yacy_search_server 2024-05-19 17:35:24 +02:00
Michael Peter Christen
8eb0d490aa migrated solr to 9.0
This is a major step because solr removed support for embedded solr
instances in 9.0 and we want to keep it because we want to ship
YaCy with an embedded solr. It was necessary to add parts of solr
code into YaCy to make this migration possible. Further on with
Solr 9.1 they removed even more parts which are required for embedded
operation, therefore we cannot migrate yet further without big
changes.
If you are running a YaCy instance with Solr 8.x, the migration should
be done automatically. If not you require to first migrate to a YaCy
version 1.93 with Solr 8.x to migrate to Solr 8 data.
2024-05-19 17:34:57 +02:00
Michael Peter Christen
b8417e5619 removed Mac specific code which is not working any more on recent Macs 2024-05-19 17:29:16 +02:00
Michael Peter Christen
13fbff0bff Added a RAG Proxy for AI Chat with YaCy
RAG (Retrieval Augmented Generation) is a method to combine a search
engine with a LLM (Large Language Model). When a new prompt is
submitted, a search engine injects knowledge from a search into the
content. This is done using a reverse proxy between the Chat Client and
the LLM. In this case, we used the following software:

LLM Backend - Ollama:
https://github.com/ollama/ollama
Install ollama and then load two required LLM models
with the following commands:
ollama pull phi3:3.8b
ollama pull llama3:8b

Chat Client - susi_chat:
https://github.com/susiai/susi_chat
just clone the repository and the open the file
susi_chat/chat_terminal/index.html
in your browser. This displays a chat terminal.
In this terminal, run the following command:
host http://localhost:8090
This sets the LLM backend to your YaCy peer.

Then start YaCy. It will provide the LLM endpoint to the client
while using ollama in the backend. It then injects search results
only from the local Solr index, not from the p2p network (so far).
2024-05-19 17:19:09 +02:00
Michael Peter Christen
59c0cb0f30 fixed aarch64 dockerfile 2024-05-13 02:10:24 +02:00
Michael Christen
0405ec8ad2
Merge pull request #642 from HeliosLHC/reduce_image_size
Reduce Docker Image Size
2024-05-12 23:50:24 +02:00
Michael Peter Christen
c2ad1950e8 updated jetty to 9.4.54.v20240208 2024-05-10 15:41:20 +02:00
Michael Peter Christen
b295e38969 fine-tuned the import process of jsonl files which had been missing
to actually be able to make searches and browse the index with the host
browser
2024-05-10 12:13:44 +02:00
HeliosLHC
262b23532d reduce image size 2024-05-05 23:23:34 +02:00
Michael Christen
de941c6fee
Merge pull request #633 from LillySchramm/fix/632/remove-sayat-link
fix: Remove SayAt.Me Link
2024-04-05 17:43:55 +08:00
EPS-DEV
160e346d4c fix: Remove SayAt.Me Link 2024-04-04 15:05:41 +00:00
Michael Christen
656d47c1ac
Merge pull request #628 from frankenstein91/vagrant
Vagrant demo
2024-02-27 14:18:24 +01:00
Frank Tornack
9a406d310c
switch user 2024-02-04 19:36:48 +01:00
Frank Tornack
6864486196
add Yacy vagrant
untested
2024-02-04 19:29:16 +01:00
Michael Christen
331e0a24fc
Merge pull request #621 from OFA54/patch-1
turkish translation tr.lng
2023-12-20 23:34:35 +01:00
Michael Christen
d825a85a01
Merge pull request #619 from pr0vieh/initrecrawl
bring defaults for recrawlindex to init config
2023-12-09 14:47:13 +01:00
pr0vieh
35620762ac bring defaults for recrawlindex to init config 2023-12-09 01:32:31 +01:00
Michael Christen
d097a642c2
Merge pull request #615 from okybaca/logging2
Logging unclutter
2023-12-03 16:40:21 +01:00
Michael Christen
6d5e9ff53f
Merge pull request #616 from okybaca/logging3
changed the log entry REJECTED to CRAWLER * REJECTED, loglevel fine
2023-12-03 16:39:29 +01:00
Michael Christen
d5d4e8fe3a
Merge pull request #617 from pr0vieh/master
Add setting for DHT receive loadprereq insted of hardcoded load < 2.0
2023-12-03 16:38:46 +01:00
pr0vieh
dfb2b79609 Add setting for DHT receive loadprereq insted of hardcoded load < 2.0 2023-12-03 01:27:36 +01:00
okybaca
5dee8dbcbd changed the log entry REJECTED to CRAWLER * REJECTED, loglevel fine 2023-12-02 12:24:36 +01:00
Michael Christen
4c603e23f0
Merge pull request #610 from okybaca/cr-text
UI: added a more descriptive message, CitationRank instead of cr
2023-11-27 12:17:05 +01:00
Michael Christen
040cd8be6d
Merge pull request #612 from okybaca/sitemap-fix
updated apache libs
2023-11-27 12:16:43 +01:00
Michael Christen
0233ecd481
Merge pull request #614 from okybaca/logging
added some logging prefixes to yacy.logging
2023-11-27 12:15:34 +01:00
okybaca
7831f294a9 changed regular peerping messages to level fine 2023-11-27 08:12:03 +01:00
okybaca
553c859703 logging: moved some log-cluttering DHT messages to level 'fine' 2023-11-27 07:51:42 +01:00
okybaca
1c5fca9a58 changed network operation log category from YACY to NETWORK 2023-11-26 12:24:09 +01:00
okybaca
2f44fc0257 added some logging prefixes to yacy.logging 2023-11-25 18:39:08 +01:00
OFA
89c2a92cfb
tr.lng 2023-11-18 01:03:28 +03:00
Michael Peter Christen
3d3bdb0f5f added zim importer rule for mdwiki 2023-11-16 23:11:57 +01:00
Michael Peter Christen
4a611ac6a3 another possible fix for
https://github.com/yacy/yacy_search_server/issues/500
2023-11-15 23:45:53 +01:00
okybaca
9c59c6814b updated apache libs 2023-11-15 10:22:00 +01:00
sgaebel
d72cd7916c Merge branch 'master' of https://github.com/yacy/yacy_search_server 2023-11-14 20:43:42 +01:00
sgaebel
0663ae3c99 adds synchornized dumplog 2023-11-14 20:42:00 +01:00
okybaca
cba84632ee UI: added a more descriptive message, CitationRank instead of cr 2023-11-14 00:05:23 +01:00
Michael Peter Christen
cff0991d85 test if this is helpful for https://github.com/yacy/yacy_search_server/issues/500 2023-11-13 16:41:19 +01:00
Michael Peter Christen
ceb07a5218 fixed problem with zim importer which crashed when non-valid urls appeared 2023-11-13 11:12:10 +01:00
Michael Peter Christen
656b3e3e77 updated guava to latest and added missing library for failureaccess 2023-11-13 10:59:49 +01:00
Michael Peter Christen
3268a93019 added a 'minified' option to YaCy dumps 2023-11-13 10:27:50 +01:00
Michael Peter Christen
c20c4b8a21 modified export: added maximum number of docs per chunk
The export file can now be many files, called chunks.
By default still only one chunk is exported.
This function is required in case that the exported files shall be
imported to an elasticsearch/opensearch index. The bulk import function
of elasticsearch/opensearch is limited to 100MB. To make it possible to
import YaCy files, those must be splitted into chunks. Right now we
cannot estimate the chunk size as bytes, only as number of documents.
The user must do experiments to find out the optimum chunk max size,
like 50000 docs per chunk. Try this as first attempt.
2023-11-12 22:11:55 +01:00
Michael Peter Christen
655d8db802 detailed directions in index export to explain how the export can be
imported again using elasticsearch/opensearch
2023-11-12 15:26:18 +01:00
Michael Peter Christen
24011dcbcc more file name extensions for json list surrogate files 2023-11-06 22:44:18 +01:00
Michael Peter Christen
34a9fc1a07 bugfixes to zim reader: 2023-11-05 12:46:37 +01:00