@promptbook/openai
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
24 lines (23 loc) • 903 B
TypeScript
import { PromptbookAgentIntegrationProps } from './PromptbookAgentIntegration';
type PromptbookAgentSeamlessIntegrationProps = Omit<PromptbookAgentIntegrationProps, 'formfactor'> & {
/**
* Use iframe instead of implementing the chat directly
*
* When `true`, the chat will be rendered in an iframe pointing to the agent's chat endpoint.
* When `false`, the chat will be rendered directly using React components.
*
* @default false
*/
readonly isIframeUsed?: boolean;
};
/**
* Renders a floating agent button that opens a chat window with the remote agent.
*
* @private component of PromptbookAgentIntegration
*/
export declare function PromptbookAgentSeamlessIntegration(props: PromptbookAgentSeamlessIntegrationProps): import("react/jsx-runtime").JSX.Element;
export {};
/**
* TODO: !!! Load the full branding
* TODO: !!! <promptbook-agent> element
*/