import{D as o,e as h,j as p}from"./vendor-ClLR6ncd.js";import{_ as d,o as c}from"./lodash-ZyeDnt0e.js";import{C as u}from"./CreateOrUpdateChatBot-Df39A3lK.js";import{b as l,L as y}from"./index-OtVJl4GC.js";import{d as f}from"./model-B1_e74fU.js";import"./Messages-BRmQDxrZ.js";import"./index-BpKmttxq.js";import"./model-mC-LLJuv.js";import"./NumberInput-DP8_DN2w.js";import"./index-PJ52zw2m.js";import"./model-C9Idzwgo.js";import"./model-DAvH-x8m.js";import"./model-BneMh0-t.js";import"./model-DgFcCvKB.js";import"./ui-DG_5mJZa.js";import"./SmallStandardSelect-7k6-Wr8Q.js";import"./MenuItem-CCerWMyq.js";import"./dividerClasses-DvO85-mA.js";import"./Visibility-DBeRDmOx.js";import"./InputAdornment-CFoDSQyQ.js";import"./model-CvVGVe3F.js";import"./Autocomplete-Cjt7Q9VV.js";import"./Chip-DoCs8Smb.js";import"./AccordionDetails-Bqc4B-Ut.js";import"./model-Cx9iH8L7.js";import"./model-Dfrorm_S.js";import"./highlightSearch-BTHB3jgf.js";import"./WithMeasure-BDk9QPMF.js";import"./TableRow-CGDSOtFZ.js";import"./TableSortLabel-BJFq2axQ.js";import"./Box-Co2WcNPC.js";import"./TypographyWithTooltip-BFAG3Va9.js";import"./Link-BLwKPJFF.js";function G(){var n,a;const{catalogId:r}=l(),i=f(),s="My-Chat-Bot",m=`${s}-${o(5)}`,e=h(),t=d({},c(e.state,["id"]),{id:(n=e.state)!=null&&n.id?`${(a=e.state)==null?void 0:a.id}-copy-${o(5)}`:m,bot:s,human:"Client",windowSize:8,windowOverlap:2,storyFmtString:"Here is a transcript of the current conversation so far: {FEED}",historyMatchFmtString:"{FEED} {HUMAN}: {QUERY}",historyHintsFmtString:"Here is a list of citation IDs and hints about how {BOT} should respond, based on his previous conversation with  {HUMAN}: {HISTORY_MATCHES}.  When appropriate {BOT} should mention recollections of this prior conversations.",noHistoryHintsString:"The current conversation is unrelated to any prior conversations with {HUMAN}",expertiseMatchFmtString:"{QUERY}",expertiseHintsFmtString:"Here is a list of citation IDs and hints about how {BOT} should respond, based on his knowledge and experience.  Base your response on the style of the {BOT}'s responses in these hints: {EXPERTISE_MATCHES}",noExpertiseHintsString:"No Expertise Found.",stateFmtString:"{HUMAN} asks about {BOT} specific knowledge. Here is the appropriate knowledge relative to the question {EXPERTISE_HINTS}. Here are relative previous questions from the user {HISTORY_HINTS}. Here is the transcription between {HUMAN} and {BOT}: {FEED}. Now {HUMAN} says '{QUERY}'. State an appropriate response for {BOT} in the first person. Please use only information from the appropriate knowledge or the transcription between {HUMAN} and {BOT}. Please insert the full quote of appropriate knowledge in the response and do NOT insert quote of previous questions or responses. It's very important to include quotes for appropriate knowledge only! Include only {BOT}'s utterance in the response. You only have 20 seconds to reply.",noResponseString:"I have no answer for that based on my expertise or experience.",noStoryString:"No story yet",expertiseMinScore:.8,expertiseMaxMatches:2,historyMinScore:.8,historyMaxMatches:2});return t.hvdb=`${r==="/"?"":`${r}:`}${t.id.slice(0,-6).replace(/\s+/g,"-").toLowerCase()}-history-vdb-${o(5)}`,i===null?p.jsx(y,{}):(t.apiKey=i,p.jsx(u,{isNew:!0,...t}))}export{G as default};
