Perplexica/docs/architecture/README.md

17 lines
1 KiB
Markdown
Raw Normal View History

2024-05-03 16:31:58 +05:30
## Perplexica's Architecture
2024-05-03 16:31:58 +05:30
Perplexica's architecture consists of the following key components:
2024-05-25 08:16:13 -04:00
1. **User Interface**: A web-based interface that allows users to interact with Perplexica for searching images, videos,
and much more.
2. **Agent/Chains**: These components predict Perplexica's next actions, understand user queries, and decide whether a
web search is necessary.
2024-05-03 16:31:58 +05:30
3. **SearXNG**: A metadata search engine used by Perplexica to search the web for sources.
2024-05-25 08:16:13 -04:00
4. **LLMs (Large Language Models)**: Utilized by agents and chains for tasks like understanding content, writing
responses, and citing sources. Examples include Claude, GPTs, etc.
5. **Embedding Models**: To improve the accuracy of search results, embedding models re-rank the results using
similarity search algorithms such as cosine similarity and dot product distance.
2024-05-03 16:34:32 +05:30
2024-05-25 08:16:13 -04:00
For a more detailed explanation of how these components work together,
see [WORKING.md](https://github.com/ItzCrazyKns/Perplexica/tree/master/docs/architecture/WORKING.md).