import{R as u}from"./vendor-ClLR6ncd.js";import{g as s}from"./model-BneMh0-t.js";import{E as i,i as l}from"./index-OtVJl4GC.js";import"./lodash-ZyeDnt0e.js";const o=e=>`<franz:${e}>`,t=[];function r(){const e=i(["lookup-llm"],()=>l({url:"/lookup-llm"}));return Array.isArray(e.data)?e.data:t}function m(){return r().map(({vendor:e})=>o(e))}function p(){const e=s();return Array.isArray(e.data)?e.data.flatMap(({options:a})=>a.map(({value:n})=>o(n))):t}function d(){return r().flatMap(({"chat-models":e=[]})=>e.map(({model:a})=>o(a)))}const f=[{name:"cancelQueryOnWarnings",options:["yes","no"],defaultValue:"no"},{name:"chunkProcessingAllowed",options:["possibly","yes","no"],defaultValue:"possibly"},{name:"chunkProcessingMemory"},{name:"clauseReorderer"},{name:"defaultAttributes"},{name:"defaultDatasetBehavior",options:["all","rdf","default"],defaultValue:"all"},{name:"diskChunkRowCount"},{name:"engine",options:["mjqe","sbqe"],defaultValue:"sbqe"},{name:"logBacktraceOnQueryFailure",options:["yes","no"],defaultValue:"no"},{name:"logLineLength"},{name:"logQuery",options:["yes","no","onFailure"],defaultValue:"no"},{name:"maximumSolutionsSize"},{name:"maximumValuesCountForService"},{name:"memoryExhaustionWarningPercentage"},{name:"memoryLimit"},{name:"openaiApiKey"},{name:"claudeApiKey"},{name:"geminiApiKey"},{name:"groqApiKey"},{name:"deepseekApiKey"},{name:"azureApiKey"},{name:"azureEndpointUrl"},{name:"databricksApiKey"},{name:"databricksEndpointUrl"},{name:"presentationTimeZone"},{name:"profileOutlineDepth"},{name:"profileOutputFormat",options:["call-graph","flat","outline"],defaultValue:"flat"},{name:"profileQuery",options:["no","space","time"],defaultValue:"no"},{name:"queryTimeout"},{name:"reorderDuringExecution",options:["yes","no"],defaultValue:"no"},{name:"serviceTimeout"},{name:"slowQueryLogThreshold"},{name:"solrQueryLimit"},{name:"temporaryFilesystemSpaceLimit"},{name:"trustEncodedDatatypesForRangeQueries",options:["yes","no"],defaultValue:"yes"},{name:"trustPredicateTypeMappingsForRangeQueries",options:["yes","no"],defaultValue:"yes"},{name:"usePredicateConstrainedUpiTypeInformation",options:["yes","no"],defaultValue:"yes"},{name:"usePredicateConstrainedXsdTypeInformation",options:["yes","no"],defaultValue:"no"},{name:"userAttributes"},{name:"ollamaScheme",defaultValue:"<franz:http>"},{name:"ollamaHost",defaultValue:"<franz:localhost>"},{name:"ollamaPort",defaultValue:"<franz:11434>"},{name:"llmVendor",useOptions:m},{name:"llmChatModel",useOptions:d},{name:"llmEmbeddingModel",useOptions:p},{name:"llmEmbeddingLength"}];function h(){const e=u.useRef({});for(const{name:a,useOptions:n}of f)n&&(e.current[a]=n());return e}export{f as o,h as u};
