Skip to content

Instantly share code, notes, and snippets.

View schlangens's full-sized avatar

Scott Schlangen schlangens

View GitHub Profile
@jrknox1977
jrknox1977 / llm-util.py
Created May 29, 2024 17:15
This Python script demonstrates how to interact with multiple AI models from different providers using their respective APIs.
import os
from dotenv import load_dotenv
from openai import OpenAI
from groq import Groq
import anthropic
import google.generativeai as genai
# Use this pip install command:
# python3 -m pip install openai groq anthropic google-generativeai python-dotenv

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r