Merge branch 'main' into bump-meilisearch-v1.11.0 #604
pre-release-tests.yml
on: push
meilisearch-version
3s
Matrix: integration_tests
Annotations
21 errors
tests/embedders.test.ts > Test on embedders > Master key: Update embedders with 'openAi' source:
tests/embedders.test.ts#L130
AssertionError: expected { default: { source: 'openAi', …(7) } } to deeply equal { default: { source: 'openAi', …(6) } }
- Expected
+ Received
Object {
"default": Object {
"apiKey": "<yoXXXXX...",
"dimensions": 1536,
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "A movie titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}",
+ "documentTemplateMaxBytes": 400,
"model": "text-embedding-3-small",
"source": "openAi",
"url": "https://api.openai.com/v1/embeddings",
},
}
❯ tests/embedders.test.ts:130:24
|
tests/embedders.test.ts > Test on embedders > Master key: Update embedders with 'huggingFace' source:
tests/embedders.test.ts#L159
AssertionError: expected { default: { …(5) } } to deeply equal { default: { …(4) } }
- Expected
+ Received
Object {
"default": Object {
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "A movie titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}",
+ "documentTemplateMaxBytes": 400,
"model": "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
"source": "huggingFace",
},
}
❯ tests/embedders.test.ts:159:24
|
tests/embedders.test.ts > Test on embedders > Master key: Update embedders with 'rest' source:
tests/embedders.test.ts#L200
AssertionError: expected { default: { source: 'rest', …(9) } } to deeply equal { default: { source: 'rest', …(8) } }
- Expected
+ Received
Object {
"default": Object {
"apiKey": "<yoXXXXX...",
"dimensions": 1536,
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "A movie titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}",
+ "documentTemplateMaxBytes": 400,
"headers": Object {
"Custom-Header": "CustomValue",
},
"request": Object {
"input": Array [
"{{text}}",
"{{..}}",
],
"model": "text-embedding-3-small",
},
"response": Object {
"data": Array [
Object {
"embedding": "{{embedding}}",
},
"{{..}}",
],
},
"source": "rest",
"url": "https://api.openai.com/v1/embeddings",
},
}
❯ tests/embedders.test.ts:200:24
|
tests/embedders.test.ts > Test on embedders > Master key: Update embedders with 'ollama' source:
tests/embedders.test.ts#L231
AssertionError: expected { default: { source: 'ollama', …(7) } } to deeply equal { default: { source: 'ollama', …(6) } }
- Expected
+ Received
Object {
"default": Object {
"apiKey": "<yoXXXXX...",
"dimensions": 512,
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "blabla",
+ "documentTemplateMaxBytes": 400,
"model": "nomic-embed-text",
"source": "ollama",
"url": "http://localhost:11434/api/embeddings",
},
}
❯ tests/embedders.test.ts:231:24
|
tests/embedders.test.ts > Test on embedders > Master key: search for similar documents:
src/http-requests.ts#L168
MeiliSearchApiError: Missing field `embedder`
❯ HttpRequests.request src/http-requests.ts:168:13
❯ HttpRequests.post src/http-requests.ts:245:12
❯ Index.searchSimilarDocuments src/indexes.ts:195:12
❯ tests/embedders.test.ts:290:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { constructor: 'Function<Response>', type: 'basic', url: 'http://127.0.0.1:7700/indexes/movies_test/similar', redirected: false, status: 400, ok: false, statusText: 'Bad Request', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>' } }
|
tests/embedders.test.ts > Test on embedders > Admin key: Update embedders with 'openAi' source:
tests/embedders.test.ts#L130
AssertionError: expected { default: { source: 'openAi', …(7) } } to deeply equal { default: { source: 'openAi', …(6) } }
- Expected
+ Received
Object {
"default": Object {
"apiKey": "<yoXXXXX...",
"dimensions": 1536,
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "A movie titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}",
+ "documentTemplateMaxBytes": 400,
"model": "text-embedding-3-small",
"source": "openAi",
"url": "https://api.openai.com/v1/embeddings",
},
}
❯ tests/embedders.test.ts:130:24
|
tests/embedders.test.ts > Test on embedders > Admin key: Update embedders with 'huggingFace' source:
tests/embedders.test.ts#L159
AssertionError: expected { default: { …(5) } } to deeply equal { default: { …(4) } }
- Expected
+ Received
Object {
"default": Object {
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "A movie titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}",
+ "documentTemplateMaxBytes": 400,
"model": "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
"source": "huggingFace",
},
}
❯ tests/embedders.test.ts:159:24
|
tests/embedders.test.ts > Test on embedders > Admin key: Update embedders with 'rest' source:
tests/embedders.test.ts#L200
AssertionError: expected { default: { source: 'rest', …(9) } } to deeply equal { default: { source: 'rest', …(8) } }
- Expected
+ Received
Object {
"default": Object {
"apiKey": "<yoXXXXX...",
"dimensions": 1536,
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "A movie titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}",
+ "documentTemplateMaxBytes": 400,
"headers": Object {
"Custom-Header": "CustomValue",
},
"request": Object {
"input": Array [
"{{text}}",
"{{..}}",
],
"model": "text-embedding-3-small",
},
"response": Object {
"data": Array [
Object {
"embedding": "{{embedding}}",
},
"{{..}}",
],
},
"source": "rest",
"url": "https://api.openai.com/v1/embeddings",
},
}
❯ tests/embedders.test.ts:200:24
|
tests/embedders.test.ts > Test on embedders > Admin key: Update embedders with 'ollama' source:
tests/embedders.test.ts#L231
AssertionError: expected { default: { source: 'ollama', …(7) } } to deeply equal { default: { source: 'ollama', …(6) } }
- Expected
+ Received
Object {
"default": Object {
"apiKey": "<yoXXXXX...",
"dimensions": 512,
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "blabla",
+ "documentTemplateMaxBytes": 400,
"model": "nomic-embed-text",
"source": "ollama",
"url": "http://localhost:11434/api/embeddings",
},
}
❯ tests/embedders.test.ts:231:24
|
tests/embedders.test.ts > Test on embedders > Admin key: search for similar documents:
src/http-requests.ts#L168
MeiliSearchApiError: Missing field `embedder`
❯ HttpRequests.request src/http-requests.ts:168:13
❯ HttpRequests.post src/http-requests.ts:245:12
❯ Index.searchSimilarDocuments src/indexes.ts:195:12
❯ tests/embedders.test.ts:290:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { constructor: 'Function<Response>', type: 'basic', url: 'http://127.0.0.1:7700/indexes/movies_test/similar', redirected: false, status: 400, ok: false, statusText: 'Bad Request', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>' } }
|
integration-tests (Node.js 20)
The job was canceled because "_18" failed.
|
tests/embedders.test.ts > Test on embedders > Master key: Update embedders with 'openAi' source:
tests/embedders.test.ts#L130
AssertionError: expected { default: { source: 'openAi', …(7) } } to deeply equal { default: { source: 'openAi', …(6) } }
- Expected
+ Received
Object {
"default": Object {
"apiKey": "<yoXXXXX...",
"dimensions": 1536,
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "A movie titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}",
+ "documentTemplateMaxBytes": 400,
"model": "text-embedding-3-small",
"source": "openAi",
"url": "https://api.openai.com/v1/embeddings",
},
}
❯ tests/embedders.test.ts:130:24
|
tests/embedders.test.ts > Test on embedders > Master key: Update embedders with 'huggingFace' source:
tests/embedders.test.ts#L159
AssertionError: expected { default: { …(5) } } to deeply equal { default: { …(4) } }
- Expected
+ Received
Object {
"default": Object {
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "A movie titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}",
+ "documentTemplateMaxBytes": 400,
"model": "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
"source": "huggingFace",
},
}
❯ tests/embedders.test.ts:159:24
|
tests/embedders.test.ts > Test on embedders > Master key: Update embedders with 'rest' source:
tests/embedders.test.ts#L200
AssertionError: expected { default: { source: 'rest', …(9) } } to deeply equal { default: { source: 'rest', …(8) } }
- Expected
+ Received
Object {
"default": Object {
"apiKey": "<yoXXXXX...",
"dimensions": 1536,
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "A movie titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}",
+ "documentTemplateMaxBytes": 400,
"headers": Object {
"Custom-Header": "CustomValue",
},
"request": Object {
"input": Array [
"{{text}}",
"{{..}}",
],
"model": "text-embedding-3-small",
},
"response": Object {
"data": Array [
Object {
"embedding": "{{embedding}}",
},
"{{..}}",
],
},
"source": "rest",
"url": "https://api.openai.com/v1/embeddings",
},
}
❯ tests/embedders.test.ts:200:24
|
tests/embedders.test.ts > Test on embedders > Master key: Update embedders with 'ollama' source:
tests/embedders.test.ts#L231
AssertionError: expected { default: { source: 'ollama', …(7) } } to deeply equal { default: { source: 'ollama', …(6) } }
- Expected
+ Received
Object {
"default": Object {
"apiKey": "<yoXXXXX...",
"dimensions": 512,
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "blabla",
+ "documentTemplateMaxBytes": 400,
"model": "nomic-embed-text",
"source": "ollama",
"url": "http://localhost:11434/api/embeddings",
},
}
❯ tests/embedders.test.ts:231:24
|
tests/embedders.test.ts > Test on embedders > Master key: search for similar documents:
src/http-requests.ts#L168
MeiliSearchApiError: Missing field `embedder`
❯ HttpRequests.request src/http-requests.ts:168:13
❯ HttpRequests.post src/http-requests.ts:245:12
❯ Index.searchSimilarDocuments src/indexes.ts:195:12
❯ tests/embedders.test.ts:290:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { constructor: 'Function<Response>', type: 'basic', url: 'http://127.0.0.1:7700/indexes/movies_test/similar', redirected: false, status: 400, ok: false, statusText: 'Bad Request', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' } }
|
tests/embedders.test.ts > Test on embedders > Admin key: Update embedders with 'openAi' source:
tests/embedders.test.ts#L130
AssertionError: expected { default: { source: 'openAi', …(7) } } to deeply equal { default: { source: 'openAi', …(6) } }
- Expected
+ Received
Object {
"default": Object {
"apiKey": "<yoXXXXX...",
"dimensions": 1536,
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "A movie titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}",
+ "documentTemplateMaxBytes": 400,
"model": "text-embedding-3-small",
"source": "openAi",
"url": "https://api.openai.com/v1/embeddings",
},
}
❯ tests/embedders.test.ts:130:24
|
tests/embedders.test.ts > Test on embedders > Admin key: Update embedders with 'huggingFace' source:
tests/embedders.test.ts#L159
AssertionError: expected { default: { …(5) } } to deeply equal { default: { …(4) } }
- Expected
+ Received
Object {
"default": Object {
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "A movie titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}",
+ "documentTemplateMaxBytes": 400,
"model": "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
"source": "huggingFace",
},
}
❯ tests/embedders.test.ts:159:24
|
tests/embedders.test.ts > Test on embedders > Admin key: Update embedders with 'rest' source:
tests/embedders.test.ts#L200
AssertionError: expected { default: { source: 'rest', …(9) } } to deeply equal { default: { source: 'rest', …(8) } }
- Expected
+ Received
Object {
"default": Object {
"apiKey": "<yoXXXXX...",
"dimensions": 1536,
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "A movie titled '{{doc.title}}' whose description starts with {{doc.overview|truncatewords: 20}}",
+ "documentTemplateMaxBytes": 400,
"headers": Object {
"Custom-Header": "CustomValue",
},
"request": Object {
"input": Array [
"{{text}}",
"{{..}}",
],
"model": "text-embedding-3-small",
},
"response": Object {
"data": Array [
Object {
"embedding": "{{embedding}}",
},
"{{..}}",
],
},
"source": "rest",
"url": "https://api.openai.com/v1/embeddings",
},
}
❯ tests/embedders.test.ts:200:24
|
tests/embedders.test.ts > Test on embedders > Admin key: Update embedders with 'ollama' source:
tests/embedders.test.ts#L231
AssertionError: expected { default: { source: 'ollama', …(7) } } to deeply equal { default: { source: 'ollama', …(6) } }
- Expected
+ Received
Object {
"default": Object {
"apiKey": "<yoXXXXX...",
"dimensions": 512,
"distribution": Object {
"mean": 0.7,
"sigma": 0.3,
},
"documentTemplate": "blabla",
+ "documentTemplateMaxBytes": 400,
"model": "nomic-embed-text",
"source": "ollama",
"url": "http://localhost:11434/api/embeddings",
},
}
❯ tests/embedders.test.ts:231:24
|
tests/embedders.test.ts > Test on embedders > Admin key: search for similar documents:
src/http-requests.ts#L168
MeiliSearchApiError: Missing field `embedder`
❯ HttpRequests.request src/http-requests.ts:168:13
❯ HttpRequests.post src/http-requests.ts:245:12
❯ Index.searchSimilarDocuments src/indexes.ts:195:12
❯ tests/embedders.test.ts:290:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { constructor: 'Function<Response>', type: 'basic', url: 'http://127.0.0.1:7700/indexes/movies_test/similar', redirected: false, status: 400, ok: false, statusText: 'Bad Request', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' } }
|