Skip to content

Instantly share code, notes, and snippets.

@jayercule
jayercule / sources.py
Created October 30, 2023 03:40
GuardRails AI - Source text for provenance validation testing
sources = [
"""1 Move the litter box to the right location. Cats may stop using the litter box after a scary experience in the
area, such as a loud noise or harassment by another pet. [2] They may also dislike the spot you chose after moving
the litter box, or moving to a new home. Keep the litter box in a quiet, low-traffic spot where the cat can see
people coming. Choose a room with at least two exits so the cat doesn't feel cornered. [3] Keep litter boxes away
from food and water bowls. Cats do not like to combine these two areas. Signs that your cat may have had an
unpleasant experience in the litter box including running quickly in and out of the litter box, or using an area
near the litter box. [4] Try moving the box to a new room if you notice this. Keep at least one litter box on every
floor of a multistory home. [5] Keep litter boxes away from food and water bowls. Cats do not like to combine these
two areas. Signs that your cat may have had an unpleasant experience in the litter box including ru
@jayercule
jayercule / HashnodeAPIListPosts.graphql
Last active October 24, 2023 02:04
Hashnode API - Get publication posts GraphQL request body
query Publication {
publication (host:"jayerculetest.hashnode.dev") {
posts(first:10) {
edges {
node {
title
slug
coverImage {
url
attribution