{-# LANGUAGE TypeOperators #-}
infix 9 ∘
class Category k where
ident :: a `k` a
(∘) :: (b `k` c) -> (a `k` b) -> (a `k` c)
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 | |
# Sync Homebrew installations between Macs via Dropbox | |
# | |
BREW="/usr/local/bin/brew" | |
# first get local settings | |
echo "Reading local settings ..." | |
rm -f /tmp/brew-sync.* |
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 React from 'react'; | |
import {Tabs, Tab} from 'material-ui/Tabs'; | |
import Slider from 'material-ui/Slider'; | |
import { withRouter } from 'react-router'; | |
import { BrowserRouter as Router, Route, withRouter } from 'react-router-dom' | |
class TabsRouter extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { |
This is not working complete code.
This is strictly a v0.2, scrapy, proof of concept version of a personal AI Assistant working end to end in just ~726 LOC.
This is the second iteration showcasing the two-way prompt aka multi-step human in the loop. The initial, v0, assistant version is here.
It's only a frame of reference for you to consume the core ideas of how to build a POC of a personal AI Assistant.
To see the high level of how this works check out the explanation video. To follow our agentic journey check out the @IndyDevDan channel.
Sequential prompt chaining in one method with context and output back-referencing.
main.py
- start here - full example usingMinimalChainable
fromchain.py
to build a sequential prompt chainchain.py
- contains zero library minimal prompt chain classchain_test.py
- tests forchain.py
, you can ignore thisrequirements.py
- python requirements