vectra-client 0.2.2 → 0.3.1

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.
@@ -6,27 +6,49 @@ permalink: /examples/
6
6
 
7
7
  # Code Examples
8
8
 
9
- Explore practical examples to get started with Vectra:
10
-
11
- ## Basic Examples
12
-
13
- - [Basic Usage]({{ site.baseurl }}/examples/basic-usage/) - Simple searches and operations
14
- - [Batch Operations]({{ site.baseurl }}/examples/basic-usage/#batch-operations) - Working with multiple vectors
15
- - [Error Handling]({{ site.baseurl }}/examples/basic-usage/#error-handling) - Proper error handling patterns
16
-
17
- ## Provider-Specific Examples
18
-
19
- - [Pinecone Example]({{ site.baseurl }}/providers/pinecone/#example)
20
- - [Qdrant Example]({{ site.baseurl }}/providers/qdrant/#example)
21
- - [Weaviate Example]({{ site.baseurl }}/providers/weaviate/#example)
22
- - [pgvector Example]({{ site.baseurl }}/providers/pgvector/#example)
23
-
24
- ## Rails Integration
25
-
26
- Check out the [pgvector guide]({{ site.baseurl }}/providers/pgvector/) for Rails ActiveRecord integration examples.
27
-
28
- ## Need More Examples?
29
-
30
- - Check the [GitHub Repository](https://github.com/stokry/vectra/tree/main/examples)
31
- - See the [Implementation Guide](https://github.com/stokry/vectra/blob/main/IMPLEMENTATION_GUIDE.md)
32
- - Review [Integration Tests](https://github.com/stokry/vectra/tree/main/spec/integration)
9
+ Practical examples to get started with Vectra.
10
+
11
+ ## Quick Examples
12
+
13
+ <div class="tma-comparison-grid">
14
+ <div class="tma-comparison-card">
15
+ <h4>Basic Usage</h4>
16
+ <p>Simple searches and CRUD operations</p>
17
+ <a href="{{ site.baseurl }}/examples/basic-usage/">View Guide →</a>
18
+ </div>
19
+ <div class="tma-comparison-card">
20
+ <h4>Rails Integration</h4>
21
+ <p>ActiveRecord integration with has_vector</p>
22
+ <a href="{{ site.baseurl }}/providers/pgvector/">View Guide →</a>
23
+ </div>
24
+ </div>
25
+
26
+ ## Provider Examples
27
+
28
+ <div class="tma-comparison-grid">
29
+ <div class="tma-comparison-card">
30
+ <h4>Pinecone</h4>
31
+ <p>Managed cloud vector database</p>
32
+ <a href="{{ site.baseurl }}/providers/pinecone/">View Guide →</a>
33
+ </div>
34
+ <div class="tma-comparison-card">
35
+ <h4>Qdrant</h4>
36
+ <p>Open source, self-hosted</p>
37
+ <a href="{{ site.baseurl }}/providers/qdrant/">View Guide →</a>
38
+ </div>
39
+ <div class="tma-comparison-card">
40
+ <h4>Weaviate</h4>
41
+ <p>Semantic search with GraphQL</p>
42
+ <a href="{{ site.baseurl }}/providers/weaviate/">View Guide →</a>
43
+ </div>
44
+ <div class="tma-comparison-card">
45
+ <h4>pgvector</h4>
46
+ <p>PostgreSQL with vector support</p>
47
+ <a href="{{ site.baseurl }}/providers/pgvector/">View Guide →</a>
48
+ </div>
49
+ </div>
50
+
51
+ ## More Resources
52
+
53
+ - [GitHub Examples](https://github.com/stokry/vectra/tree/main/examples) - Full example files
54
+ - [Integration Tests](https://github.com/stokry/vectra/tree/main/spec/integration) - Real-world test cases