Skip to content

Commit

Permalink
Merge pull request #58 from Kong/update/3.8-semantic-cache-example
Browse files Browse the repository at this point in the history
Update the 3.8 example for AI Semantic Cache
  • Loading branch information
cloudjumpercat authored Sep 3, 2024
2 parents 7e436a8 + ce736ab commit 38e7365
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions examples/ai-semantic-cache/_3.8.x.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: ai-semantic-cache
config:
embeddings:
provider: openai
name: text-embedding-3-large
model:
provider: openai
name: text-embedding-3-large
vectordb:
dimensions: 1024
distance_metric: cosine
strategy: redis
threshold: 0.1
dimensions: 3072
threshold: 0.1
distance_metric: cosine
redis:
host: exampleredis.com
port: 80

0 comments on commit 38e7365

Please sign in to comment.