Skip to content

Commit dbddb74

Browse files
committed
feat(chat) tenancy
1 parent 49493c4 commit dbddb74

File tree

4 files changed

+36
-9
lines changed

4 files changed

+36
-9
lines changed

packages/simba-chat/dist/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ type ChatStatus = "ready" | "submitted" | "streaming" | "error";
1111
interface UseSimbaChatOptions {
1212
apiUrl: string;
1313
apiKey?: string;
14+
organizationId?: string;
1415
collection?: string;
1516
onError?: (error: Error) => void;
1617
onMessage?: (message: ChatMessage) => void;
@@ -25,6 +26,7 @@ interface UseSimbaChatReturn {
2526
interface SimbaChatProps {
2627
apiUrl: string;
2728
apiKey?: string;
29+
organizationId?: string;
2830
collection?: string;
2931
placeholder?: string;
3032
className?: string;
@@ -38,7 +40,7 @@ interface SimbaChatBubbleProps extends SimbaChatProps {
3840
defaultOpen?: boolean;
3941
}
4042

41-
declare function SimbaChat({ apiUrl, apiKey, collection, placeholder, className, style, onError, onMessage, }: SimbaChatProps): react_jsx_runtime.JSX.Element;
43+
declare function SimbaChat({ apiUrl, apiKey, organizationId, collection, placeholder, className, style, onError, onMessage, }: SimbaChatProps): react_jsx_runtime.JSX.Element;
4244

4345
declare function SimbaChatBubble({ position, bubbleIcon, defaultOpen, className, style, ...chatProps }: SimbaChatBubbleProps): react_jsx_runtime.JSX.Element;
4446

packages/simba-chat/dist/index.js

Lines changed: 24 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)