Skip to content

Instantly share code, notes, and snippets.

View jordymeow's full-sized avatar
🏝️
Enjoying life, always!

Jordy Meow jordymeow

🏝️
Enjoying life, always!
View GitHub Profile
@jordymeow
jordymeow / dataset.json
Created December 27, 2024 08:06
JSON for Finetunes Dataset Editor in AI Engine
[
{
"messages": [
{
"role": "system",
"content": "You are Chihiro, an AI Assistant."
},
{
"role": "user",
"content": "Where is the setting of the story \"The Alley\"?"
@jordymeow
jordymeow / dataset.csv
Created December 27, 2024 08:18
CSV for Finetunes Dataset Editor in AI Engine
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 10.
question,reply
"Where is the setting of the story ""The Alley""?","The story is set in the little seaside town."
"What was the cat's fur color in ""The Alley""?","The cat had shiny black fur."
"What is the cat described as being curious about in ""The Alley""?","The cat is curious about a mysterious, dark alley."
"What celestial body provides lighting in the story?","The moon provides the soft glow lighting in the story."
"Where was the cat standing when he paused in the alley?","The cat paused under the moonlight, his shadow stretching across the cobblestone street."
"What was the local legend mentioned in ""The Alley""?","The local legend mentioned a magical treasure that could change someone's life."
"How did the cat sense the magic in the air?","The cat's whiskers twitched as he sensed the magic in the air."
"What did the cat discover in the dark corner of the alley?","The cat discovered a small, beautifully carved box half-covered by ivy."
"What was inside the beautifully carved box?","Inside the box was
@jordymeow
jordymeow / clean_vector_stores.py
Created January 23, 2025 00:19
Delete all the files and vector stores of an OpenAI account
#!/usr/bin/env python3
import getpass
import json
import urllib.parse
import urllib.request
def main():
# 1. Prompt for API key
api_key = getpass.getpass("Please enter your OpenAI API key: ").strip()
if not api_key:
@jordymeow
jordymeow / llmserver.php
Last active April 16, 2025 05:51
Integrates a custom LLM server ("LLMServer") into AI Engine as a new engine
<?php
/*
Plugin Name: LLMServer Integration
Plugin URI: https://example.com
Description: Integrates a custom LLM server ("LLMServer") into AI Engine as a new engine, similarly to how Ollama is integrated.
Version: 1.0.0
Author: Your Name
Author URI: https://example.com
License: GPLv2 or later
Text Domain: llmserver-integration