Skip to content

Commit 3ddfc23

Browse files
committed
Moved examples to separate directories [skip ci]
1 parent 8895320 commit 3ddfc23

24 files changed

Lines changed: 71 additions & 23 deletions

File tree

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ And follow the instructions for your database library:
2323

2424
Or check out some examples:
2525

26-
- [Embeddings](examples/openai_embeddings.rb) with OpenAI
27-
- [Binary embeddings](examples/cohere_embeddings.rb) with Cohere
28-
- [Sentence embeddings](examples/sentence_embeddings.rb) with Informers
29-
- [Hybrid search](examples/hybrid_search.rb) with Informers (Reciprocal Rank Fusion)
30-
- [Sparse search](examples/sparse_search.rb) with Transformers.rb
31-
- [Morgan fingerprints](examples/morgan_fingerprints.rb) with RDKit.rb
32-
- [Topic modeling](examples/topic_modeling.rb) with tomoto.rb
33-
- [User-based recommendations](examples/disco_user_recs.rb) with Disco
34-
- [Item-based recommendations](examples/disco_item_recs.rb) with Disco
35-
- [Horizontal scaling](examples/citus.rb) with Citus
36-
- [Bulk loading](examples/bulk_loading.rb) with `COPY`
26+
- [Embeddings](examples/openai/example.rb) with OpenAI
27+
- [Binary embeddings](examples/cohere/example.rb) with Cohere
28+
- [Sentence embeddings](examples/informers/example.rb) with Informers
29+
- [Hybrid search](examples/hybrid/example.rb) with Informers (Reciprocal Rank Fusion)
30+
- [Sparse search](examples/sparse/example.rb) with Transformers.rb
31+
- [Morgan fingerprints](examples/rdkit/example.rb) with RDKit.rb
32+
- [Topic modeling](examples/tomoto/example.rb) with tomoto.rb
33+
- [User-based recommendations](examples/disco/user_recs.rb) with Disco
34+
- [Item-based recommendations](examples/disco/item_recs.rb) with Disco
35+
- [Horizontal scaling](examples/citus/example.rb) with Citus
36+
- [Bulk loading](examples/loading/example.rb) with `COPY`
3737

3838
## pg
3939

examples/Gemfile

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/citus/Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source "https://rubygems.org"
2+
3+
gemspec path: "../.."
4+
5+
gem "numo-narray"
6+
gem "pg"

examples/cohere/Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source "https://rubygems.org"
2+
3+
gemspec path: "../.."
4+
5+
gem "pg"

examples/disco/Gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source "https://rubygems.org"
2+
3+
gemspec path: "../.."
4+
5+
gem "disco"
6+
gem "pg"
7+
gem "sequel"

examples/hybrid/Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source "https://rubygems.org"
2+
3+
gemspec path: "../.."
4+
5+
gem "informers", ">= 1"
6+
gem "pg"

0 commit comments

Comments
 (0)