This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import openai | |
class _QueryExecutor: | |
_openai_client = None | |
_model_name = "gpt-4o" | |
@classmethod | |
def invoke(cls, markdown_text, | |
temperature=0.2, max_tokens=16000): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove existing versions of vim | |
cd | |
sudo apt update | |
sudo apt install git -y | |
sudo apt purge vim -y | |
sudo apt autoremove -y | |
sudo apt update | |
sudo apt purge --auto-remove vim-gtk3 -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
## Vagrantfile installing spark, vim-gtk3 and clipboard support. | |
## | |
## To allow clipboard sharing from host to guest and vice versa | |
## you will need to make clipboard sharing birectional from virtual-box using | |
## virtualbox front end. | |
############################################################################### | |
$script = <<SCRIPT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove existing versions of vim | |
cd | |
sudo apt update | |
sudo apt install git -y | |
# Install konsole | |
sudo apt update | |
sudo apt install konsole | |
# Install conky |