vectocore4 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/mjs/index.js +8 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -130,6 +130,14 @@ class Vectocore {
|
|
|
130
130
|
return response;
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
+
/**
|
|
134
|
+
* 특정 인덱스에 저장된 모든 지식 데이터를 리스트로 가져옵니다.
|
|
135
|
+
* * @param {Object} param0 - 조회 매개변수
|
|
136
|
+
* @param {string} param0.indexName - 데이터를 추출할 **인덱스의 고유 이름**입니다. (필수)
|
|
137
|
+
* @param {boolean} [param0.withVectorValue=false] - 결과 데이터에 **고차원 벡터값(keywords_vector)을 포함할지** 여부입니다.
|
|
138
|
+
* true 설정 시 응답 크기가 커질 수 있습니다.
|
|
139
|
+
* * @returns {Promise<any>} 서버로부터 전달받은 데이터 목록 응답
|
|
140
|
+
*/
|
|
133
141
|
listAllExtremeData(_a) {
|
|
134
142
|
return __awaiter(this, arguments, void 0, function* ({ indexName, withVectorValue }) {
|
|
135
143
|
const requestParam = {
|
package/dist/index.d.ts
CHANGED
|
@@ -173,6 +173,14 @@ export declare class Vectocore {
|
|
|
173
173
|
putExtremeData({ indexName, docBody }: PutExtremeDataParams): Promise<any>;
|
|
174
174
|
getExtremeData({ indexName, documentId }: GetExtremeDataParams): Promise<any>;
|
|
175
175
|
listExtremeData({ indexName, lastKey, withVectorValue }: ListExtremeDataParams): Promise<any>;
|
|
176
|
+
/**
|
|
177
|
+
* 특정 인덱스에 저장된 모든 지식 데이터를 리스트로 가져옵니다.
|
|
178
|
+
* * @param {Object} param0 - 조회 매개변수
|
|
179
|
+
* @param {string} param0.indexName - 데이터를 추출할 **인덱스의 고유 이름**입니다. (필수)
|
|
180
|
+
* @param {boolean} [param0.withVectorValue=false] - 결과 데이터에 **고차원 벡터값(keywords_vector)을 포함할지** 여부입니다.
|
|
181
|
+
* true 설정 시 응답 크기가 커질 수 있습니다.
|
|
182
|
+
* * @returns {Promise<any>} 서버로부터 전달받은 데이터 목록 응답
|
|
183
|
+
*/
|
|
176
184
|
listAllExtremeData({ indexName, withVectorValue }: ListAllExtremeDataParams): Promise<any>;
|
|
177
185
|
deleteExtremeData({ indexName, documentId }: DeleteExtremeDataParams): Promise<any>;
|
|
178
186
|
extremeSearch({ mode, indexNames, question, top, rerank }: ExtremeSearchParams): Promise<any>;
|
package/dist/mjs/index.js
CHANGED
|
@@ -102,6 +102,14 @@ export class Vectocore {
|
|
|
102
102
|
const response = await this.requestPost(requestParam);
|
|
103
103
|
return response;
|
|
104
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* 특정 인덱스에 저장된 모든 지식 데이터를 리스트로 가져옵니다.
|
|
107
|
+
* * @param {Object} param0 - 조회 매개변수
|
|
108
|
+
* @param {string} param0.indexName - 데이터를 추출할 **인덱스의 고유 이름**입니다. (필수)
|
|
109
|
+
* @param {boolean} [param0.withVectorValue=false] - 결과 데이터에 **고차원 벡터값(keywords_vector)을 포함할지** 여부입니다.
|
|
110
|
+
* true 설정 시 응답 크기가 커질 수 있습니다.
|
|
111
|
+
* * @returns {Promise<any>} 서버로부터 전달받은 데이터 목록 응답
|
|
112
|
+
*/
|
|
105
113
|
async listAllExtremeData({ indexName, withVectorValue }) {
|
|
106
114
|
const requestParam = {
|
|
107
115
|
command: "list_all_extreme_data",
|