Skip to content

Commit

Permalink
Confluence ingestion error [sc-29555] (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
alyiwang authored Oct 24, 2024
1 parent 8821381 commit d8d7d47
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion metaphor/common/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def map_metadata(

embedding_dict[nodeid] = {
"entityId": nodeid_format,
"documentId": nodeid_format,
"embedding_1": embedding_dict[nodeid],
"pageId": metadata_dict[nodeid]["pageId"],
"lastRefreshed": metadata_dict[nodeid]["lastRefreshed"],
Expand Down
1 change: 0 additions & 1 deletion tests/confluence/expected.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[
{
"entityId": "EXTERNAL_DOCUMENT~5678",
"documentId": "EXTERNAL_DOCUMENT~5678",
"embedding_1": [
0.1,
0.2,
Expand Down
1 change: 0 additions & 1 deletion tests/monday/expected.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[
{
"entityId": "EXTERNAL_DOCUMENT~5678",
"documentId": "EXTERNAL_DOCUMENT~5678",
"embedding_1": [
0.1,
0.2,
Expand Down
1 change: 0 additions & 1 deletion tests/notion/expected.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[
{
"entityId": "EXTERNAL_DOCUMENT~ABCD1234",
"documentId": "EXTERNAL_DOCUMENT~ABCD1234",
"embedding_1": [
0.1,
0.2,
Expand Down
1 change: 0 additions & 1 deletion tests/sharepoint/expected.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[
{
"entityId": "EXTERNAL_DOCUMENT~PAGE123",
"documentId": "EXTERNAL_DOCUMENT~PAGE123",
"embedding_1": [
0.1,
0.2,
Expand Down
1 change: 0 additions & 1 deletion tests/sharepoint/expected_no_text.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[
{
"entityId": "EXTERNAL_DOCUMENT~PAGE123",
"documentId": "EXTERNAL_DOCUMENT~PAGE123",
"embedding_1": [
0.1,
0.2,
Expand Down
1 change: 0 additions & 1 deletion tests/static_web/expected.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[
{
"entityId": "EXTERNAL_DOCUMENT~ABCD1234",
"documentId": "EXTERNAL_DOCUMENT~ABCD1234",
"embedding_1": [
0.1,
0.2,
Expand Down

0 comments on commit d8d7d47

Please sign in to comment.