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

Couchbase-typo-fix #116

Merged
merged 2 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading