vectocore4 0.0.21 → 0.0.22
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/index.d.ts +7 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -100,12 +100,6 @@ export interface WebSearchParams {
|
|
|
100
100
|
/** 검색어 */
|
|
101
101
|
question: string;
|
|
102
102
|
}
|
|
103
|
-
export type FileType = {
|
|
104
|
-
type: string;
|
|
105
|
-
name: string;
|
|
106
|
-
url: string;
|
|
107
|
-
extImgUrls?: string[];
|
|
108
|
-
};
|
|
109
103
|
type XFinderOptions = {
|
|
110
104
|
/**
|
|
111
105
|
* vector | keyword | hybrid (Default : hybrid)
|
|
@@ -144,6 +138,12 @@ type CustomContextOptions = {
|
|
|
144
138
|
/** 멀티모달 Context로 전송할 이미지 경로 URL */
|
|
145
139
|
imageUrls?: string;
|
|
146
140
|
};
|
|
141
|
+
export type FileType = {
|
|
142
|
+
type: string;
|
|
143
|
+
name: string;
|
|
144
|
+
url: string;
|
|
145
|
+
extImgUrls?: string[];
|
|
146
|
+
};
|
|
147
147
|
export interface LensChatParams {
|
|
148
148
|
/** 사용자 질문 (필수) */
|
|
149
149
|
question: string;
|
|
@@ -165,7 +165,7 @@ export interface LensChatParams {
|
|
|
165
165
|
/** 사용자 멀티모달 이미지 입력 시 자동으로 호출 */
|
|
166
166
|
imageUrls?: string[];
|
|
167
167
|
/** 사용자 멀티모달 파일(페이지별 이미지) 입력 시, 순수 파일을 올릴 수는 없고 별도의 pdf to images 와 같은 전처리 과정을 거쳐 문서의 각 페이지별 이미지 캡쳐본을 올릴 수 있음. 자동으로 호출 */
|
|
168
|
-
fileUrls?:
|
|
168
|
+
fileUrls?: FileType;
|
|
169
169
|
/**
|
|
170
170
|
* 사용자가 직접 정의한 Context 내에서 답변하고자 할 경우 ({@link CustomContextOptions})
|
|
171
171
|
* 해당 파라미터가 있는 경우 Rag를 무시하고 사용자가 입력한 Context 내에서만 답변합니다.
|