Jeffser / Alpaca

An Ollama client made with GTK4 and Adwaita
https://jeffser.com/alpaca
GNU General Public License v3.0
356 stars 40 forks source link

Integrate Web Search Capabilities into Alpaca #349

Open viba1 opened 1 day ago

viba1 commented 1 day ago

Description:

Alpaca is a fantastic tool for managing and interacting with local AI models, providing an accessible and user-friendly experience. However, the current implementation lacks the ability to integrate web search functionality. This presents a significant limitation as it restricts the model's knowledge base to pre-existing data and prevents access to real-time information and updates.

Integrating web search capabilities would greatly enhance Alpaca's capabilities by:

Proposed Solution:

The integration could involve utilizing various search engines and instances, offering users flexibility and control:

Supported Search Engines:

Configuration Options:

Benefits:

Considerations:

We believe that integrating web search capabilities into Alpaca with the proposed features would significantly enhance its functionality and user experience, making it a more powerful and versatile tool for interacting with AI.

Jeffser commented 1 day ago

Hi, I believe this would add too much complexity, for now I think it is better to just use the web extraction tool

CodingKoalaGeneral commented 18 hours ago

i tried to combine web searches with https://github.com/Jeffser/Alpaca/issues/333 it's possible but adds complexity like request limits, duckduckgo has a python module if i remember right. The most used models (by regular pc users) will be to limited to their input and may produce so bad results that its not worth to hassle with the self hosted LLM and people use commercially hosted solutions instead.

the a basic web search guidance the models may preform way more straight forward for example regarding documentation and code implementations etc

key would be a limited keyword related web search with crawling of the sources and providing the results as conversation context.