Skip to content

Commit c994522

Browse files
committed
feature: add blog post on Trieve vs. Algolia and change open source to source available in the copy
1 parent e606bab commit c994522

13 files changed

+392
-199
lines changed

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
},
1717
"yaml.schemas": {
1818
"./.vscode/astrowind/config-schema.json": "/src/config.yaml"
19-
}
19+
},
20+
"editor.stickyScroll.scrollWithEditor": false,
21+
"editor.hover.sticky": true,
22+
"editor.stickyScroll.enabled": false
2023
}

src/components/blog/SinglePost.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const { Content } = post;
9292
)
9393
}
9494
</div>
95-
<div class="mx-auto px-6 sm:px-6 max-w-3xl mt-8 flex justify-between flex-col sm:flex-row">
95+
<div class="mx-auto px-6 sm:px-6 max-w-3xl mt-24 flex justify-between flex-col sm:flex-row">
9696
<PostTags tags={post.tags} class="mr-5 rtl:mr-0 rtl:ml-5" />
9797
<SocialShare url={url} text={post.title} class="mt-5 sm:mt-1 align-middle text-gray-500 dark:text-slate-600" />
9898
</div>
Lines changed: 282 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,282 @@
1+
---
2+
3+
---
4+
5+
<div class="mx-auto max-w-7xl px-6 lg:px-8 my-24">
6+
<div class="mx-auto max-w-4xl text-center">
7+
<h2 class="font-semibold my-0 lg:my-0 xl:my-0 text-fuchsia-600">Feature Comparison Table</h2>
8+
<a class="text-underline text-sm" href="https://cal.com/nick.k/meet">Book a Customer Discovery or Demo Call</a>
9+
<!-- lg+ -->
10+
<div class="isolate mt-2 block">
11+
<div class="relative -mx-8">
12+
<div class="absolute inset-x-4 inset-y-0 -z-10 flex"></div>
13+
<table class="w-full table-fixed border-separate border-spacing-x-8 text-left">
14+
<caption class="sr-only"> Pricing plan comparison</caption>
15+
<colgroup>
16+
<col class="w-1/4" />
17+
<col class="w-1/4" />
18+
<col class="w-1/4" />
19+
</colgroup>
20+
<thead>
21+
<tr>
22+
<td></td>
23+
<th scope="col" class="px-6 pt-6 xl:px-8 xl:pt-8">
24+
<div class="text-lg font-semibold leading-7 text-center">Trieve</div>
25+
</th>
26+
<th scope="col" class="px-6 pt-6 xl:px-8 xl:pt-8">
27+
<div class="text-lg font-semibold leading-7 text-center">Algolia</div>
28+
</th>
29+
</tr>
30+
</thead>
31+
<tbody>
32+
<tr>
33+
<div class="absolute inset-x-8 mt-16 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
34+
</tr>
35+
<tr>
36+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
37+
Self-Hostable On-Prem or Within Your Cloud
38+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
39+
</th>
40+
<td class="px-6 py-4 xl:px-8">
41+
<svg
42+
class="mx-auto h-5 w-5 text-fuchsia-600"
43+
viewBox="0 0 20 20"
44+
fill="currentColor"
45+
aria-hidden="true"
46+
>
47+
<path
48+
fill-rule="evenodd"
49+
d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
50+
clip-rule="evenodd"></path>
51+
</svg>
52+
</td>
53+
</tr>
54+
<tr>
55+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
56+
Admin Console + API support for Document Expansion
57+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
58+
</th>
59+
<td class="px-6 py-4 xl:px-8">
60+
<svg
61+
class="mx-auto h-5 w-5 text-fuchsia-600"
62+
viewBox="0 0 20 20"
63+
fill="currentColor"
64+
aria-hidden="true"
65+
>
66+
<path
67+
fill-rule="evenodd"
68+
d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
69+
clip-rule="evenodd"></path>
70+
</svg>
71+
</td>
72+
</tr>
73+
<tr>
74+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
75+
Admin Console + API support for Relevance Weighting (Merchandising)
76+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
77+
</th>
78+
<td class="px-6 py-4 xl:px-8">
79+
<svg
80+
class="mx-auto h-5 w-5 text-fuchsia-600"
81+
viewBox="0 0 20 20"
82+
fill="currentColor"
83+
aria-hidden="true"
84+
>
85+
<path
86+
fill-rule="evenodd"
87+
d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
88+
clip-rule="evenodd"></path>
89+
</svg>
90+
</td>
91+
</tr>
92+
<tr>
93+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
94+
Admin Console + API support for Relevance Weighting (Merchandising)
95+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
96+
</th>
97+
<td class="px-6 py-4 xl:px-8">
98+
<svg
99+
class="mx-auto h-5 w-5 text-fuchsia-600"
100+
viewBox="0 0 20 20"
101+
fill="currentColor"
102+
aria-hidden="true"
103+
>
104+
<path
105+
fill-rule="evenodd"
106+
d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
107+
clip-rule="evenodd"></path>
108+
</svg>
109+
</td>
110+
</tr>
111+
<tr>
112+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
113+
Dense Vector Semantic Search
114+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
115+
</th>
116+
<td class="px-6 py-4 xl:px-8">
117+
<svg
118+
class="mx-auto h-5 w-5 text-fuchsia-600"
119+
viewBox="0 0 20 20"
120+
fill="currentColor"
121+
aria-hidden="true"
122+
>
123+
<path
124+
fill-rule="evenodd"
125+
d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
126+
clip-rule="evenodd"></path>
127+
</svg>
128+
</td>
129+
</tr>
130+
<tr>
131+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
132+
Semantic Recommendation Engine (Personalization) Support
133+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
134+
</th>
135+
<td class="px-6 py-4 xl:px-8">
136+
<svg
137+
class="mx-auto h-5 w-5 text-fuchsia-600"
138+
viewBox="0 0 20 20"
139+
fill="currentColor"
140+
aria-hidden="true"
141+
>
142+
<path
143+
fill-rule="evenodd"
144+
d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
145+
clip-rule="evenodd"></path>
146+
</svg>
147+
</td>
148+
</tr>
149+
<tr>
150+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
151+
Gen-AI RAG (Retrieval-Augmented-Generation) API endpoint and UI support
152+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
153+
</th>
154+
<td class="px-6 py-4 xl:px-8">
155+
<svg
156+
class="mx-auto h-5 w-5 text-fuchsia-600"
157+
viewBox="0 0 20 20"
158+
fill="currentColor"
159+
aria-hidden="true"
160+
>
161+
<path
162+
fill-rule="evenodd"
163+
d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
164+
clip-rule="evenodd"></path>
165+
</svg>
166+
</td>
167+
</tr>
168+
<tr>
169+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
170+
Endpoint for File Uploads and Chunking With Apache Tika
171+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
172+
</th>
173+
<td class="px-6 py-4 xl:px-8">
174+
<svg
175+
class="mx-auto h-5 w-5 text-fuchsia-600"
176+
viewBox="0 0 20 20"
177+
fill="currentColor"
178+
aria-hidden="true"
179+
>
180+
<path
181+
fill-rule="evenodd"
182+
d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
183+
clip-rule="evenodd"></path>
184+
</svg>
185+
</td>
186+
</tr>
187+
<tr>
188+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
189+
Built in Indexing
190+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
191+
</th>
192+
<td class="px-6 py-4 xl:px-8 text-center text-sm"> dense+sparse vector open source</td>
193+
<td class="px-6 py-4 xl:px-8 text-center text-sm"> sparse vector closed source</td>
194+
</tr>
195+
<tr>
196+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
197+
Built in Analytics
198+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
199+
</th>
200+
<td></td>
201+
<td class="px-6 py-4 xl:px-8">
202+
<svg
203+
class="mx-auto h-5 w-5 text-fuchsia-600"
204+
viewBox="0 0 20 20"
205+
fill="currentColor"
206+
aria-hidden="true"
207+
>
208+
<path
209+
fill-rule="evenodd"
210+
d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
211+
clip-rule="evenodd"></path>
212+
</svg>
213+
</td>
214+
</tr>
215+
<tr>
216+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
217+
UI framework integrations (React, Vue, Angular, etc.)
218+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
219+
</th>
220+
<td></td>
221+
<td class="px-6 py-4 xl:px-8">
222+
<svg
223+
class="mx-auto h-5 w-5 text-fuchsia-600"
224+
viewBox="0 0 20 20"
225+
fill="currentColor"
226+
aria-hidden="true"
227+
>
228+
<path
229+
fill-rule="evenodd"
230+
d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
231+
clip-rule="evenodd"></path>
232+
</svg>
233+
</td>
234+
</tr>
235+
<tr>
236+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
237+
Latency for Search Endpoint Response Times
238+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
239+
</th>
240+
<td class="px-6 py-4 xl:px-8 text-sm text-center"> 250ms</td>
241+
<td class="px-6 py-4 xl:px-8 text-sm text-center">
242+
{'<100'}ms
243+
</td>
244+
</tr>
245+
<tr>
246+
<th scope="row" class="py-4 text-sm font-normal leading-6 text-gray-900">
247+
Data Storage
248+
<div class="absolute inset-x-8 mt-4 h-px bg-gray-900/5 dark:bg-gray-100/5"></div>
249+
</th>
250+
<td class="px-6 py-4 xl:px-8">
251+
<svg
252+
class="mx-auto h-5 w-5 text-fuchsia-600"
253+
viewBox="0 0 20 20"
254+
fill="currentColor"
255+
aria-hidden="true"
256+
>
257+
<path
258+
fill-rule="evenodd"
259+
d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
260+
clip-rule="evenodd"></path>
261+
</svg>
262+
</td>
263+
<td class="px-6 py-4 xl:px-8">
264+
<svg
265+
class="mx-auto h-5 w-5 text-fuchsia-600"
266+
viewBox="0 0 20 20"
267+
fill="currentColor"
268+
aria-hidden="true"
269+
>
270+
<path
271+
fill-rule="evenodd"
272+
d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z"
273+
clip-rule="evenodd"></path>
274+
</svg>
275+
</td>
276+
</tr>
277+
</tbody>
278+
</table>
279+
</div>
280+
</div>
281+
</div>
282+
</div>

src/components/widgets/Announcement.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ import { Icon } from 'astro-icon/components';
2525
}
2626
</script>
2727
<div
28-
class="flex flex-row justify-between items-center text-muted bg-fuchsia-100 dark:bg-transparent dark:border-b dark:border-slate-800 dark:text-slate-400 overflow-hidden px-3 py-2 relative text-ellipsis whitespace-nowrap"
28+
class="flex flex-row justify-between items-center text-muted bg-fuchsia-100 dark:bg-transparent dark:border-b dark:border-slate-800 dark:text-neutral-200 overflow-hidden px-3 py-2 relative text-ellipsis whitespace-nowrap"
2929
>
3030
<div>
3131
<span
3232
class="dark:bg-slate-700 bg-white/40 dark:text-slate-300 font-semibold px-1 py-0.5 text-xs mr-0.5 rtl:mr-0 rtl:ml-0.5 inline-block"
3333
>NEW</span
3434
>
35-
<a href="https://api.trieve.ai/redoc" class="text-muted hover:underline dark:text-slate-400 font-medium"
35+
<a href="https://api.trieve.ai/redoc" class="text-muted hover:underline dark:text-neutral-200 font-medium"
3636
>OpenAPI specification »</a
3737
>
3838
</div>

src/components/widgets/Note.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Icon } from 'astro-icon/components';
55
<section class="bg-blue-50 dark:bg-slate-800 not-prose">
66
<div class="max-w-6xl mx-auto px-4 sm:px-6 py-4 text-md text-center font-medium">
77
<span class="font-bold">
8-
<Icon name="tabler:info-square" class="w-5 h-5 inline-block align-text-bottom" /> Open Source:</span
8+
<Icon name="tabler:info-square" class="w-5 h-5 inline-block align-text-bottom" /> Source Available:</span
99
> Find us on Github at <a class="underline" href="https://github.com/devflowinc/trieve">devflowinc/trieve</a> and
1010
follow the project.
1111
</div>

src/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
title:
1212
default: Trieve
1313
template: '%s — Trieve'
14-
description: "Build better, faster, and more relevant search and RAG with Trieve's Open Source API. Date recency biasing, re-ranker models, dense vector search, sub-sentence highlighting, and more all on one endpoint that you can host yourself."
14+
description: "Build better, faster, and more relevant search and RAG with Trieve's platform. Date recency biasing, re-ranker models, semantic search, sub-sentence highlighting, document expansion, and more all in one service that you can host yourself."
1515
robots:
1616
index: true
1717
follow: true
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
publishDate: 2024-02-10T08:45:00Z
3+
author: skeptrune (Nick K)
4+
title: Trieve vs. Algolia
5+
excerpt: Compared to Algolia, Trieve offers a more powerful source available search platform with dense-vector semantic capabilities, RAG support, and a human fine-tuning admin dashboard for document expansion plus relevance weighting.
6+
image: https://cdn.trieve.ai/trieve-og.png
7+
category: Comparisons
8+
tags:
9+
- trieve
10+
- comparison
11+
- algolia
12+
- resources
13+
---
14+
15+
import ComparisonTable from '~/components/blog/TrieveVsAlgoliaTable.astro';
16+
17+
## Introduction
18+
19+
Want to learn about this from a human? Book a meeting with a core Trieve engineer [here on cal.com](https://cal.com/nick.k/meet).
20+
21+
This blog post is going to highlight Trieve relative to Algolia and explain which kinds of problems each are respectively better suited to solve. If we can highlight anything, it is that [Trieve is source-available and built in public on Github](https://github.com/devflowinc/trieve) whereas Algolia is fully closed. You can buy a license and host Trieve in your own cloud or on-premise which is something that Algolia explicity [does not offer](https://support.algolia.com/hc/en-us/articles/4406975236625-Can-I-run-Algolia-on-premises-on-my-own-servers).
22+
23+
## When to Use Trieve Over Algolia
24+
25+
- self-hosting on-premise or in your own cloud for privacy and security is valuable for your use-case
26+
- you want to tune search with techniques like document expansion and relevance weighting (merchandising)
27+
- taking advantage of the latest advancements in dense vector semantic search to create a better baseline is important to you
28+
- you have your own dense/sparse-vector encoding or re-ranker models which you would like to use
29+
- high quality recommendations are critical to your discovery problems
30+
- you intend to integrate gen-AI capability in your discovery UX through RAG or search-before-generate patterns
31+
32+
## When to Use Algolia Over Trieve
33+
34+
- built in analytics are necessary for your solution
35+
- you need ~100ms latency or less; Trieve is currently ~250ms
36+
- Algolia's prebuilt integrations for your UI framework are very important
37+
38+
## Comparison Summary
39+
40+
Trieve sets itself apart by being BSL-licensed self-hostable and built in public at [github.com/devflowinc/trieve](https://github.com/devflowinc/trieve) whereas Algolia is fully closed, having support for dense vector semantic search and recommendations while Algolia is only neural full-text, supporting gen-AI RAG, and shipping with an Admin UI for document expansion and weighting (AKA merchandising).
41+
42+
However, Trieve currently has latency times of ~250ms whereas Algolia is relatively consistent at ~100ms or less. The only time the Trieve team would say to use Algolia, given their closed-source and non self-hostable status, would be if you absolutely need sub-100ms latency times, built-in analytics, or their UI integrations. At Trieve, we are hard at work building these features to reach full parity with Algolia see for yourself on [Trieve's Github](https://github.com/devflowinc/trieve).
43+
44+
<ComparisonTable />

0 commit comments

Comments
 (0)