Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
Couchbase-typo-fix (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrank241 authored Jul 31, 2024
1 parent 655d83f commit 329a848
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
15 changes: 15 additions & 0 deletions examples/applications/query-couchbase/write.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ topics:
creation-mode: create-if-not-exists
errors:
on-failure: skip
assets:
- name: "Couchbase Assets"
asset-type: "couchbase-assets"
creation-mode: create-if-not-exists
deletion-mode: none
config:
datasource: "CouchbaseDatasource" # Index name comes from datasource
username: "PLACEHOLDER"
password: "PLACEHOLDER"
connection_string: "PLACEHOLDER"
bucket: "PLACEHOLDER"
scope: "PLACEHOLDER"
collection: "PLACEHOLDER"
dimension: 1536
port: 8091
pipeline:
- name: "compute-embeddings"
type: "compute-ai-embeddings"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static class InstanceConfig {
"""
Connection string for the instance.
""")
private int coonnection_string;
private int connection_string;

@ConfigProperty(
required = true,
Expand Down Expand Up @@ -111,6 +111,14 @@ public static class InstanceConfig {
The name of the port.
""")
private int port;

@ConfigProperty(
required = true,
description =
"""
The dimension size of the vector.
""")
private int dimension;
}

@Data
Expand Down

0 comments on commit 329a848

Please sign in to comment.