Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi committed Nov 17, 2023
1 parent dba3e36 commit d414d61
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples/applications/chatbot-rag-memory/chatbot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,6 @@ pipeline:
input: "${globals.logTopic}"
configuration:
datasource: "AstraVector"
table: "${globals.vectorKeyspace}.${globals.chatTable}"
table-name: "${globals.chatTable}"
keyspace: "${globals.vectorKeyspace}"
mapping: "sessionid=value.sessionid,question=value.questionNoContext,answer=value.answer,prompt=value.prompt,timestamp=now()"
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ pipeline:
input: "${globals.chunksTopic}"
configuration:
datasource: "AstraVector"
table: "${globals.vectorKeyspace}.${globals.vectorTable}"
table-name: "${globals.vectorKeyspace}.${globals.vectorTable}"
mapping: "filename=value.filename, chunk_id=value.chunk_id, language=value.language, text=value.text, embeddings_vector=value.embeddings_vector, num_tokens=value.chunk_num_tokens"
2 changes: 1 addition & 1 deletion examples/applications/rag-aws/ingest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pipeline:
configuration:
fields:
- name: "value.filename"
expression: "properties.url"
expression: "properties.name"
type: STRING
- name: "compute-embeddings"
type: "compute-ai-embeddings"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ public void testDocumentation() {
"vector-db-sink_pinecone" : {
"type" : "vector-db-sink",
"name" : "Pinecone",
"description" : "Writes data to Pinecone service.",
"description" : "Writes data to Pinecone service.\\n To add metadata fields you can add vector.metadata.my-field: \\"value.my-field\\". The value is a JSTL Expression to compute the actual value.",
"properties" : {
"datasource" : {
"description" : "Resource id. The target resource must be type: 'datasource' or 'vector-database' and service: 'pinecone'.",
Expand Down

0 comments on commit d414d61

Please sign in to comment.