From 42873fd3906e07e97ea70a573e2967cb6c30ff5c Mon Sep 17 00:00:00 2001 From: <> Date: Thu, 6 Jul 2023 20:40:43 +0000 Subject: [PATCH] Deployed 7d05a80 with MkDocs version: 1.4.3 --- .nojekyll | 0 404.html | 465 ++ CNAME | 1 + assets/_mkdocstrings.css | 64 + assets/images/favicon.png | Bin 0 -> 1870 bytes assets/javascripts/bundle.220ee61c.min.js | 29 + assets/javascripts/bundle.220ee61c.min.js.map | 8 + assets/javascripts/lunr/min/lunr.ar.min.js | 1 + assets/javascripts/lunr/min/lunr.da.min.js | 18 + assets/javascripts/lunr/min/lunr.de.min.js | 18 + assets/javascripts/lunr/min/lunr.du.min.js | 18 + assets/javascripts/lunr/min/lunr.es.min.js | 18 + assets/javascripts/lunr/min/lunr.fi.min.js | 18 + assets/javascripts/lunr/min/lunr.fr.min.js | 18 + assets/javascripts/lunr/min/lunr.hi.min.js | 1 + assets/javascripts/lunr/min/lunr.hu.min.js | 18 + assets/javascripts/lunr/min/lunr.hy.min.js | 1 + assets/javascripts/lunr/min/lunr.it.min.js | 18 + assets/javascripts/lunr/min/lunr.ja.min.js | 1 + assets/javascripts/lunr/min/lunr.jp.min.js | 1 + assets/javascripts/lunr/min/lunr.kn.min.js | 1 + assets/javascripts/lunr/min/lunr.ko.min.js | 1 + assets/javascripts/lunr/min/lunr.multi.min.js | 1 + assets/javascripts/lunr/min/lunr.nl.min.js | 18 + assets/javascripts/lunr/min/lunr.no.min.js | 18 + assets/javascripts/lunr/min/lunr.pt.min.js | 18 + assets/javascripts/lunr/min/lunr.ro.min.js | 18 + assets/javascripts/lunr/min/lunr.ru.min.js | 18 + assets/javascripts/lunr/min/lunr.sa.min.js | 1 + .../lunr/min/lunr.stemmer.support.min.js | 1 + assets/javascripts/lunr/min/lunr.sv.min.js | 18 + assets/javascripts/lunr/min/lunr.ta.min.js | 1 + assets/javascripts/lunr/min/lunr.te.min.js | 1 + assets/javascripts/lunr/min/lunr.th.min.js | 1 + assets/javascripts/lunr/min/lunr.tr.min.js | 18 + assets/javascripts/lunr/min/lunr.vi.min.js | 1 + assets/javascripts/lunr/min/lunr.zh.min.js | 1 + assets/javascripts/lunr/tinyseg.js | 206 + assets/javascripts/lunr/wordcut.js | 6708 +++++++++++++++++ .../workers/search.74e28a9f.min.js | 42 + .../workers/search.74e28a9f.min.js.map | 8 + assets/stylesheets/main.26e3688c.min.css | 1 + assets/stylesheets/main.26e3688c.min.css.map | 1 + assets/stylesheets/palette.ecc896b0.min.css | 1 + .../stylesheets/palette.ecc896b0.min.css.map | 1 + getting-started/index.html | 700 ++ index.html | 574 ++ jupyter/index.html | 653 ++ objects.inv | 6 + onboarding/index.html | 602 ++ pricing/index.html | 517 ++ reference/index.html | 2144 ++++++ search.js | 46 + search/search_index.json | 1 + sitemap.xml | 3 + sitemap.xml.gz | Bin 0 -> 127 bytes slack/index.html | 482 ++ slides.html | 63 + streamlit/index.html | 565 ++ stylesheets/extra.css | 23 + support/index.html | 495 ++ vanna-py-overview/index.html | 553 ++ vanna.html | 786 ++ vanna/types.html | 1717 +++++ workflow/index.html | 511 ++ 65 files changed, 18261 insertions(+) create mode 100644 .nojekyll create mode 100644 404.html create mode 100644 CNAME create mode 100644 assets/_mkdocstrings.css create mode 100644 assets/images/favicon.png create mode 100644 assets/javascripts/bundle.220ee61c.min.js create mode 100644 assets/javascripts/bundle.220ee61c.min.js.map create mode 100644 assets/javascripts/lunr/min/lunr.ar.min.js create mode 100644 assets/javascripts/lunr/min/lunr.da.min.js create mode 100644 assets/javascripts/lunr/min/lunr.de.min.js create mode 100644 assets/javascripts/lunr/min/lunr.du.min.js create mode 100644 assets/javascripts/lunr/min/lunr.es.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hu.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hy.min.js create mode 100644 assets/javascripts/lunr/min/lunr.it.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ja.min.js create mode 100644 assets/javascripts/lunr/min/lunr.jp.min.js create mode 100644 assets/javascripts/lunr/min/lunr.kn.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ko.min.js create mode 100644 assets/javascripts/lunr/min/lunr.multi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.nl.min.js create mode 100644 assets/javascripts/lunr/min/lunr.no.min.js create mode 100644 assets/javascripts/lunr/min/lunr.pt.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ro.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ru.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sa.min.js create mode 100644 assets/javascripts/lunr/min/lunr.stemmer.support.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sv.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ta.min.js create mode 100644 assets/javascripts/lunr/min/lunr.te.min.js create mode 100644 assets/javascripts/lunr/min/lunr.th.min.js create mode 100644 assets/javascripts/lunr/min/lunr.tr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.vi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.zh.min.js create mode 100644 assets/javascripts/lunr/tinyseg.js create mode 100644 assets/javascripts/lunr/wordcut.js create mode 100644 assets/javascripts/workers/search.74e28a9f.min.js create mode 100644 assets/javascripts/workers/search.74e28a9f.min.js.map create mode 100644 assets/stylesheets/main.26e3688c.min.css create mode 100644 assets/stylesheets/main.26e3688c.min.css.map create mode 100644 assets/stylesheets/palette.ecc896b0.min.css create mode 100644 assets/stylesheets/palette.ecc896b0.min.css.map create mode 100644 getting-started/index.html create mode 100644 index.html create mode 100644 jupyter/index.html create mode 100644 objects.inv create mode 100644 onboarding/index.html create mode 100644 pricing/index.html create mode 100644 reference/index.html create mode 100644 search.js create mode 100644 search/search_index.json create mode 100644 sitemap.xml create mode 100644 sitemap.xml.gz create mode 100644 slack/index.html create mode 100644 slides.html create mode 100644 streamlit/index.html create mode 100644 stylesheets/extra.css create mode 100644 support/index.html create mode 100644 vanna-py-overview/index.html create mode 100644 vanna.html create mode 100644 vanna/types.html create mode 100644 workflow/index.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/404.html b/404.html new file mode 100644 index 000000000..c1038cc55 --- /dev/null +++ b/404.html @@ -0,0 +1,465 @@ + + + + + + + + + + + + + + + + + + Vanna.AI Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ +

404 - Not found

+ +
+
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 000000000..ad1c2a237 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +docs.vanna.ai \ No newline at end of file diff --git a/assets/_mkdocstrings.css b/assets/_mkdocstrings.css new file mode 100644 index 000000000..049a254b9 --- /dev/null +++ b/assets/_mkdocstrings.css @@ -0,0 +1,64 @@ + +/* Avoid breaking parameter names, etc. in table cells. */ +.doc-contents td code { + word-break: normal !important; +} + +/* No line break before first paragraph of descriptions. */ +.doc-md-description, +.doc-md-description>p:first-child { + display: inline; +} + +/* Max width for docstring sections tables. */ +.doc .md-typeset__table, +.doc .md-typeset__table table { + display: table !important; + width: 100%; +} + +.doc .md-typeset__table tr { + display: table-row; +} + +/* Defaults in Spacy table style. */ +.doc-param-default { + float: right; +} + +/* Keep headings consistent. */ +h1.doc-heading, +h2.doc-heading, +h3.doc-heading, +h4.doc-heading, +h5.doc-heading, +h6.doc-heading { + font-weight: 400; + line-height: 1.5; + color: inherit; + text-transform: none; +} + +h1.doc-heading { + font-size: 1.6rem; +} + +h2.doc-heading { + font-size: 1.2rem; +} + +h3.doc-heading { + font-size: 1.15rem; +} + +h4.doc-heading { + font-size: 1.10rem; +} + +h5.doc-heading { + font-size: 1.05rem; +} + +h6.doc-heading { + font-size: 1rem; +} \ No newline at end of file diff --git a/assets/images/favicon.png b/assets/images/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..1cf13b9f9d978896599290a74f77d5dbe7d1655c GIT binary patch literal 1870 zcmV-U2eJ5xP)Gc)JR9QMau)O=X#!i9;T z37kk-upj^(fsR36MHs_+1RCI)NNu9}lD0S{B^g8PN?Ww(5|~L#Ng*g{WsqleV}|#l zz8@ri&cTzw_h33bHI+12+kK6WN$h#n5cD8OQt`5kw6p~9H3()bUQ8OS4Q4HTQ=1Ol z_JAocz`fLbT2^{`8n~UAo=#AUOf=SOq4pYkt;XbC&f#7lb$*7=$na!mWCQ`dBQsO0 zLFBSPj*N?#u5&pf2t4XjEGH|=pPQ8xh7tpx;US5Cx_Ju;!O`ya-yF`)b%TEt5>eP1ZX~}sjjA%FJF?h7cX8=b!DZl<6%Cv z*G0uvvU+vmnpLZ2paivG-(cd*y3$hCIcsZcYOGh{$&)A6*XX&kXZd3G8m)G$Zz-LV z^GF3VAW^Mdv!)4OM8EgqRiz~*Cji;uzl2uC9^=8I84vNp;ltJ|q-*uQwGp2ma6cY7 z;`%`!9UXO@fr&Ebapfs34OmS9^u6$)bJxrucutf>`dKPKT%%*d3XlFVKunp9 zasduxjrjs>f8V=D|J=XNZp;_Zy^WgQ$9WDjgY=z@stwiEBm9u5*|34&1Na8BMjjgf3+SHcr`5~>oz1Y?SW^=K z^bTyO6>Gar#P_W2gEMwq)ot3; zREHn~U&Dp0l6YT0&k-wLwYjb?5zGK`W6S2v+K>AM(95m2C20L|3m~rN8dprPr@t)5lsk9Hu*W z?pS990s;Ez=+Rj{x7p``4>+c0G5^pYnB1^!TL=(?HLHZ+HicG{~4F1d^5Awl_2!1jICM-!9eoLhbbT^;yHcefyTAaqRcY zmuctDopPT!%k+}x%lZRKnzykr2}}XfG_ne?nRQO~?%hkzo;@RN{P6o`&mMUWBYMTe z6i8ChtjX&gXl`nvrU>jah)2iNM%JdjqoaeaU%yVn!^70x-flljp6Q5tK}5}&X8&&G zX3fpb3E(!rH=zVI_9Gjl45w@{(ITqngWFe7@9{mX;tO25Z_8 zQHEpI+FkTU#4xu>RkN>b3Tnc3UpWzPXWm#o55GKF09j^Mh~)K7{QqbO_~(@CVq! zS<8954|P8mXN2MRs86xZ&Q4EfM@JB94b=(YGuk)s&^jiSF=t3*oNK3`rD{H`yQ?d; ztE=laAUoZx5?RC8*WKOj`%LXEkgDd>&^Q4M^z`%u0rg-It=hLCVsq!Z%^6eB-OvOT zFZ28TN&cRmgU}Elrnk43)!>Z1FCPL2K$7}gwzIc48NX}#!A1BpJP?#v5wkNprhV** z?Cpalt1oH&{r!o3eSKc&ap)iz2BTn_VV`4>9M^b3;(YY}4>#ML6{~(4mH+?%07*qo IM6N<$f(jP3KmY&$ literal 0 HcmV?d00001 diff --git a/assets/javascripts/bundle.220ee61c.min.js b/assets/javascripts/bundle.220ee61c.min.js new file mode 100644 index 000000000..116072a11 --- /dev/null +++ b/assets/javascripts/bundle.220ee61c.min.js @@ -0,0 +1,29 @@ +"use strict";(()=>{var Ci=Object.create;var gr=Object.defineProperty;var Ri=Object.getOwnPropertyDescriptor;var ki=Object.getOwnPropertyNames,Ht=Object.getOwnPropertySymbols,Hi=Object.getPrototypeOf,yr=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable;var rn=(e,t,r)=>t in e?gr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,P=(e,t)=>{for(var r in t||(t={}))yr.call(t,r)&&rn(e,r,t[r]);if(Ht)for(var r of Ht(t))nn.call(t,r)&&rn(e,r,t[r]);return e};var on=(e,t)=>{var r={};for(var n in e)yr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ht)for(var n of Ht(e))t.indexOf(n)<0&&nn.call(e,n)&&(r[n]=e[n]);return r};var Pt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Pi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ki(t))!yr.call(e,o)&&o!==r&&gr(e,o,{get:()=>t[o],enumerable:!(n=Ri(t,o))||n.enumerable});return e};var yt=(e,t,r)=>(r=e!=null?Ci(Hi(e)):{},Pi(t||!e||!e.__esModule?gr(r,"default",{value:e,enumerable:!0}):r,e));var sn=Pt((xr,an)=>{(function(e,t){typeof xr=="object"&&typeof an!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(xr,function(){"use strict";function e(r){var n=!0,o=!1,i=null,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function a(O){return!!(O&&O!==document&&O.nodeName!=="HTML"&&O.nodeName!=="BODY"&&"classList"in O&&"contains"in O.classList)}function f(O){var Qe=O.type,De=O.tagName;return!!(De==="INPUT"&&s[Qe]&&!O.readOnly||De==="TEXTAREA"&&!O.readOnly||O.isContentEditable)}function c(O){O.classList.contains("focus-visible")||(O.classList.add("focus-visible"),O.setAttribute("data-focus-visible-added",""))}function u(O){O.hasAttribute("data-focus-visible-added")&&(O.classList.remove("focus-visible"),O.removeAttribute("data-focus-visible-added"))}function p(O){O.metaKey||O.altKey||O.ctrlKey||(a(r.activeElement)&&c(r.activeElement),n=!0)}function m(O){n=!1}function d(O){a(O.target)&&(n||f(O.target))&&c(O.target)}function h(O){a(O.target)&&(O.target.classList.contains("focus-visible")||O.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),u(O.target))}function v(O){document.visibilityState==="hidden"&&(o&&(n=!0),Y())}function Y(){document.addEventListener("mousemove",N),document.addEventListener("mousedown",N),document.addEventListener("mouseup",N),document.addEventListener("pointermove",N),document.addEventListener("pointerdown",N),document.addEventListener("pointerup",N),document.addEventListener("touchmove",N),document.addEventListener("touchstart",N),document.addEventListener("touchend",N)}function B(){document.removeEventListener("mousemove",N),document.removeEventListener("mousedown",N),document.removeEventListener("mouseup",N),document.removeEventListener("pointermove",N),document.removeEventListener("pointerdown",N),document.removeEventListener("pointerup",N),document.removeEventListener("touchmove",N),document.removeEventListener("touchstart",N),document.removeEventListener("touchend",N)}function N(O){O.target.nodeName&&O.target.nodeName.toLowerCase()==="html"||(n=!1,B())}document.addEventListener("keydown",p,!0),document.addEventListener("mousedown",m,!0),document.addEventListener("pointerdown",m,!0),document.addEventListener("touchstart",m,!0),document.addEventListener("visibilitychange",v,!0),Y(),r.addEventListener("focus",d,!0),r.addEventListener("blur",h,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var cn=Pt(Er=>{(function(e){var t=function(){try{return!!Symbol.iterator}catch(c){return!1}},r=t(),n=function(c){var u={next:function(){var p=c.shift();return{done:p===void 0,value:p}}};return r&&(u[Symbol.iterator]=function(){return u}),u},o=function(c){return encodeURIComponent(c).replace(/%20/g,"+")},i=function(c){return decodeURIComponent(String(c).replace(/\+/g," "))},s=function(){var c=function(p){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var m=typeof p;if(m!=="undefined")if(m==="string")p!==""&&this._fromString(p);else if(p instanceof c){var d=this;p.forEach(function(B,N){d.append(N,B)})}else if(p!==null&&m==="object")if(Object.prototype.toString.call(p)==="[object Array]")for(var h=0;hd[0]?1:0}),c._entries&&(c._entries={});for(var p=0;p1?i(d[1]):"")}})})(typeof global!="undefined"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:Er);(function(e){var t=function(){try{var o=new e.URL("b","http://a");return o.pathname="c d",o.href==="http://a/c%20d"&&o.searchParams}catch(i){return!1}},r=function(){var o=e.URL,i=function(f,c){typeof f!="string"&&(f=String(f)),c&&typeof c!="string"&&(c=String(c));var u=document,p;if(c&&(e.location===void 0||c!==e.location.href)){c=c.toLowerCase(),u=document.implementation.createHTMLDocument(""),p=u.createElement("base"),p.href=c,u.head.appendChild(p);try{if(p.href.indexOf(c)!==0)throw new Error(p.href)}catch(O){throw new Error("URL unable to set base "+c+" due to "+O)}}var m=u.createElement("a");m.href=f,p&&(u.body.appendChild(m),m.href=m.href);var d=u.createElement("input");if(d.type="url",d.value=f,m.protocol===":"||!/:/.test(m.href)||!d.checkValidity()&&!c)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:m});var h=new e.URLSearchParams(this.search),v=!0,Y=!0,B=this;["append","delete","set"].forEach(function(O){var Qe=h[O];h[O]=function(){Qe.apply(h,arguments),v&&(Y=!1,B.search=h.toString(),Y=!0)}}),Object.defineProperty(this,"searchParams",{value:h,enumerable:!0});var N=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==N&&(N=this.search,Y&&(v=!1,this.searchParams._fromString(this.search),v=!0))}})},s=i.prototype,a=function(f){Object.defineProperty(s,f,{get:function(){return this._anchorElement[f]},set:function(c){this._anchorElement[f]=c},enumerable:!0})};["hash","host","hostname","port","protocol"].forEach(function(f){a(f)}),Object.defineProperty(s,"search",{get:function(){return this._anchorElement.search},set:function(f){this._anchorElement.search=f,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(s,{toString:{get:function(){var f=this;return function(){return f.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(f){this._anchorElement.href=f,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(f){this._anchorElement.pathname=f},enumerable:!0},origin:{get:function(){var f={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],c=this._anchorElement.port!=f&&this._anchorElement.port!=="";return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(c?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(f){},enumerable:!0},username:{get:function(){return""},set:function(f){},enumerable:!0}}),i.createObjectURL=function(f){return o.createObjectURL.apply(o,arguments)},i.revokeObjectURL=function(f){return o.revokeObjectURL.apply(o,arguments)},e.URL=i};if(t()||r(),e.location!==void 0&&!("origin"in e.location)){var n=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:n,enumerable:!0})}catch(o){setInterval(function(){e.location.origin=n()},100)}}})(typeof global!="undefined"?global:typeof window!="undefined"?window:typeof self!="undefined"?self:Er)});var qr=Pt((Mt,Nr)=>{/*! + * clipboard.js v2.0.11 + * https://clipboardjs.com/ + * + * Licensed MIT © Zeno Rocha + */(function(t,r){typeof Mt=="object"&&typeof Nr=="object"?Nr.exports=r():typeof define=="function"&&define.amd?define([],r):typeof Mt=="object"?Mt.ClipboardJS=r():t.ClipboardJS=r()})(Mt,function(){return function(){var e={686:function(n,o,i){"use strict";i.d(o,{default:function(){return Ai}});var s=i(279),a=i.n(s),f=i(370),c=i.n(f),u=i(817),p=i.n(u);function m(j){try{return document.execCommand(j)}catch(T){return!1}}var d=function(T){var E=p()(T);return m("cut"),E},h=d;function v(j){var T=document.documentElement.getAttribute("dir")==="rtl",E=document.createElement("textarea");E.style.fontSize="12pt",E.style.border="0",E.style.padding="0",E.style.margin="0",E.style.position="absolute",E.style[T?"right":"left"]="-9999px";var H=window.pageYOffset||document.documentElement.scrollTop;return E.style.top="".concat(H,"px"),E.setAttribute("readonly",""),E.value=j,E}var Y=function(T,E){var H=v(T);E.container.appendChild(H);var I=p()(H);return m("copy"),H.remove(),I},B=function(T){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},H="";return typeof T=="string"?H=Y(T,E):T instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(T==null?void 0:T.type)?H=Y(T.value,E):(H=p()(T),m("copy")),H},N=B;function O(j){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(E){return typeof E}:O=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},O(j)}var Qe=function(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=T.action,H=E===void 0?"copy":E,I=T.container,q=T.target,Me=T.text;if(H!=="copy"&&H!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(q!==void 0)if(q&&O(q)==="object"&&q.nodeType===1){if(H==="copy"&&q.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(H==="cut"&&(q.hasAttribute("readonly")||q.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Me)return N(Me,{container:I});if(q)return H==="cut"?h(q):N(q,{container:I})},De=Qe;function $e(j){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$e=function(E){return typeof E}:$e=function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},$e(j)}function Ei(j,T){if(!(j instanceof T))throw new TypeError("Cannot call a class as a function")}function tn(j,T){for(var E=0;E0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof I.action=="function"?I.action:this.defaultAction,this.target=typeof I.target=="function"?I.target:this.defaultTarget,this.text=typeof I.text=="function"?I.text:this.defaultText,this.container=$e(I.container)==="object"?I.container:document.body}},{key:"listenClick",value:function(I){var q=this;this.listener=c()(I,"click",function(Me){return q.onClick(Me)})}},{key:"onClick",value:function(I){var q=I.delegateTarget||I.currentTarget,Me=this.action(q)||"copy",kt=De({action:Me,container:this.container,target:this.target(q),text:this.text(q)});this.emit(kt?"success":"error",{action:Me,text:kt,trigger:q,clearSelection:function(){q&&q.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(I){return vr("action",I)}},{key:"defaultTarget",value:function(I){var q=vr("target",I);if(q)return document.querySelector(q)}},{key:"defaultText",value:function(I){return vr("text",I)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(I){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return N(I,q)}},{key:"cut",value:function(I){return h(I)}},{key:"isSupported",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],q=typeof I=="string"?[I]:I,Me=!!document.queryCommandSupported;return q.forEach(function(kt){Me=Me&&!!document.queryCommandSupported(kt)}),Me}}]),E}(a()),Ai=Li},828:function(n){var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function s(a,f){for(;a&&a.nodeType!==o;){if(typeof a.matches=="function"&&a.matches(f))return a;a=a.parentNode}}n.exports=s},438:function(n,o,i){var s=i(828);function a(u,p,m,d,h){var v=c.apply(this,arguments);return u.addEventListener(m,v,h),{destroy:function(){u.removeEventListener(m,v,h)}}}function f(u,p,m,d,h){return typeof u.addEventListener=="function"?a.apply(null,arguments):typeof m=="function"?a.bind(null,document).apply(null,arguments):(typeof u=="string"&&(u=document.querySelectorAll(u)),Array.prototype.map.call(u,function(v){return a(v,p,m,d,h)}))}function c(u,p,m,d){return function(h){h.delegateTarget=s(h.target,p),h.delegateTarget&&d.call(u,h)}}n.exports=f},879:function(n,o){o.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},o.nodeList=function(i){var s=Object.prototype.toString.call(i);return i!==void 0&&(s==="[object NodeList]"||s==="[object HTMLCollection]")&&"length"in i&&(i.length===0||o.node(i[0]))},o.string=function(i){return typeof i=="string"||i instanceof String},o.fn=function(i){var s=Object.prototype.toString.call(i);return s==="[object Function]"}},370:function(n,o,i){var s=i(879),a=i(438);function f(m,d,h){if(!m&&!d&&!h)throw new Error("Missing required arguments");if(!s.string(d))throw new TypeError("Second argument must be a String");if(!s.fn(h))throw new TypeError("Third argument must be a Function");if(s.node(m))return c(m,d,h);if(s.nodeList(m))return u(m,d,h);if(s.string(m))return p(m,d,h);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(m,d,h){return m.addEventListener(d,h),{destroy:function(){m.removeEventListener(d,h)}}}function u(m,d,h){return Array.prototype.forEach.call(m,function(v){v.addEventListener(d,h)}),{destroy:function(){Array.prototype.forEach.call(m,function(v){v.removeEventListener(d,h)})}}}function p(m,d,h){return a(document.body,m,d,h)}n.exports=f},817:function(n){function o(i){var s;if(i.nodeName==="SELECT")i.focus(),s=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var a=i.hasAttribute("readonly");a||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),a||i.removeAttribute("readonly"),s=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var f=window.getSelection(),c=document.createRange();c.selectNodeContents(i),f.removeAllRanges(),f.addRange(c),s=f.toString()}return s}n.exports=o},279:function(n){function o(){}o.prototype={on:function(i,s,a){var f=this.e||(this.e={});return(f[i]||(f[i]=[])).push({fn:s,ctx:a}),this},once:function(i,s,a){var f=this;function c(){f.off(i,c),s.apply(a,arguments)}return c._=s,this.on(i,c,a)},emit:function(i){var s=[].slice.call(arguments,1),a=((this.e||(this.e={}))[i]||[]).slice(),f=0,c=a.length;for(f;f{"use strict";/*! + * escape-html + * Copyright(c) 2012-2013 TJ Holowaychuk + * Copyright(c) 2015 Andreas Lubbe + * Copyright(c) 2015 Tiancheng "Timothy" Gu + * MIT Licensed + */var rs=/["'&<>]/;Yo.exports=ns;function ns(e){var t=""+e,r=rs.exec(t);if(!r)return t;var n,o="",i=0,s=0;for(i=r.index;i0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function W(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function D(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n1||a(m,d)})})}function a(m,d){try{f(n[m](d))}catch(h){p(i[0][3],h)}}function f(m){m.value instanceof et?Promise.resolve(m.value.v).then(c,u):p(i[0][2],m)}function c(m){a("next",m)}function u(m){a("throw",m)}function p(m,d){m(d),i.shift(),i.length&&a(i[0][0],i[0][1])}}function pn(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Ee=="function"?Ee(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(s){return new Promise(function(a,f){s=e[i](s),o(a,f,s.done,s.value)})}}function o(i,s,a,f){Promise.resolve(f).then(function(c){i({value:c,done:a})},s)}}function C(e){return typeof e=="function"}function at(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var It=at(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription: +`+r.map(function(n,o){return o+1+") "+n.toString()}).join(` + `):"",this.name="UnsubscriptionError",this.errors=r}});function Ve(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ie=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=Ee(s),f=a.next();!f.done;f=a.next()){var c=f.value;c.remove(this)}}catch(v){t={error:v}}finally{try{f&&!f.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var u=this.initialTeardown;if(C(u))try{u()}catch(v){i=v instanceof It?v.errors:[v]}var p=this._finalizers;if(p){this._finalizers=null;try{for(var m=Ee(p),d=m.next();!d.done;d=m.next()){var h=d.value;try{ln(h)}catch(v){i=i!=null?i:[],v instanceof It?i=D(D([],W(i)),W(v.errors)):i.push(v)}}}catch(v){n={error:v}}finally{try{d&&!d.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}}if(i)throw new It(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)ln(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Ve(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ve(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var Sr=Ie.EMPTY;function jt(e){return e instanceof Ie||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function ln(e){C(e)?e():e.unsubscribe()}var Le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var st={setTimeout:function(e,t){for(var r=[],n=2;n0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,s=o.isStopped,a=o.observers;return i||s?Sr:(this.currentObservers=null,a.push(r),new Ie(function(){n.currentObservers=null,Ve(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,s=n.isStopped;o?r.error(i):s&&r.complete()},t.prototype.asObservable=function(){var r=new F;return r.source=this,r},t.create=function(r,n){return new xn(r,n)},t}(F);var xn=function(e){ie(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:Sr},t}(x);var Et={now:function(){return(Et.delegate||Date).now()},delegate:void 0};var wt=function(e){ie(t,e);function t(r,n,o){r===void 0&&(r=1/0),n===void 0&&(n=1/0),o===void 0&&(o=Et);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return t.prototype.next=function(r){var n=this,o=n.isStopped,i=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,f=n._windowTime;o||(i.push(r),!s&&i.push(a.now()+f)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),o=this,i=o._infiniteTimeWindow,s=o._buffer,a=s.slice(),f=0;f0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r._scheduled||(r._scheduled=ut.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,n,o){var i;if(o===void 0&&(o=0),o!=null?o>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,n,o);var s=r.actions;n!=null&&((i=s[s.length-1])===null||i===void 0?void 0:i.id)!==n&&(ut.cancelAnimationFrame(n),r._scheduled=void 0)},t}(Wt);var Sn=function(e){ie(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var o=this.actions,i;r=r||o.shift();do if(i=r.execute(r.state,r.delay))break;while((r=o[0])&&r.id===n&&o.shift());if(this._active=!1,i){for(;(r=o[0])&&r.id===n&&o.shift();)r.unsubscribe();throw i}},t}(Dt);var Oe=new Sn(wn);var M=new F(function(e){return e.complete()});function Vt(e){return e&&C(e.schedule)}function Cr(e){return e[e.length-1]}function Ye(e){return C(Cr(e))?e.pop():void 0}function Te(e){return Vt(Cr(e))?e.pop():void 0}function zt(e,t){return typeof Cr(e)=="number"?e.pop():t}var pt=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Nt(e){return C(e==null?void 0:e.then)}function qt(e){return C(e[ft])}function Kt(e){return Symbol.asyncIterator&&C(e==null?void 0:e[Symbol.asyncIterator])}function Qt(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function zi(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Yt=zi();function Gt(e){return C(e==null?void 0:e[Yt])}function Bt(e){return un(this,arguments,function(){var r,n,o,i;return $t(this,function(s){switch(s.label){case 0:r=e.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,et(r.read())];case 3:return n=s.sent(),o=n.value,i=n.done,i?[4,et(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,et(o)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function Jt(e){return C(e==null?void 0:e.getReader)}function U(e){if(e instanceof F)return e;if(e!=null){if(qt(e))return Ni(e);if(pt(e))return qi(e);if(Nt(e))return Ki(e);if(Kt(e))return On(e);if(Gt(e))return Qi(e);if(Jt(e))return Yi(e)}throw Qt(e)}function Ni(e){return new F(function(t){var r=e[ft]();if(C(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qi(e){return new F(function(t){for(var r=0;r=2;return function(n){return n.pipe(e?A(function(o,i){return e(o,i,n)}):de,ge(1),r?He(t):Dn(function(){return new Zt}))}}function Vn(){for(var e=[],t=0;t=2,!0))}function pe(e){e===void 0&&(e={});var t=e.connector,r=t===void 0?function(){return new x}:t,n=e.resetOnError,o=n===void 0?!0:n,i=e.resetOnComplete,s=i===void 0?!0:i,a=e.resetOnRefCountZero,f=a===void 0?!0:a;return function(c){var u,p,m,d=0,h=!1,v=!1,Y=function(){p==null||p.unsubscribe(),p=void 0},B=function(){Y(),u=m=void 0,h=v=!1},N=function(){var O=u;B(),O==null||O.unsubscribe()};return y(function(O,Qe){d++,!v&&!h&&Y();var De=m=m!=null?m:r();Qe.add(function(){d--,d===0&&!v&&!h&&(p=$r(N,f))}),De.subscribe(Qe),!u&&d>0&&(u=new rt({next:function($e){return De.next($e)},error:function($e){v=!0,Y(),p=$r(B,o,$e),De.error($e)},complete:function(){h=!0,Y(),p=$r(B,s),De.complete()}}),U(O).subscribe(u))})(c)}}function $r(e,t){for(var r=[],n=2;ne.next(document)),e}function K(e,t=document){return Array.from(t.querySelectorAll(e))}function z(e,t=document){let r=ce(e,t);if(typeof r=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return r}function ce(e,t=document){return t.querySelector(e)||void 0}function _e(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function tr(e){return L(b(document.body,"focusin"),b(document.body,"focusout")).pipe(ke(1),l(()=>{let t=_e();return typeof t!="undefined"?e.contains(t):!1}),V(e===_e()),J())}function Xe(e){return{x:e.offsetLeft,y:e.offsetTop}}function Kn(e){return L(b(window,"load"),b(window,"resize")).pipe(Ce(0,Oe),l(()=>Xe(e)),V(Xe(e)))}function rr(e){return{x:e.scrollLeft,y:e.scrollTop}}function dt(e){return L(b(e,"scroll"),b(window,"resize")).pipe(Ce(0,Oe),l(()=>rr(e)),V(rr(e)))}var Yn=function(){if(typeof Map!="undefined")return Map;function e(t,r){var n=-1;return t.some(function(o,i){return o[0]===r?(n=i,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(r,n){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,o=e(n,r);~o&&n.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var o=0,i=this.__entries__;o0},e.prototype.connect_=function(){!Wr||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),va?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Wr||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,o=ba.some(function(i){return!!~n.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Gn=function(e,t){for(var r=0,n=Object.keys(t);r0},e}(),Jn=typeof WeakMap!="undefined"?new WeakMap:new Yn,Xn=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=ga.getInstance(),n=new La(t,r,this);Jn.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Xn.prototype[e]=function(){var t;return(t=Jn.get(this))[e].apply(t,arguments)}});var Aa=function(){return typeof nr.ResizeObserver!="undefined"?nr.ResizeObserver:Xn}(),Zn=Aa;var eo=new x,Ca=$(()=>k(new Zn(e=>{for(let t of e)eo.next(t)}))).pipe(g(e=>L(ze,k(e)).pipe(R(()=>e.disconnect()))),X(1));function he(e){return{width:e.offsetWidth,height:e.offsetHeight}}function ye(e){return Ca.pipe(S(t=>t.observe(e)),g(t=>eo.pipe(A(({target:r})=>r===e),R(()=>t.unobserve(e)),l(()=>he(e)))),V(he(e)))}function bt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function ar(e){let t=e.parentElement;for(;t&&(e.scrollWidth<=t.scrollWidth&&e.scrollHeight<=t.scrollHeight);)t=(e=t).parentElement;return t?e:void 0}var to=new x,Ra=$(()=>k(new IntersectionObserver(e=>{for(let t of e)to.next(t)},{threshold:0}))).pipe(g(e=>L(ze,k(e)).pipe(R(()=>e.disconnect()))),X(1));function sr(e){return Ra.pipe(S(t=>t.observe(e)),g(t=>to.pipe(A(({target:r})=>r===e),R(()=>t.unobserve(e)),l(({isIntersecting:r})=>r))))}function ro(e,t=16){return dt(e).pipe(l(({y:r})=>{let n=he(e),o=bt(e);return r>=o.height-n.height-t}),J())}var cr={drawer:z("[data-md-toggle=drawer]"),search:z("[data-md-toggle=search]")};function no(e){return cr[e].checked}function Ke(e,t){cr[e].checked!==t&&cr[e].click()}function Ue(e){let t=cr[e];return b(t,"change").pipe(l(()=>t.checked),V(t.checked))}function ka(e,t){switch(e.constructor){case HTMLInputElement:return e.type==="radio"?/^Arrow/.test(t):!0;case HTMLSelectElement:case HTMLTextAreaElement:return!0;default:return e.isContentEditable}}function Ha(){return L(b(window,"compositionstart").pipe(l(()=>!0)),b(window,"compositionend").pipe(l(()=>!1))).pipe(V(!1))}function oo(){let e=b(window,"keydown").pipe(A(t=>!(t.metaKey||t.ctrlKey)),l(t=>({mode:no("search")?"search":"global",type:t.key,claim(){t.preventDefault(),t.stopPropagation()}})),A(({mode:t,type:r})=>{if(t==="global"){let n=_e();if(typeof n!="undefined")return!ka(n,r)}return!0}),pe());return Ha().pipe(g(t=>t?M:e))}function le(){return new URL(location.href)}function ot(e){location.href=e.href}function io(){return new x}function ao(e,t){if(typeof t=="string"||typeof t=="number")e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))for(let r of t)ao(e,r)}function _(e,t,...r){let n=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="undefined"&&(typeof t[o]!="boolean"?n.setAttribute(o,t[o]):n.setAttribute(o,""));for(let o of r)ao(n,o);return n}function fr(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function so(){return location.hash.substring(1)}function Dr(e){let t=_("a",{href:e});t.addEventListener("click",r=>r.stopPropagation()),t.click()}function Pa(e){return L(b(window,"hashchange"),e).pipe(l(so),V(so()),A(t=>t.length>0),X(1))}function co(e){return Pa(e).pipe(l(t=>ce(`[id="${t}"]`)),A(t=>typeof t!="undefined"))}function Vr(e){let t=matchMedia(e);return er(r=>t.addListener(()=>r(t.matches))).pipe(V(t.matches))}function fo(){let e=matchMedia("print");return L(b(window,"beforeprint").pipe(l(()=>!0)),b(window,"afterprint").pipe(l(()=>!1))).pipe(V(e.matches))}function zr(e,t){return e.pipe(g(r=>r?t():M))}function ur(e,t={credentials:"same-origin"}){return ue(fetch(`${e}`,t)).pipe(fe(()=>M),g(r=>r.status!==200?Ot(()=>new Error(r.statusText)):k(r)))}function We(e,t){return ur(e,t).pipe(g(r=>r.json()),X(1))}function uo(e,t){let r=new DOMParser;return ur(e,t).pipe(g(n=>n.text()),l(n=>r.parseFromString(n,"text/xml")),X(1))}function pr(e){let t=_("script",{src:e});return $(()=>(document.head.appendChild(t),L(b(t,"load"),b(t,"error").pipe(g(()=>Ot(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(l(()=>{}),R(()=>document.head.removeChild(t)),ge(1))))}function po(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function lo(){return L(b(window,"scroll",{passive:!0}),b(window,"resize",{passive:!0})).pipe(l(po),V(po()))}function mo(){return{width:innerWidth,height:innerHeight}}function ho(){return b(window,"resize",{passive:!0}).pipe(l(mo),V(mo()))}function bo(){return G([lo(),ho()]).pipe(l(([e,t])=>({offset:e,size:t})),X(1))}function lr(e,{viewport$:t,header$:r}){let n=t.pipe(ee("size")),o=G([n,r]).pipe(l(()=>Xe(e)));return G([r,t,o]).pipe(l(([{height:i},{offset:s,size:a},{x:f,y:c}])=>({offset:{x:s.x-f,y:s.y-c+i},size:a})))}(()=>{function e(n,o){parent.postMessage(n,o||"*")}function t(...n){return n.reduce((o,i)=>o.then(()=>new Promise(s=>{let a=document.createElement("script");a.src=i,a.onload=s,document.body.appendChild(a)})),Promise.resolve())}var r=class extends EventTarget{constructor(n){super(),this.url=n,this.m=i=>{i.source===this.w&&(this.dispatchEvent(new MessageEvent("message",{data:i.data})),this.onmessage&&this.onmessage(i))},this.e=(i,s,a,f,c)=>{if(s===`${this.url}`){let u=new ErrorEvent("error",{message:i,filename:s,lineno:a,colno:f,error:c});this.dispatchEvent(u),this.onerror&&this.onerror(u)}};let o=document.createElement("iframe");o.hidden=!0,document.body.appendChild(this.iframe=o),this.w.document.open(),this.w.document.write(` + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + + + + + +
+
+ + + + + + + +

Getting Started

+

How do I install the Vanna.AI library?

+
pip install vanna
+
+

How do I import the Vanna.AI library?

+
import vanna as vn
+
+

How do I set my API key?

+
vn.api_key = 'vanna-key-...'
+
+

How do I set my organization name?

+

vn.set_org +

vn.set_org('my_org')
+

+

How do I train Vanna.AI on my data?

+

vn.store_sql +

vn.store_sql(
+    question="Who are the top 10 customers by Sales?", 
+    sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"
+)
+

+

How do I ask questions about my data?

+

vn.generate_sql +

my_question = 'What are the top 10 ABC by XYZ?'
+
+sql = vn.generate_sql(question=my_question, error_msg=None)
+# SELECT * FROM table_name WHERE column_name = 'value'
+

+

Full Example

+
import vanna as vn
+
+vn.api_key = 'vanna-key-...' # Set your API key
+vn.set_org('') # Set your organization name
+
+# Train Vanna.AI on your data
+vn.store_sql(
+    question="Who are the top 10 customers by Sales?", 
+    sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"
+)
+
+# Ask questions about your data
+my_question = 'What are the top 10 ABC by XYZ?'
+
+# Generate SQL
+sql = vn.generate_sql(question=my_question, error_msg=None) 
+
+# Connect to your database
+conn = snowflake.connector.connect(
+        user='my_user',
+        password='my_password',
+        account='my_account',
+        database='my_database',
+    )
+
+cs = conn.cursor()
+
+# Get results
+df = vn.get_results(
+    cs=cs, 
+    default_db=my_default_db, 
+    sql=sql
+    )
+
+# Generate Plotly code
+plotly_code = vn.generate_plotly_code(
+    question=my_question, 
+    sql=sql, 
+    df=df
+    )
+
+# Get Plotly figure
+fig = vn.get_plotly_figure(
+    plotly_code=plotly_code, 
+    df=df
+    )
+
+ + + + + + +
+
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 000000000..c7d388d97 --- /dev/null +++ b/index.html @@ -0,0 +1,574 @@ + + + + + + + + + + + + + + + + + + + + Vanna.AI Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + + +

What is Vanna.AI?

+

Vanna.AI is a platform that allows you to ask questions about your data in plain English. It is an AI-powered data analyst that can answer questions about your data, generate SQL, and create visualizations.

+

Each organization has its own isolated training set. This means that Vanna.AI can understand the unique language of your organization and answer questions about your data.

+

After every question you can tell Vanna.AI whether the results were correct. This allows Vanna.AI to learn from the questions that are asked and become smarter immediately.

+

Vanna provides additional functionality to manage your training data to maintain the highest level of accuracy for your organization.

+

What can it do?

+

It can support apps that allow you to:

+ + +

Where can I use Vanna.AI?

+ + + + + + + +
+
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/jupyter/index.html b/jupyter/index.html new file mode 100644 index 000000000..189f3a1a5 --- /dev/null +++ b/jupyter/index.html @@ -0,0 +1,653 @@ + + + + + + + + + + + + + + + + + + + + + + Use in Notebooks - Vanna.AI Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + +

Using Vanna.AI in a Jupyter Notebook

+

Vanna.AI can be used in a Jupyter Notebook to generate SQL from natural language questions.

+

Installation

+
%pip install vanna
+
+

Import

+
import vanna as vn
+
+

Set API Key

+
vn.api_key = 'vanna-key-...'
+
+

Set Organization Name

+
vn.set_org('my_org')
+
+

Train Vanna.AI on your data

+
vn.store_sql(
+    question="Who are the top 10 customers by Sales?", 
+    sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"
+)
+
+

Ask questions about your data

+
my_question = 'What are the top 10 ABC by XYZ?'
+
+# Generate SQL
+sql = vn.generate_sql(question=my_question, error_msg=None)
+# SELECT * FROM table_name WHERE column_name = 'value'
+
+

Run SQL

+

Run your SQL as you normally would.

+ + + + + + +
+
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/objects.inv b/objects.inv new file mode 100644 index 000000000..c77962c0a --- /dev/null +++ b/objects.inv @@ -0,0 +1,6 @@ +# Sphinx inventory version 2 +# Project: Vanna.AI Documentation +# Version: 0.0.0 +# The remainder of this file is compressed using zlib. +xڕA +0E"[^& OL;T{{mwt^T+q?xp=0%JMG/3{ *P㍅,>]vƫPX|Sf֊ oYf9uU^lJnY MaY &TY 4H6 \ No newline at end of file diff --git a/onboarding/index.html b/onboarding/index.html new file mode 100644 index 000000000..f8e55711b --- /dev/null +++ b/onboarding/index.html @@ -0,0 +1,602 @@ + + + + + + + + + + + + + + + + + + + + + + Onboarding - Vanna.AI Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + +

Onboarding

+ +

What do I need to do to use Vanna.AI?

+

Vanna.AI uses a combination of documentation and historical question and SQL pairs to generate SQL from natural language.

+

Step 1: Train Vanna.AI

+
    +
  • Give Vanna.AI sample SQL
  • +
  • Vanna.AI will try to guess the question
  • +
  • Verify the question is correct +
    flowchart LR
    +    Generate[vn.generate_question]
    +    Question[Question]
    +    Verify{Is the question correct?}
    +    SQL --> Generate
    +    Generate --> Question
    +    Question --> Verify
    +    Verify -- Yes --> Store[vn.store_sql]
    +    Verify -- No --> Update[Update the Question]
    +    Update --> Store
    +
  • +
+

Step 2: Ask Vanna.AI a Question

+
flowchart LR
+    Question[Question]
+    Generate[vn.generate_sql]
+    SQL[SQL]
+    Question --> Generate
+    Generate --> SQL    
+ + + + + + +
+
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/pricing/index.html b/pricing/index.html new file mode 100644 index 000000000..6d020a6c6 --- /dev/null +++ b/pricing/index.html @@ -0,0 +1,517 @@ + + + + + + + + + + + + + + + + + + Pricing - Vanna.AI Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + +

Pricing

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Free TierPaid Tier
PriceFree$500/month
Documentation Storage100 chunks10,000 chunks
Question Storage1,000 questions10,000 questions
Multi-UserNoYes
SupportDiscordEmail, Slack, Phone
+ + + + + + +
+
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/reference/index.html b/reference/index.html new file mode 100644 index 000000000..eba1bffb4 --- /dev/null +++ b/reference/index.html @@ -0,0 +1,2144 @@ + + + + + + + + + + + + + + + + + + + + + + Code Reference - Vanna.AI Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + +

Vanna Package Full Reference

+ + +
+ + + +
+ +

What is Vanna.AI?

+

Vanna.AI is a platform that allows you to ask questions about your data in plain English. It is an AI-powered data analyst that can answer questions about your data, generate SQL, and create visualizations.

+

API Reference

+ + + +
+ + + + + + + + + +
+ + + +

+flag_sql_for_review(question, sql=None, error_msg=None) + +

+ + +
+ +

Example

+

vn.flag_sql_for_review(question="What is the average salary of employees?")
+
+Flag a question and its corresponding SQL query for review. You can later retrieve the flagged questions using get_flagged_questions().

+ +

Parameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionDefault
question + str + +
+

The question to flag.

+
+
+ required +
sql + str + +
+

The SQL query to flag.

+
+
+ None +
error_msg + str + +
+

The error message to flag.

+
+
+ None +
+ +

Returns:

+ + + + + + + + + + + + + +
Name TypeDescription
bool + bool + +
+

True if the question and SQL query were flagged successfully, False otherwise.

+
+
+ +
+ +
+ +
+ + + +

+generate_explanation(sql) + +

+ + +
+ +

Example

+
vn.generate_explanation(sql="SELECT * FROM students WHERE name = 'John Doe'")
+# 'This query selects all columns from the students table where the name is John Doe.'
+
+

Generate an explanation of an SQL query using the Vanna.AI API.

+ +

Parameters:

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionDefault
sql + str + +
+

The SQL query to generate an explanation for.

+
+
+ required +
+ +

Returns:

+ + + + + + + + + + + + + +
TypeDescription
+ str + +
+

str or None: The explanation, or None if an error occurred.

+
+
+ +
+ +
+ +
+ + + +

+generate_plotly_code(question, sql, df) + +

+ + +
+ +

Example

+

vn.generate_plotly_code(
+    question="What is the average salary of employees?",
+    sql="SELECT AVG(salary) FROM employees",
+    df=df
+)
+# fig = px.bar(df, x="name", y="salary")
+
+Generate Plotly code using the Vanna.AI API.

+ +

Parameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionDefault
question + str + +
+

The question to generate Plotly code for.

+
+
+ required +
sql + str + +
+

The SQL query to generate Plotly code for.

+
+
+ required +
df + pd.DataFrame + +
+

The dataframe to generate Plotly code for.

+
+
+ required +
+ +

Returns:

+ + + + + + + + + + + + + +
TypeDescription
+ str + +
+

str or None: The Plotly code, or None if an error occurred.

+
+
+ +
+ +
+ +
+ + + +

+generate_question(sql) + +

+ + +
+ +

Example

+
vn.generate_question(sql="SELECT * FROM students WHERE name = 'John Doe'")
+# 'What is the name of the student?'
+
+

Generate a question from an SQL query using the Vanna.AI API.

+ +

Parameters:

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionDefault
sql + str + +
+

The SQL query to generate a question for.

+
+
+ required +
+ +

Returns:

+ + + + + + + + + + + + + +
TypeDescription
+ str + +
+

str or None: The question, or None if an error occurred.

+
+
+ +
+ +
+ +
+ + + +

+generate_sql(question) + +

+ + +
+ +

Example

+
vn.generate_sql(question="What is the average salary of employees?")
+# SELECT AVG(salary) FROM employees
+
+

Generate an SQL query using the Vanna.AI API.

+ +

Parameters:

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionDefault
question + str + +
+

The question to generate an SQL query for.

+
+
+ required +
+ +

Returns:

+ + + + + + + + + + + + + +
TypeDescription
+ str + +
+

str or None: The SQL query, or None if an error occurred.

+
+
+ +
+ +
+ +
+ + + +

+get_accuracy_stats() + +

+ + +
+ +

Example

+
vn.get_accuracy_stats()
+
+

Get the accuracy statistics from the Vanna.AI API.

+ +

Returns:

+ + + + + + + + + + + + + +
TypeDescription
+ AccuracyStats + +
+

dict or None: The accuracy statistics, or None if an error occurred.

+
+
+ +
+ +
+ +
+ + + +

+get_flagged_questions() + +

+ + +
+ +

Example

+
questions = vn.get_flagged_questions()
+
+

Get a list of flagged questions from the Vanna.AI API.

+ +

Returns:

+ + + + + + + + + + + + + +
TypeDescription
+ QuestionList + +
+

List[FullQuestionDocument] or None: The list of flagged questions, or None if an error occurred.

+
+
+ +
+ +
+ +
+ + + +

+get_plotly_figure(plotly_code, df, dark_mode=True) + +

+ + +
+ +

Example

+

fig = vn.get_plotly_figure(
+    plotly_code="fig = px.bar(df, x='name', y='salary')",
+    df=df
+)
+fig.show()
+
+Get a Plotly figure from a dataframe and Plotly code.

+ +

Parameters:

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionDefault
df + pd.DataFrame + +
+

The dataframe to use.

+
+
+ required +
plotly_code + str + +
+

The Plotly code to use.

+
+
+ required +
+ +

Returns:

+ + + + + + + + + + + + + +
TypeDescription
+ plotly.graph_objs.Figure + +
+

plotly.graph_objs.Figure: The Plotly figure.

+
+
+ +
+ +
+ +
+ + + +

+get_results(cs, default_database, sql) + +

+ + +
+ +

Example

+

df = vn.get_results(cs=cs, default_database="PUBLIC", sql="SELECT * FROM students")
+
+Run the SQL query and return the results as a pandas dataframe. This is just a helper function that does not use the Vanna.AI API.

+ +

Parameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionDefault
cs + +
+

Snowflake connection cursor.

+
+
+ required +
default_database + str + +
+

The default database to use.

+
+
+ required +
sql + str + +
+

The SQL query to execute.

+
+
+ required +
+ +

Returns:

+ + + + + + + + + + + + + +
TypeDescription
+ pd.DataFrame + +
+

pd.DataFrame: The results of the SQL query.

+
+
+ +
+ +
+ +
+ + + +

+list_orgs() + +

+ + +
+ +

Example

+
orgs = vn.list_orgs()
+
+

List the organizations that the user is a member of.

+ +

Returns:

+ + + + + + + + + + + + + +
TypeDescription
+ List[str] + +
+

List[str]: A list of organization names.

+
+
+ +
+ +
+ +
+ + + +

+login(email, otp_code=None) + +

+ + +
+ +

Example

+
vn.login(email="username@example.com")
+
+

Login to the Vanna.AI API.

+ +

Parameters:

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionDefault
email + str + +
+

The email address to login with.

+
+
+ required +
otp_code + Union[str, None] + +
+

The OTP code to login with. If None, an OTP code will be sent to the email address.

+
+
+ None +
+ +

Returns:

+ + + + + + + + + + + + + +
Name TypeDescription
bool + bool + +
+

True if the login was successful, False otherwise.

+
+
+ +
+ +
+ +
+ + + +

+remove_sql(question) + +

+ + +
+ +

Example

+

vn.remove_sql(question="What is the average salary of employees?")
+
+Remove a question and its corresponding SQL query from the Vanna.AI database.

+ +

Parameters:

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionDefault
question + str + +
+

The question to remove.

+
+
+ required +
+ +
+ +
+ +
+ + + +

+set_org(org) + +

+ + +
+ +

Example

+
vn.set_org("my-org")
+
+

Set the organization name for the Vanna.AI API.

+ +

Parameters:

+ + + + + + + + + + + + + + + + + +
NameTypeDescriptionDefault
org + str + +
+

The organization name.

+
+
+ required +
+ +
+ +
+ +
+ + + +

+store_sql(question, sql) + +

+ + +
+ +

Example

+
vn.store_sql(
+    question="What is the average salary of employees?", 
+    sql="SELECT AVG(salary) FROM employees"
+)
+
+

Store a question and its corresponding SQL query in the Vanna.AI database.

+ +

Parameters:

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescriptionDefault
question + str + +
+

The question to store.

+
+
+ required +
sql + str + +
+

The SQL query to store.

+
+
+ required +
+ +
+ +
+ + + +
+ +
+ +
+ + + + + + +
+
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/search.js b/search.js new file mode 100644 index 000000000..408d1094e --- /dev/null +++ b/search.js @@ -0,0 +1,46 @@ +window.pdocSearch = (function(){ +/** elasticlunr - http://weixsong.github.io * Copyright (C) 2017 Oliver Nightingale * Copyright (C) 2017 Wei Song * MIT Licensed */!function(){function e(e){if(null===e||"object"!=typeof e)return e;var t=e.constructor();for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var t=function(e){var n=new t.Index;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.9.5",lunr=t,t.utils={},t.utils.warn=function(e){return function(t){e.console&&console.warn&&console.warn(t)}}(this),t.utils.toString=function(e){return void 0===e||null===e?"":e.toString()},t.EventEmitter=function(){this.events={}},t.EventEmitter.prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=e;if("function"!=typeof t)throw new TypeError("last argument must be a function");n.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},t.EventEmitter.prototype.removeListener=function(e,t){if(this.hasHandler(e)){var n=this.events[e].indexOf(t);-1!==n&&(this.events[e].splice(n,1),0==this.events[e].length&&delete this.events[e])}},t.EventEmitter.prototype.emit=function(e){if(this.hasHandler(e)){var t=Array.prototype.slice.call(arguments,1);this.events[e].forEach(function(e){e.apply(void 0,t)},this)}},t.EventEmitter.prototype.hasHandler=function(e){return e in this.events},t.tokenizer=function(e){if(!arguments.length||null===e||void 0===e)return[];if(Array.isArray(e)){var n=e.filter(function(e){return null===e||void 0===e?!1:!0});n=n.map(function(e){return t.utils.toString(e).toLowerCase()});var i=[];return n.forEach(function(e){var n=e.split(t.tokenizer.seperator);i=i.concat(n)},this),i}return e.toString().trim().toLowerCase().split(t.tokenizer.seperator)},t.tokenizer.defaultSeperator=/[\s\-]+/,t.tokenizer.seperator=t.tokenizer.defaultSeperator,t.tokenizer.setSeperator=function(e){null!==e&&void 0!==e&&"object"==typeof e&&(t.tokenizer.seperator=e)},t.tokenizer.resetSeperator=function(){t.tokenizer.seperator=t.tokenizer.defaultSeperator},t.tokenizer.getSeperator=function(){return t.tokenizer.seperator},t.Pipeline=function(){this._queue=[]},t.Pipeline.registeredFunctions={},t.Pipeline.registerFunction=function(e,n){n in t.Pipeline.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[n]=e},t.Pipeline.getRegisteredFunction=function(e){return e in t.Pipeline.registeredFunctions!=!0?null:t.Pipeline.registeredFunctions[e]},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(e){var i=t.Pipeline.getRegisteredFunction(e);if(!i)throw new Error("Cannot load un-registered function: "+e);n.add(i)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){t.Pipeline.warnIfFunctionNotRegistered(e),this._queue.push(e)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._queue.indexOf(e);if(-1===i)throw new Error("Cannot find existingFn");this._queue.splice(i+1,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._queue.indexOf(e);if(-1===i)throw new Error("Cannot find existingFn");this._queue.splice(i,0,n)},t.Pipeline.prototype.remove=function(e){var t=this._queue.indexOf(e);-1!==t&&this._queue.splice(t,1)},t.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,i=this._queue.length,o=0;n>o;o++){for(var r=e[o],s=0;i>s&&(r=this._queue[s](r,o,e),void 0!==r&&null!==r);s++);void 0!==r&&null!==r&&t.push(r)}return t},t.Pipeline.prototype.reset=function(){this._queue=[]},t.Pipeline.prototype.get=function(){return this._queue},t.Pipeline.prototype.toJSON=function(){return this._queue.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Index=function(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.DocumentStore,this.index={},this.eventEmitter=new t.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},t.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;n._fields=e.fields,n._ref=e.ref,n.documentStore=t.DocumentStore.load(e.documentStore),n.pipeline=t.Pipeline.load(e.pipeline),n.index={};for(var i in e.index)n.index[i]=t.InvertedIndex.load(e.index[i]);return n},t.Index.prototype.addField=function(e){return this._fields.push(e),this.index[e]=new t.InvertedIndex,this},t.Index.prototype.setRef=function(e){return this._ref=e,this},t.Index.prototype.saveDocument=function(e){return this.documentStore=new t.DocumentStore(e),this},t.Index.prototype.addDoc=function(e,n){if(e){var n=void 0===n?!0:n,i=e[this._ref];this.documentStore.addDoc(i,e),this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n]));this.documentStore.addFieldLength(i,n,o.length);var r={};o.forEach(function(e){e in r?r[e]+=1:r[e]=1},this);for(var s in r){var u=r[s];u=Math.sqrt(u),this.index[n].addToken(s,{ref:i,tf:u})}},this),n&&this.eventEmitter.emit("add",e,this)}},t.Index.prototype.removeDocByRef=function(e){if(e&&this.documentStore.isDocStored()!==!1&&this.documentStore.hasDoc(e)){var t=this.documentStore.getDoc(e);this.removeDoc(t,!1)}},t.Index.prototype.removeDoc=function(e,n){if(e){var n=void 0===n?!0:n,i=e[this._ref];this.documentStore.hasDoc(i)&&(this.documentStore.removeDoc(i),this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n]));o.forEach(function(e){this.index[n].removeToken(e,i)},this)},this),n&&this.eventEmitter.emit("remove",e,this))}},t.Index.prototype.updateDoc=function(e,t){var t=void 0===t?!0:t;this.removeDocByRef(e[this._ref],!1),this.addDoc(e,!1),t&&this.eventEmitter.emit("update",e,this)},t.Index.prototype.idf=function(e,t){var n="@"+t+"/"+e;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];var i=this.index[t].getDocFreq(e),o=1+Math.log(this.documentStore.length/(i+1));return this._idfCache[n]=o,o},t.Index.prototype.getFields=function(){return this._fields.slice()},t.Index.prototype.search=function(e,n){if(!e)return[];e="string"==typeof e?{any:e}:JSON.parse(JSON.stringify(e));var i=null;null!=n&&(i=JSON.stringify(n));for(var o=new t.Configuration(i,this.getFields()).get(),r={},s=Object.keys(e),u=0;u0&&t.push(e);for(var i in n)"docs"!==i&&"df"!==i&&this.expandToken(e+i,t,n[i]);return t},t.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},t.Configuration=function(e,n){var e=e||"";if(void 0==n||null==n)throw new Error("fields should not be null");this.config={};var i;try{i=JSON.parse(e),this.buildUserConfig(i,n)}catch(o){t.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(n)}},t.Configuration.prototype.buildDefaultConfig=function(e){this.reset(),e.forEach(function(e){this.config[e]={boost:1,bool:"OR",expand:!1}},this)},t.Configuration.prototype.buildUserConfig=function(e,n){var i="OR",o=!1;if(this.reset(),"bool"in e&&(i=e.bool||i),"expand"in e&&(o=e.expand||o),"fields"in e)for(var r in e.fields)if(n.indexOf(r)>-1){var s=e.fields[r],u=o;void 0!=s.expand&&(u=s.expand),this.config[r]={boost:s.boost||0===s.boost?s.boost:1,bool:s.bool||i,expand:u}}else t.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(i,o,n)},t.Configuration.prototype.addAllFields2UserConfig=function(e,t,n){n.forEach(function(n){this.config[n]={boost:1,bool:e,expand:t}},this)},t.Configuration.prototype.get=function(){return this.config},t.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},lunr.SortedSet.prototype.add=function(){var e,t;for(e=0;e1;){if(r===e)return o;e>r&&(t=o),r>e&&(n=o),i=n-t,o=t+Math.floor(i/2),r=this.elements[o]}return r===e?o:-1},lunr.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,i=n-t,o=t+Math.floor(i/2),r=this.elements[o];i>1;)e>r&&(t=o),r>e&&(n=o),i=n-t,o=t+Math.floor(i/2),r=this.elements[o];return r>e?o:e>r?o+1:void 0},lunr.SortedSet.prototype.intersect=function(e){for(var t=new lunr.SortedSet,n=0,i=0,o=this.length,r=e.length,s=this.elements,u=e.elements;;){if(n>o-1||i>r-1)break;s[n]!==u[i]?s[n]u[i]&&i++:(t.add(s[n]),n++,i++)}return t},lunr.SortedSet.prototype.clone=function(){var e=new lunr.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},lunr.SortedSet.prototype.union=function(e){var t,n,i;this.length>=e.length?(t=this,n=e):(t=e,n=this),i=t.clone();for(var o=0,r=n.toArray();oWhat is Vanna.AI?\n\n

Vanna.AI is a platform that allows you to ask questions about your data in plain English. It is an AI-powered data analyst that can answer questions about your data, generate SQL, and create visualizations.

\n\n

How do I use Vanna.AI?

\n\n
    \n
  • Import the Vanna.AI library
  • \n
  • Set your API key
  • \n
  • Set your organization name
  • \n
  • Train Vanna.AI on your data
  • \n
  • Ask questions about your data
  • \n
\n\n

How does Vanna.AI work?

\n\n
flowchart TD\n DB[(Known Correct Question-SQL)]\n Try[Try to Use DDL/Documentation]\n SQL(SQL)\n Check{Is the SQL correct?}\n Generate[fa:fa-circle-question Use Examples to Generate]\n DB --> Find\n Question[fa:fa-circle-question Question] --> Find{fa:fa-magnifying-glass Do we have similar questions?}\n Find -- Yes --> Generate\n Find -- No --> Try\n Generate --> SQL\n Try --> SQL\n SQL --> Check\n Check -- Yes --> DB\n Check -- No --> Analyst[fa:fa-glasses Analyst Writes the SQL]\n Analyst -- Adds --> DB\n
\n\n

Getting Started

\n\n

How do I import the Vanna.AI library?

\n\n
\n
import vanna as vn\n
\n
\n\n

How do I set my API key?

\n\n
\n
vn.api_key = 'vanna-key-...'\n
\n
\n\n

How do I set my organization name?

\n\n
\n
vn.set_org('my_org')\n
\n
\n\n

How do I train Vanna.AI on my data?

\n\n
\n
vn.store_sql(\n    question="Who are the top 10 customers by Sales?", \n    sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"\n)\n
\n
\n\n

How do I ask questions about my data?

\n\n
\n
my_question = 'What are the top 10 ABC by XYZ?'\n\nsql = vn.generate_sql(question=my_question, error_msg=None)\n# SELECT * FROM table_name WHERE column_name = 'value'\n
\n
\n\n

Full Example

\n\n
\n
import vanna as vn\n\nvn.api_key = 'vanna-key-...' # Set your API key\nvn.set_org('') # Set your organization name\n\n# Train Vanna.AI on your data\nvn.store_sql(\n    question="Who are the top 10 customers by Sales?", \n    sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"\n)\n\n# Ask questions about your data\nmy_question = 'What are the top 10 ABC by XYZ?'\n\n# Generate SQL\nsql = vn.generate_sql(question=my_question, error_msg=None) \n\n# Connect to your database\nconn = snowflake.connector.connect(\n        user='my_user',\n        password='my_password',\n        account='my_account',\n        database='my_database',\n    )\n\ncs = conn.cursor()\n\n# Get results\ndf = vn.get_results(\n    cs=cs, \n    default_db=my_default_db, \n    sql=sql\n    )\n\n# Generate Plotly code\nplotly_code = vn.generate_plotly_code(\n    question=my_question, \n    sql=sql, \n    df=df\n    )\n\n# Get Plotly figure\nfig = vn.get_plotly_figure(\n    plotly_code=plotly_code, \n    df=df\n    )\n
\n
\n\n

API Reference

\n"}, "vanna.api_key": {"fullname": "vanna.api_key", "modulename": "vanna", "qualname": "api_key", "kind": "variable", "doc": "

\n", "annotation": ": Optional[str]", "default_value": "None"}, "vanna.set_org": {"fullname": "vanna.set_org", "modulename": "vanna", "qualname": "set_org", "kind": "function", "doc": "

Set the organization name for the Vanna.AI API.

\n\n
Arguments:
\n\n
    \n
  • org (str): The organization name.
  • \n
\n", "signature": "(org: str) -> None:", "funcdef": "def"}, "vanna.store_sql": {"fullname": "vanna.store_sql", "modulename": "vanna", "qualname": "store_sql", "kind": "function", "doc": "

Store a question and its corresponding SQL query in the Vanna.AI database.

\n\n
Arguments:
\n\n
    \n
  • question (str): The question to store.
  • \n
  • sql (str): The SQL query to store.
  • \n
\n", "signature": "(question: str, sql: str) -> bool:", "funcdef": "def"}, "vanna.flag_sql_for_review": {"fullname": "vanna.flag_sql_for_review", "modulename": "vanna", "qualname": "flag_sql_for_review", "kind": "function", "doc": "

Flag a question and its corresponding SQL query for review by the Vanna.AI team.

\n\n
Arguments:
\n\n
    \n
  • question (str): The question to flag.
  • \n
  • sql (str): The SQL query to flag.
  • \n
  • error_msg (str): The error message to flag.
  • \n
\n\n
Returns:
\n\n
\n

bool: True if the question and SQL query were flagged successfully, False otherwise.

\n
\n", "signature": "(\tquestion: str,\tsql: Optional[str] = None,\terror_msg: Optional[str] = None) -> bool:", "funcdef": "def"}, "vanna.remove_sql": {"fullname": "vanna.remove_sql", "modulename": "vanna", "qualname": "remove_sql", "kind": "function", "doc": "

Remove a question and its corresponding SQL query from the Vanna.AI database.

\n\n
Arguments:
\n\n
    \n
  • question (str): The question to remove.
  • \n
\n", "signature": "(question: str) -> bool:", "funcdef": "def"}, "vanna.generate_sql": {"fullname": "vanna.generate_sql", "modulename": "vanna", "qualname": "generate_sql", "kind": "function", "doc": "

Generate an SQL query using the Vanna.AI API.

\n\n
Arguments:
\n\n
    \n
  • question (str): The question to generate an SQL query for.
  • \n
\n\n
Returns:
\n\n
\n

str or None: The SQL query, or None if an error occurred.

\n
\n", "signature": "(question: str) -> str:", "funcdef": "def"}, "vanna.generate_plotly_code": {"fullname": "vanna.generate_plotly_code", "modulename": "vanna", "qualname": "generate_plotly_code", "kind": "function", "doc": "

Generate Plotly code using the Vanna.AI API.

\n\n
Arguments:
\n\n
    \n
  • question (str): The question to generate Plotly code for.
  • \n
  • sql (str): The SQL query to generate Plotly code for.
  • \n
  • df (pd.DataFrame): The dataframe to generate Plotly code for.
  • \n
\n\n
Returns:
\n\n
\n

str or None: The Plotly code, or None if an error occurred.

\n
\n", "signature": "(\tquestion: Optional[str],\tsql: Optional[str],\tdf: pandas.core.frame.DataFrame) -> str:", "funcdef": "def"}, "vanna.get_plotly_figure": {"fullname": "vanna.get_plotly_figure", "modulename": "vanna", "qualname": "get_plotly_figure", "kind": "function", "doc": "

Get a Plotly figure from a dataframe and Plotly code.

\n\n
Arguments:
\n\n
    \n
  • df (pd.DataFrame): The dataframe to use.
  • \n
  • plotly_code (str): The Plotly code to use.
  • \n
\n\n
Returns:
\n\n
\n

plotly.graph_objs.Figure: The Plotly figure.

\n
\n", "signature": "(\tplotly_code: str,\tdf: pandas.core.frame.DataFrame,\tdark_mode: bool = True) -> plotly.graph_objs._figure.Figure:", "funcdef": "def"}, "vanna.get_results": {"fullname": "vanna.get_results", "modulename": "vanna", "qualname": "get_results", "kind": "function", "doc": "

Run the SQL query and return the results as a pandas dataframe.

\n\n
Arguments:
\n\n
    \n
  • cs: Snowflake connection cursor.
  • \n
  • default_database (str): The default database to use.
  • \n
  • sql (str): The SQL query to execute.
  • \n
\n\n
Returns:
\n\n
\n

pd.DataFrame: The results of the SQL query.

\n
\n", "signature": "(cs, default_database: str, sql: str) -> pandas.core.frame.DataFrame:", "funcdef": "def"}, "vanna.generate_explanation": {"fullname": "vanna.generate_explanation", "modulename": "vanna", "qualname": "generate_explanation", "kind": "function", "doc": "

Example

\n\n
\n
vn.generate_explanation(sql="SELECT * FROM students WHERE name = 'John Doe'")\n# 'AI Response'\n
\n
\n\n

Generate an explanation of an SQL query using the Vanna.AI API.

\n\n
Arguments:
\n\n
    \n
  • sql (str): The SQL query to generate an explanation for.
  • \n
\n\n
Returns:
\n\n
\n

str or None: The explanation, or None if an error occurred.

\n
\n", "signature": "(sql: str) -> str:", "funcdef": "def"}, "vanna.generate_question": {"fullname": "vanna.generate_question", "modulename": "vanna", "qualname": "generate_question", "kind": "function", "doc": "

Example

\n\n
\n
vn.generate_question(sql="SELECT * FROM students WHERE name = 'John Doe'")\n# 'AI Response'\n
\n
\n\n

Generate a question from an SQL query using the Vanna.AI API.

\n\n
Arguments:
\n\n
    \n
  • sql (str): The SQL query to generate a question for.
  • \n
\n\n
Returns:
\n\n
\n

str or None: The question, or None if an error occurred.

\n
\n", "signature": "(sql: str) -> str:", "funcdef": "def"}, "vanna.get_flagged_questions": {"fullname": "vanna.get_flagged_questions", "modulename": "vanna", "qualname": "get_flagged_questions", "kind": "function", "doc": "

Example

\n\n
\n
vn.get_flagged_questions()\n# [FullQuestionDocument(...), ...]\n
\n
\n\n

Get a list of flagged questions from the Vanna.AI API.

\n\n
Returns:
\n\n
\n

List[FullQuestionDocument] or None: The list of flagged questions, or None if an error occurred.

\n
\n", "signature": "() -> vanna.types.QuestionList:", "funcdef": "def"}, "vanna.get_accuracy_stats": {"fullname": "vanna.get_accuracy_stats", "modulename": "vanna", "qualname": "get_accuracy_stats", "kind": "function", "doc": "

Example

\n\n
\n
vn.get_accuracy_stats()\n# {'accuracy': 0.0, 'total': 0, 'correct': 0}\n
\n
\n\n

Get the accuracy statistics from the Vanna.AI API.

\n\n
Returns:
\n\n
\n

dict or None: The accuracy statistics, or None if an error occurred.

\n
\n", "signature": "() -> vanna.types.AccuracyStats:", "funcdef": "def"}, "vanna.types": {"fullname": "vanna.types", "modulename": "vanna.types", "kind": "module", "doc": "

\n"}, "vanna.types.Status": {"fullname": "vanna.types.Status", "modulename": "vanna.types", "qualname": "Status", "kind": "class", "doc": "

\n"}, "vanna.types.Status.__init__": {"fullname": "vanna.types.Status.__init__", "modulename": "vanna.types", "qualname": "Status.__init__", "kind": "function", "doc": "

\n", "signature": "(success: bool, message: str)"}, "vanna.types.Status.success": {"fullname": "vanna.types.Status.success", "modulename": "vanna.types", "qualname": "Status.success", "kind": "variable", "doc": "

\n", "annotation": ": bool"}, "vanna.types.Status.message": {"fullname": "vanna.types.Status.message", "modulename": "vanna.types", "qualname": "Status.message", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.QuestionList": {"fullname": "vanna.types.QuestionList", "modulename": "vanna.types", "qualname": "QuestionList", "kind": "class", "doc": "

\n"}, "vanna.types.QuestionList.__init__": {"fullname": "vanna.types.QuestionList.__init__", "modulename": "vanna.types", "qualname": "QuestionList.__init__", "kind": "function", "doc": "

\n", "signature": "(questions: List[vanna.types.FullQuestionDocument])"}, "vanna.types.QuestionList.questions": {"fullname": "vanna.types.QuestionList.questions", "modulename": "vanna.types", "qualname": "QuestionList.questions", "kind": "variable", "doc": "

\n", "annotation": ": List[vanna.types.FullQuestionDocument]"}, "vanna.types.FullQuestionDocument": {"fullname": "vanna.types.FullQuestionDocument", "modulename": "vanna.types", "qualname": "FullQuestionDocument", "kind": "class", "doc": "

\n"}, "vanna.types.FullQuestionDocument.__init__": {"fullname": "vanna.types.FullQuestionDocument.__init__", "modulename": "vanna.types", "qualname": "FullQuestionDocument.__init__", "kind": "function", "doc": "

\n", "signature": "(\tid: vanna.types.QuestionId,\tquestion: vanna.types.Question,\tanswer: vanna.types.SQLAnswer | None,\tdata: vanna.types.DataResult | None,\tplotly: vanna.types.PlotlyResult | None)"}, "vanna.types.FullQuestionDocument.id": {"fullname": "vanna.types.FullQuestionDocument.id", "modulename": "vanna.types", "qualname": "FullQuestionDocument.id", "kind": "variable", "doc": "

\n", "annotation": ": vanna.types.QuestionId"}, "vanna.types.FullQuestionDocument.question": {"fullname": "vanna.types.FullQuestionDocument.question", "modulename": "vanna.types", "qualname": "FullQuestionDocument.question", "kind": "variable", "doc": "

\n", "annotation": ": vanna.types.Question"}, "vanna.types.FullQuestionDocument.answer": {"fullname": "vanna.types.FullQuestionDocument.answer", "modulename": "vanna.types", "qualname": "FullQuestionDocument.answer", "kind": "variable", "doc": "

\n", "annotation": ": vanna.types.SQLAnswer | None"}, "vanna.types.FullQuestionDocument.data": {"fullname": "vanna.types.FullQuestionDocument.data", "modulename": "vanna.types", "qualname": "FullQuestionDocument.data", "kind": "variable", "doc": "

\n", "annotation": ": vanna.types.DataResult | None"}, "vanna.types.FullQuestionDocument.plotly": {"fullname": "vanna.types.FullQuestionDocument.plotly", "modulename": "vanna.types", "qualname": "FullQuestionDocument.plotly", "kind": "variable", "doc": "

\n", "annotation": ": vanna.types.PlotlyResult | None"}, "vanna.types.QuestionSQLPair": {"fullname": "vanna.types.QuestionSQLPair", "modulename": "vanna.types", "qualname": "QuestionSQLPair", "kind": "class", "doc": "

\n"}, "vanna.types.QuestionSQLPair.__init__": {"fullname": "vanna.types.QuestionSQLPair.__init__", "modulename": "vanna.types", "qualname": "QuestionSQLPair.__init__", "kind": "function", "doc": "

\n", "signature": "(question: str, sql: str)"}, "vanna.types.QuestionSQLPair.question": {"fullname": "vanna.types.QuestionSQLPair.question", "modulename": "vanna.types", "qualname": "QuestionSQLPair.question", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.QuestionSQLPair.sql": {"fullname": "vanna.types.QuestionSQLPair.sql", "modulename": "vanna.types", "qualname": "QuestionSQLPair.sql", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.Organization": {"fullname": "vanna.types.Organization", "modulename": "vanna.types", "qualname": "Organization", "kind": "class", "doc": "

\n"}, "vanna.types.Organization.__init__": {"fullname": "vanna.types.Organization.__init__", "modulename": "vanna.types", "qualname": "Organization.__init__", "kind": "function", "doc": "

\n", "signature": "(\tname: str,\tuser: str | None,\tconnection: vanna.types.Connection | None)"}, "vanna.types.Organization.name": {"fullname": "vanna.types.Organization.name", "modulename": "vanna.types", "qualname": "Organization.name", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.Organization.user": {"fullname": "vanna.types.Organization.user", "modulename": "vanna.types", "qualname": "Organization.user", "kind": "variable", "doc": "

\n", "annotation": ": str | None"}, "vanna.types.Organization.connection": {"fullname": "vanna.types.Organization.connection", "modulename": "vanna.types", "qualname": "Organization.connection", "kind": "variable", "doc": "

\n", "annotation": ": vanna.types.Connection | None"}, "vanna.types.QuestionId": {"fullname": "vanna.types.QuestionId", "modulename": "vanna.types", "qualname": "QuestionId", "kind": "class", "doc": "

\n"}, "vanna.types.QuestionId.__init__": {"fullname": "vanna.types.QuestionId.__init__", "modulename": "vanna.types", "qualname": "QuestionId.__init__", "kind": "function", "doc": "

\n", "signature": "(id: str)"}, "vanna.types.QuestionId.id": {"fullname": "vanna.types.QuestionId.id", "modulename": "vanna.types", "qualname": "QuestionId.id", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.Question": {"fullname": "vanna.types.Question", "modulename": "vanna.types", "qualname": "Question", "kind": "class", "doc": "

\n"}, "vanna.types.Question.__init__": {"fullname": "vanna.types.Question.__init__", "modulename": "vanna.types", "qualname": "Question.__init__", "kind": "function", "doc": "

\n", "signature": "(question: str)"}, "vanna.types.Question.question": {"fullname": "vanna.types.Question.question", "modulename": "vanna.types", "qualname": "Question.question", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.QuestionCategory": {"fullname": "vanna.types.QuestionCategory", "modulename": "vanna.types", "qualname": "QuestionCategory", "kind": "class", "doc": "

\n"}, "vanna.types.QuestionCategory.__init__": {"fullname": "vanna.types.QuestionCategory.__init__", "modulename": "vanna.types", "qualname": "QuestionCategory.__init__", "kind": "function", "doc": "

\n", "signature": "(question: str, category: str)"}, "vanna.types.QuestionCategory.question": {"fullname": "vanna.types.QuestionCategory.question", "modulename": "vanna.types", "qualname": "QuestionCategory.question", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.QuestionCategory.category": {"fullname": "vanna.types.QuestionCategory.category", "modulename": "vanna.types", "qualname": "QuestionCategory.category", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"fullname": "vanna.types.QuestionCategory.NO_SQL_GENERATED", "modulename": "vanna.types", "qualname": "QuestionCategory.NO_SQL_GENERATED", "kind": "variable", "doc": "

\n", "default_value": "'No SQL Generated'"}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"fullname": "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN", "modulename": "vanna.types", "qualname": "QuestionCategory.SQL_UNABLE_TO_RUN", "kind": "variable", "doc": "

\n", "default_value": "'SQL Unable to Run'"}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"fullname": "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY", "modulename": "vanna.types", "qualname": "QuestionCategory.BOOTSTRAP_TRAINING_QUERY", "kind": "variable", "doc": "

\n", "default_value": "'Bootstrap Training Query'"}, "vanna.types.QuestionCategory.ASSUMED_CORRECT": {"fullname": "vanna.types.QuestionCategory.ASSUMED_CORRECT", "modulename": "vanna.types", "qualname": "QuestionCategory.ASSUMED_CORRECT", "kind": "variable", "doc": "

\n", "default_value": "'Assumed Correct'"}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"fullname": "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW", "modulename": "vanna.types", "qualname": "QuestionCategory.FLAGGED_FOR_REVIEW", "kind": "variable", "doc": "

\n", "default_value": "'Flagged for Review'"}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"fullname": "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED", "modulename": "vanna.types", "qualname": "QuestionCategory.REVIEWED_AND_APPROVED", "kind": "variable", "doc": "

\n", "default_value": "'Reviewed and Approved'"}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"fullname": "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED", "modulename": "vanna.types", "qualname": "QuestionCategory.REVIEWED_AND_REJECTED", "kind": "variable", "doc": "

\n", "default_value": "'Reviewed and Rejected'"}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"fullname": "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED", "modulename": "vanna.types", "qualname": "QuestionCategory.REVIEWED_AND_UPDATED", "kind": "variable", "doc": "

\n", "default_value": "'Reviewed and Updated'"}, "vanna.types.AccuracyStats": {"fullname": "vanna.types.AccuracyStats", "modulename": "vanna.types", "qualname": "AccuracyStats", "kind": "class", "doc": "

\n"}, "vanna.types.AccuracyStats.__init__": {"fullname": "vanna.types.AccuracyStats.__init__", "modulename": "vanna.types", "qualname": "AccuracyStats.__init__", "kind": "function", "doc": "

\n", "signature": "(num_questions: int, data: Dict[str, int])"}, "vanna.types.AccuracyStats.num_questions": {"fullname": "vanna.types.AccuracyStats.num_questions", "modulename": "vanna.types", "qualname": "AccuracyStats.num_questions", "kind": "variable", "doc": "

\n", "annotation": ": int"}, "vanna.types.AccuracyStats.data": {"fullname": "vanna.types.AccuracyStats.data", "modulename": "vanna.types", "qualname": "AccuracyStats.data", "kind": "variable", "doc": "

\n", "annotation": ": Dict[str, int]"}, "vanna.types.Followup": {"fullname": "vanna.types.Followup", "modulename": "vanna.types", "qualname": "Followup", "kind": "class", "doc": "

\n"}, "vanna.types.Followup.__init__": {"fullname": "vanna.types.Followup.__init__", "modulename": "vanna.types", "qualname": "Followup.__init__", "kind": "function", "doc": "

\n", "signature": "(followup: str)"}, "vanna.types.Followup.followup": {"fullname": "vanna.types.Followup.followup", "modulename": "vanna.types", "qualname": "Followup.followup", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.QuestionEmbedding": {"fullname": "vanna.types.QuestionEmbedding", "modulename": "vanna.types", "qualname": "QuestionEmbedding", "kind": "class", "doc": "

\n"}, "vanna.types.QuestionEmbedding.__init__": {"fullname": "vanna.types.QuestionEmbedding.__init__", "modulename": "vanna.types", "qualname": "QuestionEmbedding.__init__", "kind": "function", "doc": "

\n", "signature": "(question: vanna.types.Question, embedding: List[float])"}, "vanna.types.QuestionEmbedding.question": {"fullname": "vanna.types.QuestionEmbedding.question", "modulename": "vanna.types", "qualname": "QuestionEmbedding.question", "kind": "variable", "doc": "

\n", "annotation": ": vanna.types.Question"}, "vanna.types.QuestionEmbedding.embedding": {"fullname": "vanna.types.QuestionEmbedding.embedding", "modulename": "vanna.types", "qualname": "QuestionEmbedding.embedding", "kind": "variable", "doc": "

\n", "annotation": ": List[float]"}, "vanna.types.Connection": {"fullname": "vanna.types.Connection", "modulename": "vanna.types", "qualname": "Connection", "kind": "class", "doc": "

\n"}, "vanna.types.SQLAnswer": {"fullname": "vanna.types.SQLAnswer", "modulename": "vanna.types", "qualname": "SQLAnswer", "kind": "class", "doc": "

\n"}, "vanna.types.SQLAnswer.__init__": {"fullname": "vanna.types.SQLAnswer.__init__", "modulename": "vanna.types", "qualname": "SQLAnswer.__init__", "kind": "function", "doc": "

\n", "signature": "(raw_answer: str, prefix: str, postfix: str, sql: str)"}, "vanna.types.SQLAnswer.raw_answer": {"fullname": "vanna.types.SQLAnswer.raw_answer", "modulename": "vanna.types", "qualname": "SQLAnswer.raw_answer", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.SQLAnswer.prefix": {"fullname": "vanna.types.SQLAnswer.prefix", "modulename": "vanna.types", "qualname": "SQLAnswer.prefix", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.SQLAnswer.postfix": {"fullname": "vanna.types.SQLAnswer.postfix", "modulename": "vanna.types", "qualname": "SQLAnswer.postfix", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.SQLAnswer.sql": {"fullname": "vanna.types.SQLAnswer.sql", "modulename": "vanna.types", "qualname": "SQLAnswer.sql", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.Explanation": {"fullname": "vanna.types.Explanation", "modulename": "vanna.types", "qualname": "Explanation", "kind": "class", "doc": "

\n"}, "vanna.types.Explanation.__init__": {"fullname": "vanna.types.Explanation.__init__", "modulename": "vanna.types", "qualname": "Explanation.__init__", "kind": "function", "doc": "

\n", "signature": "(explanation: str)"}, "vanna.types.Explanation.explanation": {"fullname": "vanna.types.Explanation.explanation", "modulename": "vanna.types", "qualname": "Explanation.explanation", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.DataResult": {"fullname": "vanna.types.DataResult", "modulename": "vanna.types", "qualname": "DataResult", "kind": "class", "doc": "

\n"}, "vanna.types.DataResult.__init__": {"fullname": "vanna.types.DataResult.__init__", "modulename": "vanna.types", "qualname": "DataResult.__init__", "kind": "function", "doc": "

\n", "signature": "(\tquestion: str | None,\tsql: str | None,\ttable_markdown: str,\terror: str | None,\tcorrection_attempts: int)"}, "vanna.types.DataResult.question": {"fullname": "vanna.types.DataResult.question", "modulename": "vanna.types", "qualname": "DataResult.question", "kind": "variable", "doc": "

\n", "annotation": ": str | None"}, "vanna.types.DataResult.sql": {"fullname": "vanna.types.DataResult.sql", "modulename": "vanna.types", "qualname": "DataResult.sql", "kind": "variable", "doc": "

\n", "annotation": ": str | None"}, "vanna.types.DataResult.table_markdown": {"fullname": "vanna.types.DataResult.table_markdown", "modulename": "vanna.types", "qualname": "DataResult.table_markdown", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.DataResult.error": {"fullname": "vanna.types.DataResult.error", "modulename": "vanna.types", "qualname": "DataResult.error", "kind": "variable", "doc": "

\n", "annotation": ": str | None"}, "vanna.types.DataResult.correction_attempts": {"fullname": "vanna.types.DataResult.correction_attempts", "modulename": "vanna.types", "qualname": "DataResult.correction_attempts", "kind": "variable", "doc": "

\n", "annotation": ": int"}, "vanna.types.PlotlyResult": {"fullname": "vanna.types.PlotlyResult", "modulename": "vanna.types", "qualname": "PlotlyResult", "kind": "class", "doc": "

\n"}, "vanna.types.PlotlyResult.__init__": {"fullname": "vanna.types.PlotlyResult.__init__", "modulename": "vanna.types", "qualname": "PlotlyResult.__init__", "kind": "function", "doc": "

\n", "signature": "(plotly_code: str)"}, "vanna.types.PlotlyResult.plotly_code": {"fullname": "vanna.types.PlotlyResult.plotly_code", "modulename": "vanna.types", "qualname": "PlotlyResult.plotly_code", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.WarehouseDefinition": {"fullname": "vanna.types.WarehouseDefinition", "modulename": "vanna.types", "qualname": "WarehouseDefinition", "kind": "class", "doc": "

\n"}, "vanna.types.WarehouseDefinition.__init__": {"fullname": "vanna.types.WarehouseDefinition.__init__", "modulename": "vanna.types", "qualname": "WarehouseDefinition.__init__", "kind": "function", "doc": "

\n", "signature": "(name: str, tables: List[vanna.types.TableDefinition])"}, "vanna.types.WarehouseDefinition.name": {"fullname": "vanna.types.WarehouseDefinition.name", "modulename": "vanna.types", "qualname": "WarehouseDefinition.name", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.WarehouseDefinition.tables": {"fullname": "vanna.types.WarehouseDefinition.tables", "modulename": "vanna.types", "qualname": "WarehouseDefinition.tables", "kind": "variable", "doc": "

\n", "annotation": ": List[vanna.types.TableDefinition]"}, "vanna.types.TableDefinition": {"fullname": "vanna.types.TableDefinition", "modulename": "vanna.types", "qualname": "TableDefinition", "kind": "class", "doc": "

\n"}, "vanna.types.TableDefinition.__init__": {"fullname": "vanna.types.TableDefinition.__init__", "modulename": "vanna.types", "qualname": "TableDefinition.__init__", "kind": "function", "doc": "

\n", "signature": "(\tschema_name: str,\ttable_name: str,\tddl: str | None,\tcolumns: List[vanna.types.ColumnDefinition])"}, "vanna.types.TableDefinition.schema_name": {"fullname": "vanna.types.TableDefinition.schema_name", "modulename": "vanna.types", "qualname": "TableDefinition.schema_name", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.TableDefinition.table_name": {"fullname": "vanna.types.TableDefinition.table_name", "modulename": "vanna.types", "qualname": "TableDefinition.table_name", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.TableDefinition.ddl": {"fullname": "vanna.types.TableDefinition.ddl", "modulename": "vanna.types", "qualname": "TableDefinition.ddl", "kind": "variable", "doc": "

\n", "annotation": ": str | None"}, "vanna.types.TableDefinition.columns": {"fullname": "vanna.types.TableDefinition.columns", "modulename": "vanna.types", "qualname": "TableDefinition.columns", "kind": "variable", "doc": "

\n", "annotation": ": List[vanna.types.ColumnDefinition]"}, "vanna.types.ColumnDefinition": {"fullname": "vanna.types.ColumnDefinition", "modulename": "vanna.types", "qualname": "ColumnDefinition", "kind": "class", "doc": "

\n"}, "vanna.types.ColumnDefinition.__init__": {"fullname": "vanna.types.ColumnDefinition.__init__", "modulename": "vanna.types", "qualname": "ColumnDefinition.__init__", "kind": "function", "doc": "

\n", "signature": "(\tname: str,\ttype: str,\tis_primary_key: bool,\tis_foreign_key: bool,\tforeign_key_table: str,\tforeign_key_column: str)"}, "vanna.types.ColumnDefinition.name": {"fullname": "vanna.types.ColumnDefinition.name", "modulename": "vanna.types", "qualname": "ColumnDefinition.name", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.ColumnDefinition.type": {"fullname": "vanna.types.ColumnDefinition.type", "modulename": "vanna.types", "qualname": "ColumnDefinition.type", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.ColumnDefinition.is_primary_key": {"fullname": "vanna.types.ColumnDefinition.is_primary_key", "modulename": "vanna.types", "qualname": "ColumnDefinition.is_primary_key", "kind": "variable", "doc": "

\n", "annotation": ": bool"}, "vanna.types.ColumnDefinition.is_foreign_key": {"fullname": "vanna.types.ColumnDefinition.is_foreign_key", "modulename": "vanna.types", "qualname": "ColumnDefinition.is_foreign_key", "kind": "variable", "doc": "

\n", "annotation": ": bool"}, "vanna.types.ColumnDefinition.foreign_key_table": {"fullname": "vanna.types.ColumnDefinition.foreign_key_table", "modulename": "vanna.types", "qualname": "ColumnDefinition.foreign_key_table", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.ColumnDefinition.foreign_key_column": {"fullname": "vanna.types.ColumnDefinition.foreign_key_column", "modulename": "vanna.types", "qualname": "ColumnDefinition.foreign_key_column", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.Diagram": {"fullname": "vanna.types.Diagram", "modulename": "vanna.types", "qualname": "Diagram", "kind": "class", "doc": "

\n"}, "vanna.types.Diagram.__init__": {"fullname": "vanna.types.Diagram.__init__", "modulename": "vanna.types", "qualname": "Diagram.__init__", "kind": "function", "doc": "

\n", "signature": "(raw: str, mermaid_code: str)"}, "vanna.types.Diagram.raw": {"fullname": "vanna.types.Diagram.raw", "modulename": "vanna.types", "qualname": "Diagram.raw", "kind": "variable", "doc": "

\n", "annotation": ": str"}, "vanna.types.Diagram.mermaid_code": {"fullname": "vanna.types.Diagram.mermaid_code", "modulename": "vanna.types", "qualname": "Diagram.mermaid_code", "kind": "variable", "doc": "

\n", "annotation": ": str"}}, "docInfo": {"vanna": {"qualname": 0, "fullname": 1, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 1004}, "vanna.api_key": {"qualname": 2, "fullname": 3, "annotation": 2, "default_value": 1, "signature": 0, "bases": 0, "doc": 3}, "vanna.set_org": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 30}, "vanna.store_sql": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 29, "bases": 0, "doc": 48}, "vanna.flag_sql_for_review": {"qualname": 4, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 69, "bases": 0, "doc": 87}, "vanna.remove_sql": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 35}, "vanna.generate_sql": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 57}, "vanna.generate_plotly_code": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 69, "bases": 0, "doc": 87}, "vanna.get_plotly_figure": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 83, "bases": 0, "doc": 64}, "vanna.get_results": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 50, "bases": 0, "doc": 76}, "vanna.generate_explanation": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 116}, "vanna.generate_question": {"qualname": 2, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 19, "bases": 0, "doc": 116}, "vanna.get_flagged_questions": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 20, "bases": 0, "doc": 70}, "vanna.get_accuracy_stats": {"qualname": 3, "fullname": 4, "annotation": 0, "default_value": 0, "signature": 20, "bases": 0, "doc": 81}, "vanna.types": {"qualname": 0, "fullname": 2, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Status": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Status.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 3}, "vanna.types.Status.success": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Status.message": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionList": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionList.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 30, "bases": 0, "doc": 3}, "vanna.types.QuestionList.questions": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 127, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument.id": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument.question": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument.answer": {"qualname": 2, "fullname": 4, "annotation": 6, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument.data": {"qualname": 2, "fullname": 4, "annotation": 6, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.FullQuestionDocument.plotly": {"qualname": 2, "fullname": 4, "annotation": 6, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionSQLPair": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionSQLPair.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 3}, "vanna.types.QuestionSQLPair.question": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionSQLPair.sql": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Organization": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Organization.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 59, "bases": 0, "doc": 3}, "vanna.types.Organization.name": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Organization.user": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Organization.connection": {"qualname": 2, "fullname": 4, "annotation": 6, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionId": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionId.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.QuestionId.id": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Question": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Question.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.Question.question": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 24, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.question": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.category": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"qualname": 5, "fullname": 7, "annotation": 0, "default_value": 8, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.ASSUMED_CORRECT": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 6, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"qualname": 4, "fullname": 6, "annotation": 0, "default_value": 7, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.AccuracyStats": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.AccuracyStats.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 37, "bases": 0, "doc": 3}, "vanna.types.AccuracyStats.num_questions": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.AccuracyStats.data": {"qualname": 2, "fullname": 4, "annotation": 3, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Followup": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Followup.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.Followup.followup": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionEmbedding": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionEmbedding.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 3}, "vanna.types.QuestionEmbedding.question": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.QuestionEmbedding.embedding": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Connection": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.SQLAnswer": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.SQLAnswer.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 45, "bases": 0, "doc": 3}, "vanna.types.SQLAnswer.raw_answer": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.SQLAnswer.prefix": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.SQLAnswer.postfix": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.SQLAnswer.sql": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Explanation": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Explanation.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 14, "bases": 0, "doc": 3}, "vanna.types.Explanation.explanation": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataResult": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataResult.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 79, "bases": 0, "doc": 3}, "vanna.types.DataResult.question": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataResult.sql": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataResult.table_markdown": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataResult.error": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.DataResult.correction_attempts": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.PlotlyResult": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.PlotlyResult.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 15, "bases": 0, "doc": 3}, "vanna.types.PlotlyResult.plotly_code": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.WarehouseDefinition": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.WarehouseDefinition.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 40, "bases": 0, "doc": 3}, "vanna.types.WarehouseDefinition.name": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.WarehouseDefinition.tables": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TableDefinition": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TableDefinition.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 72, "bases": 0, "doc": 3}, "vanna.types.TableDefinition.schema_name": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TableDefinition.table_name": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TableDefinition.ddl": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.TableDefinition.columns": {"qualname": 2, "fullname": 4, "annotation": 4, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 78, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.name": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.type": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.is_primary_key": {"qualname": 4, "fullname": 6, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.is_foreign_key": {"qualname": 4, "fullname": 6, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.foreign_key_table": {"qualname": 4, "fullname": 6, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.ColumnDefinition.foreign_key_column": {"qualname": 4, "fullname": 6, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Diagram": {"qualname": 1, "fullname": 3, "annotation": 0, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Diagram.__init__": {"qualname": 3, "fullname": 5, "annotation": 0, "default_value": 0, "signature": 25, "bases": 0, "doc": 3}, "vanna.types.Diagram.raw": {"qualname": 2, "fullname": 4, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}, "vanna.types.Diagram.mermaid_code": {"qualname": 3, "fullname": 5, "annotation": 2, "default_value": 0, "signature": 0, "bases": 0, "doc": 3}}, "length": 109, "save": true}, "index": {"qualname": {"root": {"docs": {"vanna.types.Status.__init__": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}}, "df": 19, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"vanna.api_key": {"tf": 1}}, "df": 1}, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}}, "df": 1}}}}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.AccuracyStats": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}}, "df": 4}}}}}}}}}}}}, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}}, "df": 2}}}}, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 3}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 1}}}}}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"vanna.api_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 5}}}, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"vanna.set_org": {"tf": 1}}, "df": 1}}, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.store_sql": {"tf": 1}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1}, "u": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.Status": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.Status.success": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}}, "df": 4}}}}}, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}}, "df": 9, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.SQLAnswer": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.SQLAnswer.prefix": {"tf": 1}, "vanna.types.SQLAnswer.postfix": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}}, "df": 6}}}}}}}}, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.Status.success": {"tf": 1}}, "df": 1}}}}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.TableDefinition.schema_name": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "g": {"docs": {"vanna.set_org": {"tf": 1}}, "df": 1, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Organization": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}}, "df": 5}}}}}}}}}}}}, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.get_flagged_questions": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 2}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 3}}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.Followup": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1.4142135623730951}}, "df": 3}}}}}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.FullQuestionDocument": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}}, "df": 7}}}}}}}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "w": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 3}}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"vanna.remove_sql": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}}, "df": 1}}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "w": {"docs": {"vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}}, "df": 2}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 4, "d": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1}}}}}}}, "t": {"docs": {"vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 4}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}}, "df": 4, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.PlotlyResult": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}}, "df": 3}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.prefix": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.postfix": {"tf": 1}}, "df": 1}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 3}}, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Organization.connection": {"tf": 1}, "vanna.types.Connection": {"tf": 1}}, "df": 2}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}}, "df": 1, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 8}}}}}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.category": {"tf": 1}}, "df": 1}}}}}}}}, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.generate_explanation": {"tf": 1}, "vanna.types.Explanation": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1.4142135623730951}}, "df": 4}}}}}}}}}}, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionEmbedding.embedding": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.DataResult.error": {"tf": 1}}, "df": 1}}}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.generate_question": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.Question": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.Question.question": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}}, "df": 9, "s": {"docs": {"vanna.get_flagged_questions": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}}, "df": 3, "q": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.QuestionSQLPair": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}}, "df": 4}}}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionList": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}}, "df": 3}}}}, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionId": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}}, "df": 3}}, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionCategory.category": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}, "vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 12}}}}}}}}, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionEmbedding": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1}}, "df": 4}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.Status.__init__": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}}, "df": 19}}}, "d": {"docs": {"vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}}, "df": 2}, "s": {"docs": {"vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}}, "df": 2}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.Status.message": {"tf": 1}}, "df": 1}}}}}, "r": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.table_markdown": {"tf": 1}}, "df": 1}}}}}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}}, "df": 2, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.DataResult": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1}, "vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 7}}}}}}}}}, "d": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.TableDefinition.ddl": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {"vanna.types.Diagram": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 4}}}}}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.Organization.name": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}}, "df": 5}}}, "o": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1}, "u": {"docs": {}, "df": 0, "m": {"docs": {"vanna.types.AccuracyStats.num_questions": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.Organization.user": {"tf": 1}}, "df": 1}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}}}}}, "p": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 1}}}}}}}, "t": {"docs": {}, "df": 0, "o": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}}}, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}}, "df": 3, "s": {"docs": {"vanna.types.WarehouseDefinition.tables": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.TableDefinition": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}, "vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 6}}}}}}}}}}}}}}, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.ColumnDefinition.type": {"tf": 1}}, "df": 1}}}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}}}}}, "w": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.WarehouseDefinition": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}}, "df": 4}}}}}}}}}}}}}}}}}}}}}, "fullname": {"root": {"docs": {"vanna.types.Status.__init__": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}}, "df": 19, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 1}, "vanna.api_key": {"tf": 1}, "vanna.set_org": {"tf": 1}, "vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}, "vanna.types": {"tf": 1}, "vanna.types.Status": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.Status.success": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}, "vanna.types.QuestionList": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.FullQuestionDocument": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.QuestionSQLPair": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.Organization": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}, "vanna.types.QuestionId": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}, "vanna.types.Question": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.Question.question": {"tf": 1}, "vanna.types.QuestionCategory": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionCategory.category": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}, "vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}, "vanna.types.AccuracyStats": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}, "vanna.types.Followup": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1}, "vanna.types.QuestionEmbedding": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1}, "vanna.types.Connection": {"tf": 1}, "vanna.types.SQLAnswer": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.SQLAnswer.prefix": {"tf": 1}, "vanna.types.SQLAnswer.postfix": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}, "vanna.types.Explanation": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1}, "vanna.types.DataResult": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1}, "vanna.types.DataResult.correction_attempts": {"tf": 1}, "vanna.types.PlotlyResult": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.WarehouseDefinition": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}, "vanna.types.TableDefinition": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}, "vanna.types.TableDefinition.columns": {"tf": 1}, "vanna.types.ColumnDefinition": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}, "vanna.types.Diagram": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 109}}}}}, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "i": {"docs": {"vanna.api_key": {"tf": 1}}, "df": 1}, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}}, "df": 1}}}}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.AccuracyStats": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}}, "df": 4}}}}}}}}}}}}, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}}, "df": 2}}}}, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 3}}, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 1}}}}}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"vanna.api_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 5}}}, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "t": {"docs": {"vanna.set_org": {"tf": 1}}, "df": 1}}, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.store_sql": {"tf": 1}}, "df": 1}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1}, "u": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.Status": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.Status.success": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}}, "df": 4}}}}}, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}}, "df": 9, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.SQLAnswer": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.SQLAnswer.prefix": {"tf": 1}, "vanna.types.SQLAnswer.postfix": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}}, "df": 6}}}}}}}}, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.Status.success": {"tf": 1}}, "df": 1}}}}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.TableDefinition.schema_name": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "g": {"docs": {"vanna.set_org": {"tf": 1}}, "df": 1, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Organization": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}}, "df": 5}}}}}}}}}}}}, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.get_flagged_questions": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 2}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 3}}}}}, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.Followup": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1.4142135623730951}}, "df": 3}}}}}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.FullQuestionDocument": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}}, "df": 7}}}}}}}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "w": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 2, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 3}}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"vanna.remove_sql": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}}, "df": 1}}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}}, "a": {"docs": {}, "df": 0, "w": {"docs": {"vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}}, "df": 2}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 4, "d": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1}}}}}}}, "t": {"docs": {"vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 4}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}}, "df": 4, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.PlotlyResult": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}}, "df": 3}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.prefix": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.postfix": {"tf": 1}}, "df": 1}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 3}}, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Organization.connection": {"tf": 1}, "vanna.types.Connection": {"tf": 1}}, "df": 2}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}}, "df": 1, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}}, "df": 8}}}}}}}}}}}}}}}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.category": {"tf": 1}}, "df": 1}}}}}}}}, "e": {"docs": {}, "df": 0, "x": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.generate_explanation": {"tf": 1}, "vanna.types.Explanation": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1.4142135623730951}}, "df": 4}}}}}}}}}}, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionEmbedding.embedding": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.DataResult.error": {"tf": 1}}, "df": 1}}}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.generate_question": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.Question": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.Question.question": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}}, "df": 9, "s": {"docs": {"vanna.get_flagged_questions": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}}, "df": 3, "q": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.QuestionSQLPair": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}}, "df": 4}}}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionList": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}}, "df": 3}}}}, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionId": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}}, "df": 3}}, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionCategory.category": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}, "vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 12}}}}}}}}, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionEmbedding": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1}}, "df": 4}}}}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}, "t": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.ColumnDefinition.type": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.types": {"tf": 1}, "vanna.types.Status": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.Status.success": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}, "vanna.types.QuestionList": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.FullQuestionDocument": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.QuestionSQLPair": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.Organization": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}, "vanna.types.QuestionId": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}, "vanna.types.Question": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.Question.question": {"tf": 1}, "vanna.types.QuestionCategory": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionCategory.category": {"tf": 1}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}, "vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}, "vanna.types.AccuracyStats": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}, "vanna.types.Followup": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1}, "vanna.types.QuestionEmbedding": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1}, "vanna.types.Connection": {"tf": 1}, "vanna.types.SQLAnswer": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.SQLAnswer.prefix": {"tf": 1}, "vanna.types.SQLAnswer.postfix": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}, "vanna.types.Explanation": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1}, "vanna.types.DataResult": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1}, "vanna.types.DataResult.correction_attempts": {"tf": 1}, "vanna.types.PlotlyResult": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.WarehouseDefinition": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}, "vanna.types.TableDefinition": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}, "vanna.types.TableDefinition.columns": {"tf": 1}, "vanna.types.ColumnDefinition": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}, "vanna.types.Diagram": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 95}}}}, "o": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}}}, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}}, "df": 3, "s": {"docs": {"vanna.types.WarehouseDefinition.tables": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.TableDefinition": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}, "vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 6}}}}}}}}}}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.Status.__init__": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}}, "df": 19}}}, "d": {"docs": {"vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}}, "df": 2}, "s": {"docs": {"vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}}, "df": 2}}, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.Status.message": {"tf": 1}}, "df": 1}}}}}, "r": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.table_markdown": {"tf": 1}}, "df": 1}}}}}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}}, "df": 2, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.DataResult": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1}, "vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 7}}}}}}}}}, "d": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.TableDefinition.ddl": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {"vanna.types.Diagram": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 4}}}}}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.Organization.name": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}}, "df": 5}}}, "o": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1}, "u": {"docs": {}, "df": 0, "m": {"docs": {"vanna.types.AccuracyStats.num_questions": {"tf": 1}}, "df": 1}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.Organization.user": {"tf": 1}}, "df": 1}}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}}}}}, "p": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 1}}}}}}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}}}}}, "w": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.WarehouseDefinition": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}}, "df": 4}}}}}}}}}}}}}}}}}}}}}, "annotation": {"root": {"docs": {"vanna.api_key": {"tf": 1}, "vanna.types.Status.success": {"tf": 1}, "vanna.types.Status.message": {"tf": 1}, "vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1.4142135623730951}, "vanna.types.FullQuestionDocument.data": {"tf": 1.4142135623730951}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1.4142135623730951}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1.4142135623730951}, "vanna.types.Organization.connection": {"tf": 1.4142135623730951}, "vanna.types.QuestionId.id": {"tf": 1}, "vanna.types.Question.question": {"tf": 1}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionCategory.category": {"tf": 1}, "vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.SQLAnswer.prefix": {"tf": 1}, "vanna.types.SQLAnswer.postfix": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1.4142135623730951}, "vanna.types.DataResult.sql": {"tf": 1.4142135623730951}, "vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1.4142135623730951}, "vanna.types.DataResult.correction_attempts": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1.4142135623730951}, "vanna.types.TableDefinition.columns": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 48, "o": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "[": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.api_key": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.Status.success": {"tf": 1}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1}}, "df": 3}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.Status.message": {"tf": 1}, "vanna.types.QuestionSQLPair.question": {"tf": 1}, "vanna.types.QuestionSQLPair.sql": {"tf": 1}, "vanna.types.Organization.name": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}, "vanna.types.QuestionId.id": {"tf": 1}, "vanna.types.Question.question": {"tf": 1}, "vanna.types.QuestionCategory.question": {"tf": 1}, "vanna.types.QuestionCategory.category": {"tf": 1}, "vanna.types.Followup.followup": {"tf": 1}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1}, "vanna.types.SQLAnswer.prefix": {"tf": 1}, "vanna.types.SQLAnswer.postfix": {"tf": 1}, "vanna.types.SQLAnswer.sql": {"tf": 1}, "vanna.types.Explanation.explanation": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.DataResult.table_markdown": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1}, "vanna.types.WarehouseDefinition.name": {"tf": 1}, "vanna.types.TableDefinition.schema_name": {"tf": 1}, "vanna.types.TableDefinition.table_name": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}, "vanna.types.ColumnDefinition.name": {"tf": 1}, "vanna.types.ColumnDefinition.type": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1}, "vanna.types.Diagram.raw": {"tf": 1}, "vanna.types.Diagram.mermaid_code": {"tf": 1}}, "df": 30}}, "q": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.FullQuestionDocument.answer": {"tf": 1}}, "df": 1}}}}}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "[": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}, "vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 3}}}}}, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionEmbedding.embedding": {"tf": 1}}, "df": 1}}}}}}}}}}, "t": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.QuestionList.questions": {"tf": 1}, "vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}, "vanna.types.WarehouseDefinition.tables": {"tf": 1}, "vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 10}}}}, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.WarehouseDefinition.tables": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}, "f": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionList.questions": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.FullQuestionDocument.id": {"tf": 1}, "vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}}, "df": 7}}}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.FullQuestionDocument.question": {"tf": 1}, "vanna.types.QuestionEmbedding.question": {"tf": 1}}, "df": 2, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.FullQuestionDocument.id": {"tf": 1}}, "df": 1}}}}}}}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.FullQuestionDocument.answer": {"tf": 1}, "vanna.types.FullQuestionDocument.data": {"tf": 1}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1}, "vanna.types.Organization.user": {"tf": 1}, "vanna.types.Organization.connection": {"tf": 1}, "vanna.types.DataResult.question": {"tf": 1}, "vanna.types.DataResult.sql": {"tf": 1}, "vanna.types.DataResult.error": {"tf": 1}, "vanna.types.TableDefinition.ddl": {"tf": 1}}, "df": 9}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.FullQuestionDocument.data": {"tf": 1}}, "df": 1}}}}}}}}}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "[": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.AccuracyStats.data": {"tf": 1}}, "df": 1}}}}}}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.FullQuestionDocument.plotly": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Organization.connection": {"tf": 1}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.TableDefinition.columns": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.AccuracyStats.num_questions": {"tf": 1}, "vanna.types.AccuracyStats.data": {"tf": 1}, "vanna.types.DataResult.correction_attempts": {"tf": 1}}, "df": 3}}}}}, "default_value": {"root": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1.4142135623730951}}, "df": 8, "n": {"docs": {}, "df": 0, "o": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1, "n": {"docs": {}, "df": 0, "e": {"docs": {"vanna.api_key": {"tf": 1}}, "df": 1}}}}, "x": {"2": {"7": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1.4142135623730951}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1.4142135623730951}}, "df": 8}, "docs": {}, "df": 0}, "docs": {}, "df": 0}, "s": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 2}}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1}}, "df": 1}}}}}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}}}}}, "p": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 1}}}}}}}, "t": {"docs": {}, "df": 0, "o": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1}}, "df": 1}}, "e": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "w": {"docs": {"vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 3}}}}}}, "j": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}}, "df": 1}}}}}}}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}}}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1}}, "df": 1}}}}}, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1}}, "df": 3}}, "p": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1}}, "df": 1}}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1}}, "df": 1}}}}}}}, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1}}, "df": 1}}}}}, "signature": {"root": {"docs": {"vanna.set_org": {"tf": 4}, "vanna.store_sql": {"tf": 4.898979485566356}, "vanna.flag_sql_for_review": {"tf": 7.54983443527075}, "vanna.remove_sql": {"tf": 4}, "vanna.generate_sql": {"tf": 4}, "vanna.generate_plotly_code": {"tf": 7.54983443527075}, "vanna.get_plotly_figure": {"tf": 8.12403840463596}, "vanna.get_results": {"tf": 6.324555320336759}, "vanna.generate_explanation": {"tf": 4}, "vanna.generate_question": {"tf": 4}, "vanna.get_flagged_questions": {"tf": 4.123105625617661}, "vanna.get_accuracy_stats": {"tf": 4.123105625617661}, "vanna.types.Status.__init__": {"tf": 4.47213595499958}, "vanna.types.QuestionList.__init__": {"tf": 5}, "vanna.types.FullQuestionDocument.__init__": {"tf": 10.198039027185569}, "vanna.types.QuestionSQLPair.__init__": {"tf": 4.47213595499958}, "vanna.types.Organization.__init__": {"tf": 7}, "vanna.types.QuestionId.__init__": {"tf": 3.4641016151377544}, "vanna.types.Question.__init__": {"tf": 3.4641016151377544}, "vanna.types.QuestionCategory.__init__": {"tf": 4.47213595499958}, "vanna.types.AccuracyStats.__init__": {"tf": 5.477225575051661}, "vanna.types.Followup.__init__": {"tf": 3.4641016151377544}, "vanna.types.QuestionEmbedding.__init__": {"tf": 5.744562646538029}, "vanna.types.SQLAnswer.__init__": {"tf": 6}, "vanna.types.Explanation.__init__": {"tf": 3.4641016151377544}, "vanna.types.DataResult.__init__": {"tf": 8}, "vanna.types.PlotlyResult.__init__": {"tf": 3.4641016151377544}, "vanna.types.WarehouseDefinition.__init__": {"tf": 5.744562646538029}, "vanna.types.TableDefinition.__init__": {"tf": 7.615773105863909}, "vanna.types.ColumnDefinition.__init__": {"tf": 7.615773105863909}, "vanna.types.Diagram.__init__": {"tf": 4.47213595499958}}, "df": 31, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "g": {"docs": {"vanna.set_org": {"tf": 1}}, "df": 1}}, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}}, "df": 2}}}}}}}, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {"vanna.set_org": {"tf": 1}, "vanna.store_sql": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1.4142135623730951}, "vanna.types.Organization.__init__": {"tf": 1.4142135623730951}, "vanna.types.QuestionId.__init__": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1.4142135623730951}, "vanna.types.AccuracyStats.__init__": {"tf": 1}, "vanna.types.Followup.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 2}, "vanna.types.Explanation.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 2}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.__init__": {"tf": 2}, "vanna.types.Diagram.__init__": {"tf": 1.4142135623730951}}, "df": 26}}, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}}, "df": 9, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.Status.__init__": {"tf": 1}}, "df": 1}}}}}}, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {"vanna.set_org": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1.7320508075688772}, "vanna.types.Organization.__init__": {"tf": 1.4142135623730951}, "vanna.types.DataResult.__init__": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 6}}}, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1.4142135623730951}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}}, "df": 4}}}, "u": {"docs": {}, "df": 0, "m": {"docs": {"vanna.types.AccuracyStats.__init__": {"tf": 1}}, "df": 1}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1.4142135623730951}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1}, "vanna.types.Question.__init__": {"tf": 1}, "vanna.types.QuestionCategory.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1.4142135623730951}, "vanna.types.DataResult.__init__": {"tf": 1}}, "df": 11, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_flagged_questions": {"tf": 1}}, "df": 1}}}}, "s": {"docs": {"vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}}, "df": 2}, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "l": {"docs": {"vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.types.Status.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1.4142135623730951}}, "df": 6}}}}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.types.DataResult.__init__": {"tf": 1}}, "df": 2}}}}, "m": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.types.QuestionEmbedding.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "x": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Explanation.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}}, "m": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "g": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}, "o": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.Status.__init__": {"tf": 1}}, "df": 1}}}}}, "r": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.Diagram.__init__": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "d": {"docs": {}, "df": 0, "f": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}}, "df": 2}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.AccuracyStats.__init__": {"tf": 1}}, "df": 2, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 3}}}}}, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "r": {"docs": {}, "df": 0, "k": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.AccuracyStats.__init__": {"tf": 1}}, "df": 1}}}, "d": {"docs": {}, "df": 0, "l": {"docs": {"vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 1}}}, "p": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 3}}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}}, "df": 3, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.__init__": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.ColumnDefinition.__init__": {"tf": 1}}, "df": 1}}}}}}, "o": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "x": {"docs": {"vanna.types.SQLAnswer.__init__": {"tf": 1}}, "df": 1}}}}}}}, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 3}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.DataResult.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1}, "vanna.types.PlotlyResult.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}}, "df": 3}}, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.Organization.__init__": {"tf": 1.4142135623730951}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition.__init__": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}, "s": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.QuestionCategory.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 3}}}}, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionList.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}, "o": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "p": {"docs": {"vanna.types.Followup.__init__": {"tf": 1}}, "df": 1}}}}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.ColumnDefinition.__init__": {"tf": 1.7320508075688772}}, "df": 1}}}}}}, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionEmbedding.__init__": {"tf": 1}}, "df": 1}}}}}, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}, "y": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.ColumnDefinition.__init__": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 2.23606797749979}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 8}}}}, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna.types.DataResult.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}, "vanna.types.ColumnDefinition.__init__": {"tf": 1}}, "df": 3, "s": {"docs": {"vanna.types.WarehouseDefinition.__init__": {"tf": 1}}, "df": 1}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.types.WarehouseDefinition.__init__": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}, "g": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "h": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}, "vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.FullQuestionDocument.__init__": {"tf": 2.23606797749979}, "vanna.types.Organization.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 8}}}}}, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.SQLAnswer.__init__": {"tf": 1}}, "df": 2}}}}}, "t": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.types.DataResult.__init__": {"tf": 1}}, "df": 1}}}}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.QuestionList.__init__": {"tf": 1}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1}, "vanna.types.TableDefinition.__init__": {"tf": 1}}, "df": 4}}}}, "i": {"docs": {}, "df": 0, "d": {"docs": {"vanna.types.FullQuestionDocument.__init__": {"tf": 1}, "vanna.types.QuestionId.__init__": {"tf": 1}}, "df": 2}, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.types.AccuracyStats.__init__": {"tf": 1.4142135623730951}, "vanna.types.DataResult.__init__": {"tf": 1}}, "df": 2}}, "s": {"docs": {"vanna.types.ColumnDefinition.__init__": {"tf": 1.4142135623730951}}, "df": 1}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna.types.Organization.__init__": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "w": {"docs": {"vanna.types.SQLAnswer.__init__": {"tf": 1}, "vanna.types.Diagram.__init__": {"tf": 1}}, "df": 2}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"vanna.types.ColumnDefinition.__init__": {"tf": 2}}, "df": 1}}}}}, "bases": {"root": {"docs": {}, "df": 0}}, "doc": {"root": {"0": {"docs": {"vanna.get_accuracy_stats": {"tf": 2}}, "df": 1}, "1": {"0": {"docs": {"vanna": {"tf": 2.449489742783178}}, "df": 1}, "docs": {}, "df": 0}, "3": {"9": {"docs": {"vanna": {"tf": 4.69041575982343}, "vanna.generate_explanation": {"tf": 2}, "vanna.generate_question": {"tf": 2}, "vanna.get_accuracy_stats": {"tf": 2.449489742783178}}, "df": 4}, "docs": {}, "df": 0}, "docs": {"vanna": {"tf": 23.811761799581316}, "vanna.api_key": {"tf": 1.7320508075688772}, "vanna.set_org": {"tf": 3.872983346207417}, "vanna.store_sql": {"tf": 4.58257569495584}, "vanna.flag_sql_for_review": {"tf": 6}, "vanna.remove_sql": {"tf": 3.872983346207417}, "vanna.generate_sql": {"tf": 4.898979485566356}, "vanna.generate_plotly_code": {"tf": 6}, "vanna.get_plotly_figure": {"tf": 5.477225575051661}, "vanna.get_results": {"tf": 5.916079783099616}, "vanna.generate_explanation": {"tf": 7.810249675906654}, "vanna.generate_question": {"tf": 7.810249675906654}, "vanna.get_flagged_questions": {"tf": 6.164414002968976}, "vanna.get_accuracy_stats": {"tf": 6.4031242374328485}, "vanna.types": {"tf": 1.7320508075688772}, "vanna.types.Status": {"tf": 1.7320508075688772}, "vanna.types.Status.__init__": {"tf": 1.7320508075688772}, "vanna.types.Status.success": {"tf": 1.7320508075688772}, "vanna.types.Status.message": {"tf": 1.7320508075688772}, "vanna.types.QuestionList": {"tf": 1.7320508075688772}, "vanna.types.QuestionList.__init__": {"tf": 1.7320508075688772}, "vanna.types.QuestionList.questions": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.__init__": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.id": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.question": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.answer": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.data": {"tf": 1.7320508075688772}, "vanna.types.FullQuestionDocument.plotly": {"tf": 1.7320508075688772}, "vanna.types.QuestionSQLPair": {"tf": 1.7320508075688772}, "vanna.types.QuestionSQLPair.__init__": {"tf": 1.7320508075688772}, "vanna.types.QuestionSQLPair.question": {"tf": 1.7320508075688772}, "vanna.types.QuestionSQLPair.sql": {"tf": 1.7320508075688772}, "vanna.types.Organization": {"tf": 1.7320508075688772}, "vanna.types.Organization.__init__": {"tf": 1.7320508075688772}, "vanna.types.Organization.name": {"tf": 1.7320508075688772}, "vanna.types.Organization.user": {"tf": 1.7320508075688772}, "vanna.types.Organization.connection": {"tf": 1.7320508075688772}, "vanna.types.QuestionId": {"tf": 1.7320508075688772}, "vanna.types.QuestionId.__init__": {"tf": 1.7320508075688772}, "vanna.types.QuestionId.id": {"tf": 1.7320508075688772}, "vanna.types.Question": {"tf": 1.7320508075688772}, "vanna.types.Question.__init__": {"tf": 1.7320508075688772}, "vanna.types.Question.question": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.__init__": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.question": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.category": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.NO_SQL_GENERATED": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.SQL_UNABLE_TO_RUN": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.BOOTSTRAP_TRAINING_QUERY": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.ASSUMED_CORRECT": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.FLAGGED_FOR_REVIEW": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.REVIEWED_AND_APPROVED": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.REVIEWED_AND_REJECTED": {"tf": 1.7320508075688772}, "vanna.types.QuestionCategory.REVIEWED_AND_UPDATED": {"tf": 1.7320508075688772}, "vanna.types.AccuracyStats": {"tf": 1.7320508075688772}, "vanna.types.AccuracyStats.__init__": {"tf": 1.7320508075688772}, "vanna.types.AccuracyStats.num_questions": {"tf": 1.7320508075688772}, "vanna.types.AccuracyStats.data": {"tf": 1.7320508075688772}, "vanna.types.Followup": {"tf": 1.7320508075688772}, "vanna.types.Followup.__init__": {"tf": 1.7320508075688772}, "vanna.types.Followup.followup": {"tf": 1.7320508075688772}, "vanna.types.QuestionEmbedding": {"tf": 1.7320508075688772}, "vanna.types.QuestionEmbedding.__init__": {"tf": 1.7320508075688772}, "vanna.types.QuestionEmbedding.question": {"tf": 1.7320508075688772}, "vanna.types.QuestionEmbedding.embedding": {"tf": 1.7320508075688772}, "vanna.types.Connection": {"tf": 1.7320508075688772}, "vanna.types.SQLAnswer": {"tf": 1.7320508075688772}, "vanna.types.SQLAnswer.__init__": {"tf": 1.7320508075688772}, "vanna.types.SQLAnswer.raw_answer": {"tf": 1.7320508075688772}, "vanna.types.SQLAnswer.prefix": {"tf": 1.7320508075688772}, "vanna.types.SQLAnswer.postfix": {"tf": 1.7320508075688772}, "vanna.types.SQLAnswer.sql": {"tf": 1.7320508075688772}, "vanna.types.Explanation": {"tf": 1.7320508075688772}, "vanna.types.Explanation.__init__": {"tf": 1.7320508075688772}, "vanna.types.Explanation.explanation": {"tf": 1.7320508075688772}, "vanna.types.DataResult": {"tf": 1.7320508075688772}, "vanna.types.DataResult.__init__": {"tf": 1.7320508075688772}, "vanna.types.DataResult.question": {"tf": 1.7320508075688772}, "vanna.types.DataResult.sql": {"tf": 1.7320508075688772}, "vanna.types.DataResult.table_markdown": {"tf": 1.7320508075688772}, "vanna.types.DataResult.error": {"tf": 1.7320508075688772}, "vanna.types.DataResult.correction_attempts": {"tf": 1.7320508075688772}, "vanna.types.PlotlyResult": {"tf": 1.7320508075688772}, "vanna.types.PlotlyResult.__init__": {"tf": 1.7320508075688772}, "vanna.types.PlotlyResult.plotly_code": {"tf": 1.7320508075688772}, "vanna.types.WarehouseDefinition": {"tf": 1.7320508075688772}, "vanna.types.WarehouseDefinition.__init__": {"tf": 1.7320508075688772}, "vanna.types.WarehouseDefinition.name": {"tf": 1.7320508075688772}, "vanna.types.WarehouseDefinition.tables": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition.__init__": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition.schema_name": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition.table_name": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition.ddl": {"tf": 1.7320508075688772}, "vanna.types.TableDefinition.columns": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.__init__": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.name": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.type": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.is_primary_key": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.is_foreign_key": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.foreign_key_table": {"tf": 1.7320508075688772}, "vanna.types.ColumnDefinition.foreign_key_column": {"tf": 1.7320508075688772}, "vanna.types.Diagram": {"tf": 1.7320508075688772}, "vanna.types.Diagram.__init__": {"tf": 1.7320508075688772}, "vanna.types.Diagram.raw": {"tf": 1.7320508075688772}, "vanna.types.Diagram.mermaid_code": {"tf": 1.7320508075688772}}, "df": 109, "w": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1}}, "o": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 3}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "k": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}, "r": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "i": {"docs": {"vanna": {"tf": 2.449489742783178}}, "df": 1, "s": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1}, "n": {"docs": {"vanna": {"tf": 1}, "vanna.store_sql": {"tf": 1}}, "df": 2}, "t": {"docs": {"vanna": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}}, "df": 3}}, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 2}}, "df": 1}}}}}, "f": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 7}}, "v": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 3.605551275463989}, "vanna.set_org": {"tf": 1}, "vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 11}}}, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}}}}}, "n": {"docs": {"vanna": {"tf": 3.605551275463989}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 5}}, "a": {"docs": {"vanna": {"tf": 1}, "vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_flagged_questions": {"tf": 1}}, "df": 8, "i": {"docs": {"vanna": {"tf": 3.1622776601683795}, "vanna.set_org": {"tf": 1}, "vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 11}, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "s": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1}}, "df": 2, "k": {"docs": {"vanna": {"tf": 2}}, "df": 1}}, "b": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 2.23606797749979}}, "df": 1}}}, "c": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}, "n": {"docs": {"vanna": {"tf": 1}, "vanna.generate_sql": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 2}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 7, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1, "[": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, ":": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}}}, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "d": {"docs": {"vanna": {"tf": 1}, "vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.remove_sql": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 6}}, "p": {"docs": {}, "df": 0, "i": {"docs": {"vanna": {"tf": 2.449489742783178}, "vanna.set_org": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 8}}, "d": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 2}}, "df": 1}, "g": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.set_org": {"tf": 1}, "vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 10}}}}}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}}, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "y": {"docs": {"vanna.get_accuracy_stats": {"tf": 2}}, "df": 1}}}}}}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "m": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}, "o": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 2.6457513110645907}, "vanna.generate_plotly_code": {"tf": 2.23606797749979}, "vanna.get_plotly_figure": {"tf": 2.449489742783178}}, "df": 3}}}}}, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "d": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}}}}, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}, "d": {"docs": {"vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 3}}, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}, "e": {"docs": {"vanna": {"tf": 2.8284271247461903}, "vanna.set_org": {"tf": 1.7320508075688772}, "vanna.store_sql": {"tf": 1.7320508075688772}, "vanna.flag_sql_for_review": {"tf": 2.23606797749979}, "vanna.remove_sql": {"tf": 1.4142135623730951}, "vanna.generate_sql": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 2.23606797749979}, "vanna.get_plotly_figure": {"tf": 1.7320508075688772}, "vanna.get_results": {"tf": 2.449489742783178}, "vanna.generate_explanation": {"tf": 1.7320508075688772}, "vanna.generate_question": {"tf": 1.7320508075688772}, "vanna.get_flagged_questions": {"tf": 1.4142135623730951}, "vanna.get_accuracy_stats": {"tf": 1.7320508075688772}}, "df": 13}}, "o": {"docs": {"vanna": {"tf": 2}, "vanna.store_sql": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 10, "p": {"docs": {"vanna": {"tf": 2}}, "df": 1}, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "l": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1}}}, "y": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1, "[": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "u": {"docs": {}, "df": 0, "e": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}, "d": {"docs": {"vanna": {"tf": 1}}, "df": 1}, "a": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}, "y": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "u": {"docs": {"vanna": {"tf": 1}}, "df": 1, "r": {"docs": {"vanna": {"tf": 3.3166247903554}}, "df": 1}}}, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 3.7416573867739413}, "vanna.store_sql": {"tf": 1.7320508075688772}, "vanna.flag_sql_for_review": {"tf": 2}, "vanna.remove_sql": {"tf": 1.7320508075688772}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 2}}, "df": 7, "s": {"docs": {"vanna": {"tf": 2.449489742783178}, "vanna.get_flagged_questions": {"tf": 1.7320508075688772}}, "df": 2}, "[": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, ":": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}}}, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna.store_sql": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_results": {"tf": 1.7320508075688772}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}}, "df": 8}}}, "o": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 2.8284271247461903}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}}, "df": 3}}}}, "d": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 3}}, "df": 1, "b": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.store_sql": {"tf": 1}, "vanna.remove_sql": {"tf": 1}, "vanna.get_results": {"tf": 1.4142135623730951}}, "df": 4}}}}, "f": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.get_plotly_figure": {"tf": 1.7320508075688772}, "vanna.get_results": {"tf": 1.4142135623730951}}, "df": 3}}}}}}}}, "o": {"docs": {"vanna": {"tf": 2.6457513110645907}}, "df": 1, "e": {"docs": {"vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 2, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}, "b": {"docs": {"vanna": {"tf": 2.449489742783178}}, "df": 1}, "d": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "/": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "c": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1.4142135623730951}}, "df": 2}}}}}}, "f": {"docs": {"vanna": {"tf": 2.23606797749979}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}}, "df": 3}, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1}}}}, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "h": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "x": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 5, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}, "p": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.generate_explanation": {"tf": 2}}, "df": 1}}}}}}}}}}, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.4142135623730951}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 8}}}}}, "c": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}}, "df": 1}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 2}}, "s": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.store_sql": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.remove_sql": {"tf": 1}}, "df": 3}}}}}}}}}}}, "l": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "n": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1}}, "df": 1}}, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 2.23606797749979}, "vanna.generate_plotly_code": {"tf": 2.23606797749979}, "vanna.get_plotly_figure": {"tf": 1.7320508075688772}}, "df": 3}}}, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "k": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1, "{": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}, "i": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1, "s": {"docs": {"vanna": {"tf": 2}}, "df": 1}}}}}}}, "r": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 2}}}}}, "s": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.get_results": {"tf": 1}}, "df": 2}}, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 3}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 2}, "vanna.generate_explanation": {"tf": 1.7320508075688772}, "vanna.generate_question": {"tf": 1.7320508075688772}}, "df": 5, "[": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, ":": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "t": {"docs": {"vanna": {"tf": 2}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1.4142135623730951}, "vanna.get_accuracy_stats": {"tf": 1.4142135623730951}}, "df": 4, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {"vanna": {"tf": 3.1622776601683795}}, "df": 1}, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "p": {"docs": {}, "df": 0, "h": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}}}, "s": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "l": {"docs": {"vanna": {"tf": 4.69041575982343}, "vanna.store_sql": {"tf": 1.7320508075688772}, "vanna.flag_sql_for_review": {"tf": 2}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1.7320508075688772}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 2}, "vanna.generate_explanation": {"tf": 2}, "vanna.generate_question": {"tf": 2}}, "df": 9}}, "e": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 2.8284271247461903}, "vanna.set_org": {"tf": 1}}, "df": 2}, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 3}}}}}, "i": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}, "t": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_accuracy_stats": {"tf": 1}}, "df": 1}, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_accuracy_stats": {"tf": 1.4142135623730951}}, "df": 1}}}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.store_sql": {"tf": 1.7320508075688772}}, "df": 2}}}, "r": {"docs": {"vanna.set_org": {"tf": 1}, "vanna.store_sql": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}}, "df": 10}, "u": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 2}}}}}}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 2.449489742783178}}, "df": 1}}}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "k": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}, "vanna.get_results": {"tf": 1}}, "df": 2}}}}}}}}, "u": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "y": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}}}}}}}}}, "h": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {"vanna": {"tf": 2.6457513110645907}}, "df": 1}}, "a": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}, "u": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.get_plotly_figure": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1}}, "df": 3, "r": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 4}}}}}, "l": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "b": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "m": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}, "s": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_flagged_questions": {"tf": 1.4142135623730951}}, "df": 1, "[": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_flagged_questions": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}}}}}}}, "k": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 2.6457513110645907}}, "df": 1}}, "n": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_flagged_questions": {"tf": 1.4142135623730951}, "vanna.get_accuracy_stats": {"tf": 1.4142135623730951}}, "df": 6, "g": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.set_org": {"tf": 1}}, "df": 2, "a": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "z": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.set_org": {"tf": 1.4142135623730951}}, "df": 2}}}}}}}}}}, "d": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}}, "n": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1}, "t": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}}}}}, "c": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 6}}}}}}}, "b": {"docs": {}, "df": 0, "j": {"docs": {}, "df": 0, "s": {"docs": {"vanna.get_plotly_figure": {"tf": 1}}, "df": 1}}}, "f": {"docs": {"vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1.4142135623730951}}, "df": 3}}, "n": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 2.6457513110645907}, "vanna.set_org": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 4}}}, "o": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1, "n": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.generate_sql": {"tf": 1.4142135623730951}, "vanna.generate_plotly_code": {"tf": 1.4142135623730951}, "vanna.generate_explanation": {"tf": 1.4142135623730951}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_flagged_questions": {"tf": 1.4142135623730951}, "vanna.get_accuracy_stats": {"tf": 1.4142135623730951}}, "df": 7}}}}, "f": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "w": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "t": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}, "a": {"docs": {}, "df": 0, "g": {"docs": {"vanna.flag_sql_for_review": {"tf": 2}}, "df": 1, "g": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "d": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1.7320508075688772}}, "df": 2}}}}}}, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {"vanna": {"tf": 1.7320508075688772}}, "df": 1, "{": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, ":": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "a": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}, "g": {"docs": {"vanna": {"tf": 1}}, "df": 1, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.get_plotly_figure": {"tf": 1.7320508075688772}}, "df": 2}}}}}, "r": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "m": {"docs": {"vanna": {"tf": 1.7320508075688772}, "vanna.remove_sql": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1.4142135623730951}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 7}}}, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "l": {"docs": {"vanna": {"tf": 1}}, "df": 1, "q": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "d": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "m": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "t": {"docs": {"vanna.get_flagged_questions": {"tf": 1}}, "df": 1}}}}}}}}}}}}}}}}}}}, "o": {"docs": {}, "df": 0, "r": {"docs": {"vanna.set_org": {"tf": 1}, "vanna.flag_sql_for_review": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1.7320508075688772}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 6}}, "a": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}}, "m": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "f": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}}}, "y": {"docs": {"vanna": {"tf": 3.872983346207417}}, "df": 1}, "s": {"docs": {}, "df": 0, "g": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.flag_sql_for_review": {"tf": 1}}, "df": 2}}, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "a": {"docs": {}, "df": 0, "g": {"docs": {}, "df": 0, "e": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}}}}, "b": {"docs": {}, "df": 0, "y": {"docs": {"vanna": {"tf": 2.449489742783178}, "vanna.flag_sql_for_review": {"tf": 1}}, "df": 2}, "o": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "l": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}, "x": {"docs": {}, "df": 0, "y": {"docs": {}, "df": 0, "z": {"docs": {"vanna": {"tf": 1.4142135623730951}}, "df": 1}}}, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "l": {"docs": {}, "df": 0, "t": {"docs": {}, "df": 0, "s": {"docs": {"vanna": {"tf": 1.4142135623730951}, "vanna.get_results": {"tf": 1.4142135623730951}}, "df": 2}}}}, "p": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "s": {"docs": {}, "df": 0, "e": {"docs": {"vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 2}}}}}}, "f": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "n": {"docs": {}, "df": 0, "c": {"docs": {}, "df": 0, "e": {"docs": {"vanna": {"tf": 1}}, "df": 1}}}}}}}, "v": {"docs": {}, "df": 0, "i": {"docs": {}, "df": 0, "e": {"docs": {}, "df": 0, "w": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}}, "df": 1}}}}, "t": {"docs": {}, "df": 0, "u": {"docs": {}, "df": 0, "r": {"docs": {}, "df": 0, "n": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1, "s": {"docs": {"vanna.flag_sql_for_review": {"tf": 1}, "vanna.generate_sql": {"tf": 1}, "vanna.generate_plotly_code": {"tf": 1}, "vanna.get_plotly_figure": {"tf": 1}, "vanna.get_results": {"tf": 1}, "vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}, "vanna.get_flagged_questions": {"tf": 1}, "vanna.get_accuracy_stats": {"tf": 1}}, "df": 9}}}}}, "m": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "v": {"docs": {}, "df": 0, "e": {"docs": {"vanna.remove_sql": {"tf": 1.4142135623730951}}, "df": 1}}}}}, "u": {"docs": {}, "df": 0, "n": {"docs": {"vanna.get_results": {"tf": 1}}, "df": 1}}}, "j": {"docs": {}, "df": 0, "o": {"docs": {}, "df": 0, "h": {"docs": {}, "df": 0, "n": {"docs": {"vanna.generate_explanation": {"tf": 1}, "vanna.generate_question": {"tf": 1}}, "df": 2}}}}}}}, "pipeline": ["trimmer"], "_isPrebuiltIndex": true}; + + // mirrored in build-search-index.js (part 1) + // Also split on html tags. this is a cheap heuristic, but good enough. + elasticlunr.tokenizer.setSeperator(/[\s\-.;&_'"=,()]+|<[^>]*>/); + + let searchIndex; + if (docs._isPrebuiltIndex) { + console.info("using precompiled search index"); + searchIndex = elasticlunr.Index.load(docs); + } else { + console.time("building search index"); + // mirrored in build-search-index.js (part 2) + searchIndex = elasticlunr(function () { + this.pipeline.remove(elasticlunr.stemmer); + this.pipeline.remove(elasticlunr.stopWordFilter); + this.addField("qualname"); + this.addField("fullname"); + this.addField("annotation"); + this.addField("default_value"); + this.addField("signature"); + this.addField("bases"); + this.addField("doc"); + this.setRef("fullname"); + }); + for (let doc of docs) { + searchIndex.addDoc(doc); + } + console.timeEnd("building search index"); + } + + return (term) => searchIndex.search(term, { + fields: { + qualname: {boost: 4}, + fullname: {boost: 2}, + annotation: {boost: 2}, + default_value: {boost: 2}, + signature: {boost: 2}, + bases: {boost: 2}, + doc: {boost: 1}, + }, + expand: true + }); +})(); \ No newline at end of file diff --git a/search/search_index.json b/search/search_index.json new file mode 100644 index 000000000..eacb5bade --- /dev/null +++ b/search/search_index.json @@ -0,0 +1 @@ +{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"What is Vanna.AI?","text":""},{"location":"#what-is-vannaai","title":"What is Vanna.AI?","text":"

Vanna.AI is a platform that allows you to ask questions about your data in plain English. It is an AI-powered data analyst that can answer questions about your data, generate SQL, and create visualizations.

Each organization has its own isolated training set. This means that Vanna.AI can understand the unique language of your organization and answer questions about your data.

After every question you can tell Vanna.AI whether the results were correct. This allows Vanna.AI to learn from the questions that are asked and become smarter immediately.

Vanna provides additional functionality to manage your training data to maintain the highest level of accuracy for your organization.

"},{"location":"#what-can-it-do","title":"What can it do?","text":"

It can support apps that allow you to:

"},{"location":"#where-can-i-use-vannaai","title":"Where can I use Vanna.AI?","text":"
  • Use in a Streamlit app
  • Use in Jupyter Notebooks
  • Add a Slack bot that responds to /askvanna [question]
  • Use in a Python app
"},{"location":"getting-started/","title":"Getting Started","text":""},{"location":"getting-started/#how-do-i-install-the-vannaai-library","title":"How do I install the Vanna.AI library?","text":"
pip install vanna\n
"},{"location":"getting-started/#how-do-i-import-the-vannaai-library","title":"How do I import the Vanna.AI library?","text":"
import vanna as vn\n
"},{"location":"getting-started/#how-do-i-set-my-api-key","title":"How do I set my API key?","text":"
vn.api_key = 'vanna-key-...'\n
"},{"location":"getting-started/#how-do-i-set-my-organization-name","title":"How do I set my organization name?","text":"

vn.set_org

vn.set_org('my_org')\n

"},{"location":"getting-started/#how-do-i-train-vannaai-on-my-data","title":"How do I train Vanna.AI on my data?","text":"

vn.store_sql

vn.store_sql(\n    question=\"Who are the top 10 customers by Sales?\", \n    sql=\"SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10\"\n)\n

"},{"location":"getting-started/#how-do-i-ask-questions-about-my-data","title":"How do I ask questions about my data?","text":"

vn.generate_sql

my_question = 'What are the top 10 ABC by XYZ?'\n\nsql = vn.generate_sql(question=my_question, error_msg=None)\n# SELECT * FROM table_name WHERE column_name = 'value'\n

"},{"location":"getting-started/#full-example","title":"Full Example","text":"
import vanna as vn\n\nvn.api_key = 'vanna-key-...' # Set your API key\nvn.set_org('') # Set your organization name\n\n# Train Vanna.AI on your data\nvn.store_sql(\n    question=\"Who are the top 10 customers by Sales?\", \n    sql=\"SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10\"\n)\n\n# Ask questions about your data\nmy_question = 'What are the top 10 ABC by XYZ?'\n\n# Generate SQL\nsql = vn.generate_sql(question=my_question, error_msg=None) \n\n# Connect to your database\nconn = snowflake.connector.connect(\n        user='my_user',\n        password='my_password',\n        account='my_account',\n        database='my_database',\n    )\n\ncs = conn.cursor()\n\n# Get results\ndf = vn.get_results(\n    cs=cs, \n    default_db=my_default_db, \n    sql=sql\n    )\n\n# Generate Plotly code\nplotly_code = vn.generate_plotly_code(\n    question=my_question, \n    sql=sql, \n    df=df\n    )\n\n# Get Plotly figure\nfig = vn.get_plotly_figure(\n    plotly_code=plotly_code, \n    df=df\n    )\n
"},{"location":"jupyter/","title":"Using Vanna.AI in a Jupyter Notebook","text":"

Vanna.AI can be used in a Jupyter Notebook to generate SQL from natural language questions.

"},{"location":"jupyter/#installation","title":"Installation","text":"
%pip install vanna\n
"},{"location":"jupyter/#import","title":"Import","text":"
import vanna as vn\n
"},{"location":"jupyter/#set-api-key","title":"Set API Key","text":"
vn.api_key = 'vanna-key-...'\n
"},{"location":"jupyter/#set-organization-name","title":"Set Organization Name","text":"
vn.set_org('my_org')\n
"},{"location":"jupyter/#train-vannaai-on-your-data","title":"Train Vanna.AI on your data","text":"
vn.store_sql(\n    question=\"Who are the top 10 customers by Sales?\", \n    sql=\"SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10\"\n)\n
"},{"location":"jupyter/#ask-questions-about-your-data","title":"Ask questions about your data","text":"
my_question = 'What are the top 10 ABC by XYZ?'\n\n# Generate SQL\nsql = vn.generate_sql(question=my_question, error_msg=None)\n# SELECT * FROM table_name WHERE column_name = 'value'\n
"},{"location":"jupyter/#run-sql","title":"Run SQL","text":"

Run your SQL as you normally would.

"},{"location":"onboarding/","title":"Onboarding","text":""},{"location":"onboarding/#what-do-i-need-to-do-to-use-vannaai","title":"What do I need to do to use Vanna.AI?","text":"

Vanna.AI uses a combination of documentation and historical question and SQL pairs to generate SQL from natural language.

"},{"location":"onboarding/#step-1-train-vannaai","title":"Step 1: Train Vanna.AI","text":"
  • Give Vanna.AI sample SQL
  • Vanna.AI will try to guess the question
  • Verify the question is correct
    flowchart LR\n    Generate[vn.generate_question]\n    Question[Question]\n    Verify{Is the question correct?}\n    SQL --> Generate\n    Generate --> Question\n    Question --> Verify\n    Verify -- Yes --> Store[vn.store_sql]\n    Verify -- No --> Update[Update the Question]\n    Update --> Store\n
"},{"location":"onboarding/#step-2-ask-vannaai-a-question","title":"Step 2: Ask Vanna.AI a Question","text":"
flowchart LR\n    Question[Question]\n    Generate[vn.generate_sql]\n    SQL[SQL]\n    Question --> Generate\n    Generate --> SQL    
"},{"location":"pricing/","title":"Pricing","text":"Free Tier Paid Tier Price Free $500/month Documentation Storage 100 chunks 10,000 chunks Question Storage 1,000 questions 10,000 questions Multi-User No Yes Support Discord Email, Slack, Phone"},{"location":"reference/","title":"Vanna Package Full Reference","text":""},{"location":"reference/#vanna--what-is-vannaai","title":"What is Vanna.AI?","text":"

Vanna.AI is a platform that allows you to ask questions about your data in plain English. It is an AI-powered data analyst that can answer questions about your data, generate SQL, and create visualizations.

"},{"location":"reference/#vanna--api-reference","title":"API Reference","text":""},{"location":"reference/#vanna.flag_sql_for_review","title":"flag_sql_for_review(question, sql=None, error_msg=None)","text":""},{"location":"reference/#vanna.flag_sql_for_review--example","title":"Example","text":"

vn.flag_sql_for_review(question=\"What is the average salary of employees?\")\n
Flag a question and its corresponding SQL query for review. You can later retrieve the flagged questions using get_flagged_questions().

Parameters:

Name Type Description Default question str

The question to flag.

required sql str

The SQL query to flag.

None error_msg str

The error message to flag.

None

Returns:

Name Type Description bool bool

True if the question and SQL query were flagged successfully, False otherwise.

"},{"location":"reference/#vanna.generate_explanation","title":"generate_explanation(sql)","text":""},{"location":"reference/#vanna.generate_explanation--example","title":"Example","text":"
vn.generate_explanation(sql=\"SELECT * FROM students WHERE name = 'John Doe'\")\n# 'This query selects all columns from the students table where the name is John Doe.'\n

Generate an explanation of an SQL query using the Vanna.AI API.

Parameters:

Name Type Description Default sql str

The SQL query to generate an explanation for.

required

Returns:

Type Description str

str or None: The explanation, or None if an error occurred.

"},{"location":"reference/#vanna.generate_plotly_code","title":"generate_plotly_code(question, sql, df)","text":""},{"location":"reference/#vanna.generate_plotly_code--example","title":"Example","text":"

vn.generate_plotly_code(\n    question=\"What is the average salary of employees?\",\n    sql=\"SELECT AVG(salary) FROM employees\",\n    df=df\n)\n# fig = px.bar(df, x=\"name\", y=\"salary\")\n
Generate Plotly code using the Vanna.AI API.

Parameters:

Name Type Description Default question str

The question to generate Plotly code for.

required sql str

The SQL query to generate Plotly code for.

required df pd.DataFrame

The dataframe to generate Plotly code for.

required

Returns:

Type Description str

str or None: The Plotly code, or None if an error occurred.

"},{"location":"reference/#vanna.generate_question","title":"generate_question(sql)","text":""},{"location":"reference/#vanna.generate_question--example","title":"Example","text":"
vn.generate_question(sql=\"SELECT * FROM students WHERE name = 'John Doe'\")\n# 'What is the name of the student?'\n

Generate a question from an SQL query using the Vanna.AI API.

Parameters:

Name Type Description Default sql str

The SQL query to generate a question for.

required

Returns:

Type Description str

str or None: The question, or None if an error occurred.

"},{"location":"reference/#vanna.generate_sql","title":"generate_sql(question)","text":""},{"location":"reference/#vanna.generate_sql--example","title":"Example","text":"
vn.generate_sql(question=\"What is the average salary of employees?\")\n# SELECT AVG(salary) FROM employees\n

Generate an SQL query using the Vanna.AI API.

Parameters:

Name Type Description Default question str

The question to generate an SQL query for.

required

Returns:

Type Description str

str or None: The SQL query, or None if an error occurred.

"},{"location":"reference/#vanna.get_accuracy_stats","title":"get_accuracy_stats()","text":""},{"location":"reference/#vanna.get_accuracy_stats--example","title":"Example","text":"
vn.get_accuracy_stats()\n

Get the accuracy statistics from the Vanna.AI API.

Returns:

Type Description AccuracyStats

dict or None: The accuracy statistics, or None if an error occurred.

"},{"location":"reference/#vanna.get_flagged_questions","title":"get_flagged_questions()","text":""},{"location":"reference/#vanna.get_flagged_questions--example","title":"Example","text":"
questions = vn.get_flagged_questions()\n

Get a list of flagged questions from the Vanna.AI API.

Returns:

Type Description QuestionList

List[FullQuestionDocument] or None: The list of flagged questions, or None if an error occurred.

"},{"location":"reference/#vanna.get_plotly_figure","title":"get_plotly_figure(plotly_code, df, dark_mode=True)","text":""},{"location":"reference/#vanna.get_plotly_figure--example","title":"Example","text":"

fig = vn.get_plotly_figure(\n    plotly_code=\"fig = px.bar(df, x='name', y='salary')\",\n    df=df\n)\nfig.show()\n
Get a Plotly figure from a dataframe and Plotly code.

Parameters:

Name Type Description Default df pd.DataFrame

The dataframe to use.

required plotly_code str

The Plotly code to use.

required

Returns:

Type Description plotly.graph_objs.Figure

plotly.graph_objs.Figure: The Plotly figure.

"},{"location":"reference/#vanna.get_results","title":"get_results(cs, default_database, sql)","text":""},{"location":"reference/#vanna.get_results--example","title":"Example","text":"

df = vn.get_results(cs=cs, default_database=\"PUBLIC\", sql=\"SELECT * FROM students\")\n
Run the SQL query and return the results as a pandas dataframe. This is just a helper function that does not use the Vanna.AI API.

Parameters:

Name Type Description Default cs

Snowflake connection cursor.

required default_database str

The default database to use.

required sql str

The SQL query to execute.

required

Returns:

Type Description pd.DataFrame

pd.DataFrame: The results of the SQL query.

"},{"location":"reference/#vanna.list_orgs","title":"list_orgs()","text":""},{"location":"reference/#vanna.list_orgs--example","title":"Example","text":"
orgs = vn.list_orgs()\n

List the organizations that the user is a member of.

Returns:

Type Description List[str]

List[str]: A list of organization names.

"},{"location":"reference/#vanna.login","title":"login(email, otp_code=None)","text":""},{"location":"reference/#vanna.login--example","title":"Example","text":"
vn.login(email=\"username@example.com\")\n

Login to the Vanna.AI API.

Parameters:

Name Type Description Default email str

The email address to login with.

required otp_code Union[str, None]

The OTP code to login with. If None, an OTP code will be sent to the email address.

None

Returns:

Name Type Description bool bool

True if the login was successful, False otherwise.

"},{"location":"reference/#vanna.remove_sql","title":"remove_sql(question)","text":""},{"location":"reference/#vanna.remove_sql--example","title":"Example","text":"

vn.remove_sql(question=\"What is the average salary of employees?\")\n
Remove a question and its corresponding SQL query from the Vanna.AI database.

Parameters:

Name Type Description Default question str

The question to remove.

required"},{"location":"reference/#vanna.set_org","title":"set_org(org)","text":""},{"location":"reference/#vanna.set_org--example","title":"Example","text":"
vn.set_org(\"my-org\")\n

Set the organization name for the Vanna.AI API.

Parameters:

Name Type Description Default org str

The organization name.

required"},{"location":"reference/#vanna.store_sql","title":"store_sql(question, sql)","text":""},{"location":"reference/#vanna.store_sql--example","title":"Example","text":"
vn.store_sql(\n    question=\"What is the average salary of employees?\", \n    sql=\"SELECT AVG(salary) FROM employees\"\n)\n

Store a question and its corresponding SQL query in the Vanna.AI database.

Parameters:

Name Type Description Default question str

The question to store.

required sql str

The SQL query to store.

required"},{"location":"slack/","title":"Vanna.AI Slack App","text":"

Coming Soon

"},{"location":"streamlit/","title":"Use Vanna.AI with Streamlit","text":""},{"location":"streamlit/#app","title":"App","text":""},{"location":"streamlit/#code","title":"Code","text":"

https://github.com/vanna-ai/vanna-streamlit

"},{"location":"support/","title":"Getting Support","text":"

E-mail us at support@vanna.ai

Join our Slack

"},{"location":"vanna-py-overview/","title":"Vanna py overview","text":""},{"location":"vanna-py-overview/#vannaai","title":"Vanna.AI","text":""},{"location":"vanna-py-overview/#python-package","title":"Python Package","text":"

For Natural Language to SQL (and associated functionality)

Full Documentation Reference

Slack

support@vanna.ai

"},{"location":"vanna-py-overview/#what-can-you-do-with-vannaai","title":"What can you do with Vanna.AI?","text":"

Vanna.AI has a Python package that allows you to convert natural language to SQL.

import vanna as vn\n\nvn.api_key = 'vanna-key-...' # Set your API key\nvn.set_org('') # Set your organization name\n\nmy_question = 'What are the top 10 ABC by XYZ?'\n\nsql = vn.generate_sql(question=my_question, error_msg=None) \n# SELECT * FROM table_name WHERE column_name = 'value'\n\n(my_df, error_msg) = vn.run_sql(cs: snowflake.Cursor, sql=sql)\n\nvn.generate_plotly_code(question=my_question, df=my_df)\n# fig = px.bar(df, x='column_name', y='column_name')\n\nvn.run_plotly_code(plotly_code=fig, df=my_df)\n
"},{"location":"vanna-py-overview/#installation","title":"Installation","text":""},{"location":"vanna-py-overview/#global-installation","title":"Global Installation","text":"

pip install vanna\n
or
pip3 install vanna\n

"},{"location":"vanna-py-overview/#use-a-virtual-environment","title":"Use a Virtual Environment","text":"
python3 -m venv venv\nsource venv/bin/activate\npip install vanna\n
"},{"location":"workflow/","title":"What's the Workflow?","text":"
flowchart TD\n    DB[(Known Correct Question-SQL)]\n    Try[Try to Use DDL/Documentation]\n    SQL(SQL)\n    Check{Is the SQL correct?}\n    Generate[fa:fa-circle-question Use Examples to Generate]\n    DB --> Find\n    Question[fa:fa-circle-question Question] --> Find{fa:fa-magnifying-glass Do we have similar questions?}\n    Find -- Yes --> Generate\n    Find -- No --> Try\n    Generate --> SQL\n    Try --> SQL\n    SQL --> Check\n    Check -- Yes --> DB\n    Check -- No --> Analyst[fa:fa-glasses Analyst Writes the SQL]\n    Analyst -- Adds --> DB
"}]} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 000000000..0f8724efd --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz new file mode 100644 index 0000000000000000000000000000000000000000..b6a454ec2fcaf446de4b0ce1ad5dfd61761a23b7 GIT binary patch literal 127 zcmV-_0D%7=iwFqHCZ}Wq|8r?{Wo=<_E_iKh04<9_3V)_WXo8&M?ytk3HC}0~zlG)Vu + + + + + + + + + + + + + + + + Vanna.AI Slack App - Vanna.AI Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + +

Vanna.AI Slack App

+

Coming Soon

+ + + + + + +
+
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/slides.html b/slides.html new file mode 100644 index 000000000..ee93ea1d7 --- /dev/null +++ b/slides.html @@ -0,0 +1,63 @@ +
+
Updated: 2023-05-22
+ +

Vanna.AI

+

Python Package

+

For Natural Language to SQL
+(and associated functionality)

+

support@vanna.ai

+
+
+
Updated: 2023-05-22
+

What can you do with Vanna.AI?

+

Vanna.AI has a Python package that allows you to convert natural language to SQL.

+
import vanna as vn
+
+vn.api_key = 'vanna-key-...' # Set your API key
+vn.set_org('') # Set your organization name
+
+my_question = 'What are the top 10 ABC by XYZ?'
+
+sql = vn.generate_sql(question=my_question, error_msg=None) 
+# SELECT * FROM table_name WHERE column_name = 'value'
+
+(my_df, error_msg) = vn.run_sql(cs: snowflake.Cursor, sql=sql)
+
+vn.generate_plotly_code(question=my_question, df=my_df)
+# fig = px.bar(df, x='column_name', y='column_name')
+
+vn.run_plotly_code(plotly_code=fig, df=my_df)
+
+
+
+
+
Updated: 2023-05-22
+

Installation

+

Global Installation

+
pip install vanna
+
+

or

+
pip3 install vanna
+
+

Use a Virtual Environment

+
python3 -m venv venv
+source venv/bin/activate
+pip install vanna
+
+
+
+
Updated: 2023-05-22
+
+
\ No newline at end of file diff --git a/streamlit/index.html b/streamlit/index.html new file mode 100644 index 000000000..d0767f018 --- /dev/null +++ b/streamlit/index.html @@ -0,0 +1,565 @@ + + + + + + + + + + + + + + + + + + + + + + Use with Streamlit - Vanna.AI Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+ +
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/stylesheets/extra.css b/stylesheets/extra.css new file mode 100644 index 000000000..f34cb4f5e --- /dev/null +++ b/stylesheets/extra.css @@ -0,0 +1,23 @@ +@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@350&display=swap'); + +[data-md-color-scheme="vanna"] { + --md-primary-fg-color: #009efd; + --md-primary-fg-color--light: #009efd; + --md-primary-fg-color--dark: #009efd; + --md-accent-fg-color: #009efd; + /* --md-hue: 210; */ +} + +strong { + font-family: 'Roboto Slab', serif; + color: transparent !important; + background: linear-gradient(15deg, #009efd, #2af598); + background-clip: text; + -webkit-background-clip: text; + } +marp-pre { + font-family: 'Fira Code Light', monospace; + font-size: 0.75em; + background: #000; + border-radius: 30px; +} \ No newline at end of file diff --git a/support/index.html b/support/index.html new file mode 100644 index 000000000..67d3784ec --- /dev/null +++ b/support/index.html @@ -0,0 +1,495 @@ + + + + + + + + + + + + + + + + + + + + Support - Vanna.AI Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+ +
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vanna-py-overview/index.html b/vanna-py-overview/index.html new file mode 100644 index 000000000..ff6719a26 --- /dev/null +++ b/vanna-py-overview/index.html @@ -0,0 +1,553 @@ + + + + + + + + + + + + + + + + + + Vanna py overview - Vanna.AI Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + + +

bg left:40% 80%

+

Vanna.AI

+

Python Package

+

For Natural Language to SQL +(and associated functionality)

+

Full Documentation Reference

+

Slack

+

support@vanna.ai

+
+

What can you do with Vanna.AI?

+

Vanna.AI has a Python package that allows you to convert natural language to SQL.

+
import vanna as vn
+
+vn.api_key = 'vanna-key-...' # Set your API key
+vn.set_org('') # Set your organization name
+
+my_question = 'What are the top 10 ABC by XYZ?'
+
+sql = vn.generate_sql(question=my_question, error_msg=None) 
+# SELECT * FROM table_name WHERE column_name = 'value'
+
+(my_df, error_msg) = vn.run_sql(cs: snowflake.Cursor, sql=sql)
+
+vn.generate_plotly_code(question=my_question, df=my_df)
+# fig = px.bar(df, x='column_name', y='column_name')
+
+vn.run_plotly_code(plotly_code=fig, df=my_df)
+
+
+

Installation

+

Global Installation

+

pip install vanna
+
+or +
pip3 install vanna
+

+

Use a Virtual Environment

+
python3 -m venv venv
+source venv/bin/activate
+pip install vanna
+
+
+ + + + + + +
+
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/vanna.html b/vanna.html new file mode 100644 index 000000000..d5d7534b0 --- /dev/null +++ b/vanna.html @@ -0,0 +1,786 @@ + + + + + + + vanna API documentation + + + + + + + + + + +
+
+

+vanna

+ +

What is Vanna.AI?

+ +

Vanna.AI is a platform that allows you to ask questions about your data in plain English. It is an AI-powered data analyst that can answer questions about your data, generate SQL, and create visualizations.

+ +

How do I use Vanna.AI?

+ +
    +
  • Import the Vanna.AI library
  • +
  • Set your API key
  • +
  • Set your organization name
  • +
  • Train Vanna.AI on your data
  • +
  • Ask questions about your data
  • +
+ +

How does Vanna.AI work?

+ +
flowchart TD + DB[(Known Correct Question-SQL)] + Try[Try to Use DDL/Documentation] + SQL(SQL) + Check{Is the SQL correct?} + Generate[fa:fa-circle-question Use Examples to Generate] + DB --> Find + Question[fa:fa-circle-question Question] --> Find{fa:fa-magnifying-glass Do we have similar questions?} + Find -- Yes --> Generate + Find -- No --> Try + Generate --> SQL + Try --> SQL + SQL --> Check + Check -- Yes --> DB + Check -- No --> Analyst[fa:fa-glasses Analyst Writes the SQL] + Analyst -- Adds --> DB +
+ +

Getting Started

+ +

How do I import the Vanna.AI library?

+ +
+
import vanna as vn
+
+
+ +

How do I set my API key?

+ +
+
vn.api_key = 'vanna-key-...'
+
+
+ +

How do I set my organization name?

+ +
+
vn.set_org('my_org')
+
+
+ +

How do I train Vanna.AI on my data?

+ +
+
vn.store_sql(
+    question="Who are the top 10 customers by Sales?", 
+    sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"
+)
+
+
+ +

How do I ask questions about my data?

+ +
+
my_question = 'What are the top 10 ABC by XYZ?'
+
+sql = vn.generate_sql(question=my_question, error_msg=None)
+# SELECT * FROM table_name WHERE column_name = 'value'
+
+
+ +

Full Example

+ +
+
import vanna as vn
+
+vn.api_key = 'vanna-key-...' # Set your API key
+vn.set_org('') # Set your organization name
+
+# Train Vanna.AI on your data
+vn.store_sql(
+    question="Who are the top 10 customers by Sales?", 
+    sql="SELECT customer_name, sales FROM customers ORDER BY sales DESC LIMIT 10"
+)
+
+# Ask questions about your data
+my_question = 'What are the top 10 ABC by XYZ?'
+
+# Generate SQL
+sql = vn.generate_sql(question=my_question, error_msg=None) 
+
+# Connect to your database
+conn = snowflake.connector.connect(
+        user='my_user',
+        password='my_password',
+        account='my_account',
+        database='my_database',
+    )
+
+cs = conn.cursor()
+
+# Get results
+df = vn.get_results(
+    cs=cs, 
+    default_db=my_default_db, 
+    sql=sql
+    )
+
+# Generate Plotly code
+plotly_code = vn.generate_plotly_code(
+    question=my_question, 
+    sql=sql, 
+    df=df
+    )
+
+# Get Plotly figure
+fig = vn.get_plotly_figure(
+    plotly_code=plotly_code, 
+    df=df
+    )
+
+
+ +

API Reference

+
+ + + + +
+
+
+ api_key: Optional[str] = +None + + +
+ + + + +
+
+
+ + def + set_org(org: str) -> None: + + +
+ + +

Set the organization name for the Vanna.AI API.

+ +
Arguments:
+ +
    +
  • org (str): The organization name.
  • +
+
+ + +
+
+
+ + def + store_sql(question: str, sql: str) -> bool: + + +
+ + +

Store a question and its corresponding SQL query in the Vanna.AI database.

+ +
Arguments:
+ +
    +
  • question (str): The question to store.
  • +
  • sql (str): The SQL query to store.
  • +
+
+ + +
+
+
+ + def + flag_sql_for_review( question: str, sql: Optional[str] = None, error_msg: Optional[str] = None) -> bool: + + +
+ + +

Flag a question and its corresponding SQL query for review by the Vanna.AI team.

+ +
Arguments:
+ +
    +
  • question (str): The question to flag.
  • +
  • sql (str): The SQL query to flag.
  • +
  • error_msg (str): The error message to flag.
  • +
+ +
Returns:
+ +
+

bool: True if the question and SQL query were flagged successfully, False otherwise.

+
+
+ + +
+
+
+ + def + remove_sql(question: str) -> bool: + + +
+ + +

Remove a question and its corresponding SQL query from the Vanna.AI database.

+ +
Arguments:
+ +
    +
  • question (str): The question to remove.
  • +
+
+ + +
+
+
+ + def + generate_sql(question: str) -> str: + + +
+ + +

Generate an SQL query using the Vanna.AI API.

+ +
Arguments:
+ +
    +
  • question (str): The question to generate an SQL query for.
  • +
+ +
Returns:
+ +
+

str or None: The SQL query, or None if an error occurred.

+
+
+ + +
+
+
+ + def + generate_plotly_code( question: Optional[str], sql: Optional[str], df: pandas.core.frame.DataFrame) -> str: + + +
+ + +

Generate Plotly code using the Vanna.AI API.

+ +
Arguments:
+ +
    +
  • question (str): The question to generate Plotly code for.
  • +
  • sql (str): The SQL query to generate Plotly code for.
  • +
  • df (pd.DataFrame): The dataframe to generate Plotly code for.
  • +
+ +
Returns:
+ +
+

str or None: The Plotly code, or None if an error occurred.

+
+
+ + +
+
+
+ + def + get_plotly_figure( plotly_code: str, df: pandas.core.frame.DataFrame, dark_mode: bool = True) -> plotly.graph_objs._figure.Figure: + + +
+ + +

Get a Plotly figure from a dataframe and Plotly code.

+ +
Arguments:
+ +
    +
  • df (pd.DataFrame): The dataframe to use.
  • +
  • plotly_code (str): The Plotly code to use.
  • +
+ +
Returns:
+ +
+

plotly.graph_objs.Figure: The Plotly figure.

+
+
+ + +
+
+
+ + def + get_results(cs, default_database: str, sql: str) -> pandas.core.frame.DataFrame: + + +
+ + +

Run the SQL query and return the results as a pandas dataframe.

+ +
Arguments:
+ +
    +
  • cs: Snowflake connection cursor.
  • +
  • default_database (str): The default database to use.
  • +
  • sql (str): The SQL query to execute.
  • +
+ +
Returns:
+ +
+

pd.DataFrame: The results of the SQL query.

+
+
+ + +
+
+
+ + def + generate_explanation(sql: str) -> str: + + +
+ + +

Example

+ +
+
vn.generate_explanation(sql="SELECT * FROM students WHERE name = 'John Doe'")
+# 'AI Response'
+
+
+ +

Generate an explanation of an SQL query using the Vanna.AI API.

+ +
Arguments:
+ +
    +
  • sql (str): The SQL query to generate an explanation for.
  • +
+ +
Returns:
+ +
+

str or None: The explanation, or None if an error occurred.

+
+
+ + +
+
+
+ + def + generate_question(sql: str) -> str: + + +
+ + +

Example

+ +
+
vn.generate_question(sql="SELECT * FROM students WHERE name = 'John Doe'")
+# 'AI Response'
+
+
+ +

Generate a question from an SQL query using the Vanna.AI API.

+ +
Arguments:
+ +
    +
  • sql (str): The SQL query to generate a question for.
  • +
+ +
Returns:
+ +
+

str or None: The question, or None if an error occurred.

+
+
+ + +
+
+
+ + def + get_flagged_questions() -> vanna.types.QuestionList: + + +
+ + +

Example

+ +
+
vn.get_flagged_questions()
+# [FullQuestionDocument(...), ...]
+
+
+ +

Get a list of flagged questions from the Vanna.AI API.

+ +
Returns:
+ +
+

List[FullQuestionDocument] or None: The list of flagged questions, or None if an error occurred.

+
+
+ + +
+
+
+ + def + get_accuracy_stats() -> vanna.types.AccuracyStats: + + +
+ + +

Example

+ +
+
vn.get_accuracy_stats()
+# {'accuracy': 0.0, 'total': 0, 'correct': 0}
+
+
+ +

Get the accuracy statistics from the Vanna.AI API.

+ +
Returns:
+ +
+

dict or None: The accuracy statistics, or None if an error occurred.

+
+
+ + +
+
+ + \ No newline at end of file diff --git a/vanna/types.html b/vanna/types.html new file mode 100644 index 000000000..e67727804 --- /dev/null +++ b/vanna/types.html @@ -0,0 +1,1717 @@ + + + + + + + vanna.types API documentation + + + + + + + + + + +
+
+

+vanna.types

+ + + + + +
+
+
+
@dataclass
+ + class + Status: + + +
+ + + + +
+
+ + Status(success: bool, message: str) + + +
+ + + + +
+
+
+ success: bool + + +
+ + + + +
+
+
+ message: str + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + QuestionList: + + +
+ + + + +
+
+ + QuestionList(questions: List[vanna.types.FullQuestionDocument]) + + +
+ + + + +
+
+
+ questions: List[vanna.types.FullQuestionDocument] + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + FullQuestionDocument: + + +
+ + + + +
+
+ + FullQuestionDocument( id: vanna.types.QuestionId, question: vanna.types.Question, answer: vanna.types.SQLAnswer | None, data: vanna.types.DataResult | None, plotly: vanna.types.PlotlyResult | None) + + +
+ + + + +
+
+ + + + + +
+
+
+ question: vanna.types.Question + + +
+ + + + +
+
+
+ answer: vanna.types.SQLAnswer | None + + +
+ + + + +
+
+
+ data: vanna.types.DataResult | None + + +
+ + + + +
+
+
+ plotly: vanna.types.PlotlyResult | None + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + QuestionSQLPair: + + +
+ + + + +
+
+ + QuestionSQLPair(question: str, sql: str) + + +
+ + + + +
+
+
+ question: str + + +
+ + + + +
+
+
+ sql: str + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + Organization: + + +
+ + + + +
+
+ + Organization( name: str, user: str | None, connection: vanna.types.Connection | None) + + +
+ + + + +
+
+
+ name: str + + +
+ + + + +
+
+
+ user: str | None + + +
+ + + + +
+
+
+ connection: vanna.types.Connection | None + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + QuestionId: + + +
+ + + + +
+
+ + QuestionId(id: str) + + +
+ + + + +
+
+
+ id: str + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + Question: + + +
+ + + + +
+
+ + Question(question: str) + + +
+ + + + +
+
+
+ question: str + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + QuestionCategory: + + +
+ + + + +
+
+ + QuestionCategory(question: str, category: str) + + +
+ + + + +
+
+
+ question: str + + +
+ + + + +
+
+
+ category: str + + +
+ + + + +
+
+
+ NO_SQL_GENERATED = +'No SQL Generated' + + +
+ + + + +
+
+
+ SQL_UNABLE_TO_RUN = +'SQL Unable to Run' + + +
+ + + + +
+
+
+ BOOTSTRAP_TRAINING_QUERY = +'Bootstrap Training Query' + + +
+ + + + +
+
+
+ ASSUMED_CORRECT = +'Assumed Correct' + + +
+ + + + +
+
+
+ FLAGGED_FOR_REVIEW = +'Flagged for Review' + + +
+ + + + +
+
+
+ REVIEWED_AND_APPROVED = +'Reviewed and Approved' + + +
+ + + + +
+
+
+ REVIEWED_AND_REJECTED = +'Reviewed and Rejected' + + +
+ + + + +
+
+
+ REVIEWED_AND_UPDATED = +'Reviewed and Updated' + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + AccuracyStats: + + +
+ + + + +
+
+ + AccuracyStats(num_questions: int, data: Dict[str, int]) + + +
+ + + + +
+
+
+ num_questions: int + + +
+ + + + +
+
+
+ data: Dict[str, int] + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + Followup: + + +
+ + + + +
+
+ + Followup(followup: str) + + +
+ + + + +
+
+
+ followup: str + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + QuestionEmbedding: + + +
+ + + + +
+
+ + QuestionEmbedding(question: vanna.types.Question, embedding: List[float]) + + +
+ + + + +
+
+
+ question: vanna.types.Question + + +
+ + + + +
+
+
+ embedding: List[float] + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + Connection: + + +
+ + + + +
+
+
+
@dataclass
+ + class + SQLAnswer: + + +
+ + + + +
+
+ + SQLAnswer(raw_answer: str, prefix: str, postfix: str, sql: str) + + +
+ + + + +
+
+
+ raw_answer: str + + +
+ + + + +
+
+
+ prefix: str + + +
+ + + + +
+
+
+ postfix: str + + +
+ + + + +
+
+
+ sql: str + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + Explanation: + + +
+ + + + +
+
+ + Explanation(explanation: str) + + +
+ + + + +
+
+
+ explanation: str + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + DataResult: + + +
+ + + + +
+
+ + DataResult( question: str | None, sql: str | None, table_markdown: str, error: str | None, correction_attempts: int) + + +
+ + + + +
+
+
+ question: str | None + + +
+ + + + +
+
+
+ sql: str | None + + +
+ + + + +
+
+
+ table_markdown: str + + +
+ + + + +
+
+
+ error: str | None + + +
+ + + + +
+
+
+ correction_attempts: int + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + PlotlyResult: + + +
+ + + + +
+
+ + PlotlyResult(plotly_code: str) + + +
+ + + + +
+
+
+ plotly_code: str + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + WarehouseDefinition: + + +
+ + + + +
+
+ + WarehouseDefinition(name: str, tables: List[vanna.types.TableDefinition]) + + +
+ + + + +
+
+
+ name: str + + +
+ + + + +
+
+
+ tables: List[vanna.types.TableDefinition] + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + TableDefinition: + + +
+ + + + +
+
+ + TableDefinition( schema_name: str, table_name: str, ddl: str | None, columns: List[vanna.types.ColumnDefinition]) + + +
+ + + + +
+
+
+ schema_name: str + + +
+ + + + +
+
+
+ table_name: str + + +
+ + + + +
+
+
+ ddl: str | None + + +
+ + + + +
+
+
+ columns: List[vanna.types.ColumnDefinition] + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + ColumnDefinition: + + +
+ + + + +
+
+ + ColumnDefinition( name: str, type: str, is_primary_key: bool, is_foreign_key: bool, foreign_key_table: str, foreign_key_column: str) + + +
+ + + + +
+
+
+ name: str + + +
+ + + + +
+
+
+ type: str + + +
+ + + + +
+
+
+ is_primary_key: bool + + +
+ + + + +
+
+
+ is_foreign_key: bool + + +
+ + + + +
+
+
+ foreign_key_table: str + + +
+ + + + +
+
+
+ foreign_key_column: str + + +
+ + + + +
+
+
+
+
@dataclass
+ + class + Diagram: + + +
+ + + + +
+
+ + Diagram(raw: str, mermaid_code: str) + + +
+ + + + +
+
+
+ raw: str + + +
+ + + + +
+
+
+ mermaid_code: str + + +
+ + + + +
+
+
+ + \ No newline at end of file diff --git a/workflow/index.html b/workflow/index.html new file mode 100644 index 000000000..06488bece --- /dev/null +++ b/workflow/index.html @@ -0,0 +1,511 @@ + + + + + + + + + + + + + + + + + + + + + + Adding Vanna to your Workflow - Vanna.AI Documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + +

What's the Workflow?

+
flowchart TD
+    DB[(Known Correct Question-SQL)]
+    Try[Try to Use DDL/Documentation]
+    SQL(SQL)
+    Check{Is the SQL correct?}
+    Generate[fa:fa-circle-question Use Examples to Generate]
+    DB --> Find
+    Question[fa:fa-circle-question Question] --> Find{fa:fa-magnifying-glass Do we have similar questions?}
+    Find -- Yes --> Generate
+    Find -- No --> Try
+    Generate --> SQL
+    Try --> SQL
+    SQL --> Check
+    Check -- Yes --> DB
+    Check -- No --> Analyst[fa:fa-glasses Analyst Writes the SQL]
+    Analyst -- Adds --> DB
+ + + + + + +
+
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + + + + \ No newline at end of file