Category: How-to
-
Deploying a Streamlit App on Your VPS (with Cloudflare for the Subdomain)
So you’ve coded a Streamlit project, pushed it to GitHub, and rented a cheap VPS. Here is how to turn that server into a public-facing web app — no prior Docker or sysadmin chops required. 1. Prep the VPS (Ubuntu 22.04) 2. Clone Your GitHub Repo 2 a. Create a Personal Access Token 2 b.…
-
Keyword and Semantic Search with Contextual Reranking for Enhanced LLM Queries
A Novel Approach to Combined Keyword and Semantic Search with Contextual Reranking for Enhanced LLM Queries By Eric Boehlke – truevis.com AbstractIn the era of large language models (LLMs), efficient and accurate information retrieval is crucial. This paper introduces a novel hybrid approach that integrates keyword extraction, text-based search, semantic vector search, and reranking. By…
-
Optimizing Vector Storage: Moving from Pinecone to SQLite for Static LLM Applications
Learn how to implement vector similarity search using SQLite instead of Pinecone, cutting infrastructure costs while maintaining performance for static LLM applications. A practical guide with code examples and cost comparisons.
-
Using a Prompt File with Cursor Streamlit
In Cursor’s Composer you can point to an MD file as a prompt instead of typing it. Just use “@” Composer Prompt Prompt File Results Before After See also https://discuss.streamlit.io/t/lets-make-a-prompt-library-for-cursor-streamlit/79937
-
Create and Publish an Interactive Web App Using Cursor and Streamlit
Create and Publish an Interactive Web App Using Cursor and Streamlit
-
Programming with Bing Chat AI as Helper
Bing AI Chat is an amazing a programming coach. I can give it some code or info plus what I want to do with it and it will write new code for me. Python works really well. Using Bing Chat Here are some snippets of a Type Catalog generator tool that I developed for my…
-
How to Get a List of Installed Apps in Windows
Download ZIP from https://gist.github.com/Bill-Stewart/a524bd4ce9f2b041cba5d499ba76142c#file-get-installedapp-ps1 Extract a524bd4ce9f2b041cba5d499ba76142c-b3da3b34bfe883c6b71ed18660fd897cd2aaaab6\Get-InstalledApp.ps1 to a folder Run Windows PowerShell as administrator CD to the folder that the PSI file was extracted to Change execution policy Run Set-ExecutionPolicy then Bypass then Y Info about that command at https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.3 You can set it back to Default if you want, afterwards. Run .\Get-InstalledApp.ps1 -Publisher Autodesk…
-
Upgrading to Revit 2023.1.1 Update
A way to find the elusive RVT.msi from old install files when running Revit 2023.1.1 Update
-
Comparing OBJ Import Revit 2022 Addin vs Native Import
In this video, I compare my $50 Mesh Import from OBJ files for Revit addin to the native OBJ importer that was new in Revit 2022. It seems to me that my addin is better because one can apply a Revit Material to the import. The native method does have an advantage of perhaps being…
-
Upgrading Revit API Apps For Newer Revit Versions
Every version of a Revit API app must reference some DLLs that come with Revit’s releases. Open the .sln of your API code. In Visual Studio’s Solution Explorer, see Properties. One can see what Revit version an app was written for by the path of some of those references. Remove Revit references from old Revit…