@deepdesk/deepdesk-sdk 10.1.9 → 10.1.10

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.mts CHANGED
@@ -23,11 +23,11 @@ type ContentProps = {
23
23
  className?: string;
24
24
  lineClamp?: boolean;
25
25
  };
26
- type TitleProps = {
26
+ interface TitleProps extends React.HTMLProps<HTMLHeadingElement> {
27
27
  cropText?: boolean;
28
28
  className?: string;
29
29
  as?: string;
30
- };
30
+ }
31
31
  interface CardComposition {
32
32
  Image: FC<ImageProps>;
33
33
  Content: FC<ContentProps>;
@@ -983,8 +983,8 @@ declare namespace Server {
983
983
  summarizer: boolean;
984
984
  summarizer_prompt_instruction: string;
985
985
  summarizer_model: string;
986
- knowledge_search: boolean;
987
- knowledge_search_prompt_instruction: string;
986
+ knowledge_assist_for_agents: boolean;
987
+ knowledge_assist_prompt_instruction: string;
988
988
  ui_config: {
989
989
  widget: {
990
990
  types: Array<{
@@ -1183,7 +1183,7 @@ declare class DeepdeskAPI {
1183
1183
  * Search
1184
1184
  */
1185
1185
  search(params: SearchOptions): Promise<CamelCaseKeys<Server.SearchResultsData>>;
1186
- knowledgeSearch(request: KnowledgeRequest, chatHistory: KnowledgeResponse[], profile: string): Promise<CamelCaseKeys<KnowledgeAnswer>>;
1186
+ knowledgeAssist(request: KnowledgeRequest, chatHistory: KnowledgeResponse[], profile: string): Promise<CamelCaseKeys<KnowledgeAnswer>>;
1187
1187
  requestLoginByEmail(email: string): Promise<{
1188
1188
  code: string;
1189
1189
  message: string;
package/dist/index.d.ts CHANGED
@@ -23,11 +23,11 @@ type ContentProps = {
23
23
  className?: string;
24
24
  lineClamp?: boolean;
25
25
  };
26
- type TitleProps = {
26
+ interface TitleProps extends React.HTMLProps<HTMLHeadingElement> {
27
27
  cropText?: boolean;
28
28
  className?: string;
29
29
  as?: string;
30
- };
30
+ }
31
31
  interface CardComposition {
32
32
  Image: FC<ImageProps>;
33
33
  Content: FC<ContentProps>;
@@ -983,8 +983,8 @@ declare namespace Server {
983
983
  summarizer: boolean;
984
984
  summarizer_prompt_instruction: string;
985
985
  summarizer_model: string;
986
- knowledge_search: boolean;
987
- knowledge_search_prompt_instruction: string;
986
+ knowledge_assist_for_agents: boolean;
987
+ knowledge_assist_prompt_instruction: string;
988
988
  ui_config: {
989
989
  widget: {
990
990
  types: Array<{
@@ -1183,7 +1183,7 @@ declare class DeepdeskAPI {
1183
1183
  * Search
1184
1184
  */
1185
1185
  search(params: SearchOptions): Promise<CamelCaseKeys<Server.SearchResultsData>>;
1186
- knowledgeSearch(request: KnowledgeRequest, chatHistory: KnowledgeResponse[], profile: string): Promise<CamelCaseKeys<KnowledgeAnswer>>;
1186
+ knowledgeAssist(request: KnowledgeRequest, chatHistory: KnowledgeResponse[], profile: string): Promise<CamelCaseKeys<KnowledgeAnswer>>;
1187
1187
  requestLoginByEmail(email: string): Promise<{
1188
1188
  code: string;
1189
1189
  message: string;