This file contains 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 curses | |
import logging | |
import math | |
import plotly.graph_objects as go | |
import sys | |
import random | |
logging.basicConfig( | |
filename="layer_axiom_game.log", | |
filemode="w", |
This file contains 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 curses | |
import argparse | |
import os | |
import sys | |
import time | |
import plotly.graph_objects as go | |
import matplotlib.pyplot as plt | |
import logging | |
import openai |
This file contains 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 os | |
import logging | |
import argparse | |
from parsera import Parsera | |
import json | |
import time | |
from requests.exceptions import RequestException | |
# Setup logging | |
logging.basicConfig(level=logging.INFO) |
This file contains 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 os | |
import logging | |
import argparse | |
from openai import OpenAI | |
from composio_openai import ComposioToolSet, App, Action | |
# Setup logging | |
logging.basicConfig(level=logging.INFO) | |
logger = logging.getLogger(__name__) |
This file contains 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 os | |
import logging | |
import argparse | |
from haystack import Pipeline, PredefinedPipeline | |
import urllib.request | |
# Setup logging | |
logging.basicConfig(level=logging.INFO) | |
logger = logging.getLogger(__name__) |
This file contains 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
#!/bin/bash | |
# Variables | |
PROJECT_DIR="email_service" | |
FLASK_APP_FILE="app.py" | |
DOCKERFILE="Dockerfile" | |
REQUIREMENTS_FILE="requirements.txt" | |
DOCKER_COMPOSE_FILE="docker-compose.yml" | |
# Default values for testing with MailHog |
This file contains 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
#!/bin/bash | |
# Set script to exit on error | |
set -e | |
# Enable logging | |
exec > >(tee -i /var/log/setup-script.log) | |
exec 2>&1 | |
echo "Starting script execution..." |