@foundationui/smart-input
Advanced tools
Comparing version 1.0.60 to 1.0.61
@@ -32,6 +32,6 @@ import React, { HTMLAttributes, MutableRefObject } from 'react'; | ||
/** | ||
* The ID of the user using the input. Providing this helps the model learn a particular user's style. | ||
* You may accomplish the same thing by passing a `userId` property in the `context` object. | ||
* The ID of the user using the input. Providing this helps the model learn a particular user's style, | ||
* including if they prefer not to use completions at all. | ||
*/ | ||
userId?: string | number; | ||
userId?: string; | ||
/** | ||
@@ -38,0 +38,0 @@ * An object that will be passed to the model when fetching completions. This can be used to provide context for the completions. |
@@ -49,3 +49,3 @@ import { ICompletionResponse } from './protocol'; | ||
}): void; | ||
sendEvents: (text: string, context: any) => void; | ||
sendEvents: (text: string, context: any, userId?: string | undefined) => void; | ||
} |
@@ -32,6 +32,6 @@ import React, { HTMLAttributes, MutableRefObject } from 'react'; | ||
/** | ||
* The ID of the user using the input. Providing this helps the model learn a particular user's style. | ||
* You may accomplish the same thing by passing a `userId` property in the `context` object. | ||
* The ID of the user using the input. Providing this helps the model learn a particular user's style, | ||
* including if they prefer not to use completions at all. | ||
*/ | ||
userId?: string | number; | ||
userId?: string; | ||
/** | ||
@@ -38,0 +38,0 @@ * An object that will be passed to the model when fetching completions. This can be used to provide context for the completions. |
@@ -49,3 +49,3 @@ import { ICompletionResponse } from './protocol'; | ||
}): void; | ||
sendEvents: (text: string, context: any) => void; | ||
sendEvents: (text: string, context: any, userId?: string | undefined) => void; | ||
} |
@@ -33,6 +33,6 @@ import React, { HTMLAttributes, MutableRefObject } from 'react'; | ||
/** | ||
* The ID of the user using the input. Providing this helps the model learn a particular user's style. | ||
* You may accomplish the same thing by passing a `userId` property in the `context` object. | ||
* The ID of the user using the input. Providing this helps the model learn a particular user's style, | ||
* including if they prefer not to use completions at all. | ||
*/ | ||
userId?: string | number; | ||
userId?: string; | ||
/** | ||
@@ -39,0 +39,0 @@ * An object that will be passed to the model when fetching completions. This can be used to provide context for the completions. |
@@ -32,6 +32,6 @@ import React, { HTMLAttributes, MutableRefObject } from 'react'; | ||
/** | ||
* The ID of the user using the input. Providing this helps the model learn a particular user's style. | ||
* You may accomplish the same thing by passing a `userId` property in the `context` object. | ||
* The ID of the user using the input. Providing this helps the model learn a particular user's style, | ||
* including if they prefer not to use completions at all. | ||
*/ | ||
userId?: string | number; | ||
userId?: string; | ||
/** | ||
@@ -38,0 +38,0 @@ * An object that will be passed to the model when fetching completions. This can be used to provide context for the completions. |
@@ -49,3 +49,3 @@ import { ICompletionResponse } from './protocol'; | ||
}): void; | ||
sendEvents: (text: string, context: any) => void; | ||
sendEvents: (text: string, context: any, userId?: string | undefined) => void; | ||
} |
{ | ||
"name": "@foundationui/smart-input", | ||
"version": "1.0.60", | ||
"version": "1.0.61", | ||
"description": "Smart input/textarea component for React. Learns to provide inline, tab-completeable suggestions.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
558397