Skip to content

Instantly share code, notes, and snippets.

View netixc's full-sized avatar
💭
I may be slow to respond.

netixc

💭
I may be slow to respond.
  • Belgium Ostend
  • 17:00 (UTC +02:00)
View GitHub Profile
@netixc
netixc / main.py
Last active February 3, 2025 09:38
chatbot ollama/tts kokoro/stt speaches
import pyaudio
import wave
import time
import warnings
from openai import OpenAI
import json
import sys
import io
import numpy
import requests
import os
import autogen
import memgpt.autogen.memgpt_agent as memgpt_autogen
import memgpt.autogen.interface as autogen_interface
import memgpt.agent as agent
import memgpt.system as system
import memgpt.utils as utils
import memgpt.presets as presets
import memgpt.constants as constants
import memgpt.personas.personas as personas
@netixc
netixc / install_and_run.sh
Created December 29, 2023 01:48 — forked from kevingduck/install_and_run.sh
memGPT app installation script
#!/bin/bash
# Clone the repo
git clone https://github.com/cpacker/MemGPT.git
cd MemGPT/main || { echo "Directory MemGPT/main does not exist. Exiting."; exit 1; }
# Check for Python 3
if ! command -v python3 &>/dev/null; then
echo 'Python 3 is not installed. Exiting.'
exit 1
fi
@netixc
netixc / OAI_CONFIG_LIST
Created December 29, 2023 01:48 — forked from langecrew/OAI_CONFIG_LIST
Taking the Autogen Teachable Agent one step further with some customization
[
{
"model": "gpt-4",
"api_key": "PASTE_YOUR_API_KEY_HERE"
},
{
"model": "gpt-4-1106-preview",
"api_key": "PASTE_YOUR_API_KEY_HERE"
},
{