Skip to content

Commit f71718a

Browse files
authored
Put technical notes on the website. (#177)
Publish technical notes on the website.
1 parent 1f0b9fb commit f71718a

15 files changed

+113
-58
lines changed

docs/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@
22

33
## To Add A Banner At the Top Of A Page use
44

5-
6-
```docsy
5+
```docsy {"id":"01J49N8FNVE9SFP3DPTM3F52A1"}
76
{{% pageinfo %}}
87
This is a placeholder page that shows you how to use this template site.
98
{{% /pageinfo %}}
9+
```
10+
11+
```sh {"id":"01J49N9KR89D85Z84YDEVAC563"}
12+
To run hugo locally
13+
```
14+
15+
```sh {"id":"01J49NA03YRB6QCR5CGWN31V0K"}
16+
hugo serve -D
1017
```
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Blog
33
menu: {main: {weight: 30}}
4+
weight: 30
45
---
56

67
Blogs related to Foyle.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
description: Technical Notes About Foyle
3+
title: Tech Notes
4+
weight: 40
5+
---
6+
7+
# Objective:
8+
**Describe** how we want to use technical notes and establish guidelines on authoring technical notes (TNs) for consistency.
9+
10+
# Why TechNotes?
11+
We use TNs communicate key ideas, topics, practices, and decisions for the project. TNs provide a historical record with minimal burden on the authors or readers. We will use TNs in Foyle to document our team engineering practices and technical “stakes-in-the-ground” in a “bite-sized” manner. Use a TN instead of email to communicate important/durable decisions or practices. Follow this up with an email notification to the team when the document is published.
12+
13+
TNs are not meant to replace documents such as User Guides or Detailed Design documents. However, many aspects of such larger docs can be discussed and formalized using a TN to feed into the authoring of these larger docs.
14+
15+
## Guidelines
16+
17+
1. All TNs have a unique ID that TNxxx where xxx is a sequential number
18+
1. Keep TNs brief, clear and to the point.
19+
1. Primary author is listed as owner. Secondary authors are recognized as co-creators.
20+
1. Allow contributors to add themselves in the contributors section.
21+
1. TNs are considered immutable once they are published. They should be deprecated or superceded by new TNs. This provides a historical timeline and prevents guesswork on whether a TN is still relevant.
22+
1. Only mark a TN published when ready (and approved, if there is an approver).
23+
1. If a TN is deprecated mark it so. If there is a newer version that supersedes it, put the new doc in the front matter.
24+
25+
Happy Tech-Noting

tech_notes/architecture.svg renamed to docs/content/en/docs/tech-notes/architecture.svg

File renamed without changes.

tech_notes/copilot_in_notebook.png renamed to docs/content/en/docs/tech-notes/copilot_in_notebook.png

File renamed without changes.

tech_notes/runme_ulids.png renamed to docs/content/en/docs/tech-notes/runme_ulids.png

File renamed without changes.

tech_notes/tn001_logging.md renamed to docs/content/en/docs/tech-notes/tn001_logging.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
# Logging
1+
---
2+
title: TN001 Logging
3+
description: Design logging to support capturing human feedback.
4+
weight: 1
5+
author: "[Jeremy Lewi](https://lewi.us/about)"
6+
date: 2024-04-10
7+
---
28

3-
* **Author**: Jeremy Lewi
4-
* **Last Updated**: 2024-04-10
59
* **Status**: Being Drafted
610

711
## Objective
@@ -13,16 +17,16 @@ Design logging to support capturing human feedback.
1317
One of the key goals of Foyle is to collect human feedback to improve the quality of the AI.
1418
The key interaction that we want to capture is as follows
1519

16-
*. User asks the AI to generate one or more commands
17-
*. User edits those commands
18-
*. User executes those commands
20+
* User asks the AI to generate one or more commands
21+
* User edits those commands
22+
* User executes those commands
1923

2024
In particular, we want to be able to link the commands that the AI generated to the commands that the user ultimately
2125
executes. We can do this as follows
2226

23-
*. When the AI generates any blocks it attaches a unique block id to each block
24-
*. When the frontend makes a request to the backend, the request includes the block ids of the blocks
25-
*. The blockid can then be used as a join key to link what the AI produced with what a human ultimately executed
27+
* When the AI generates any blocks it attaches a unique block id to each block
28+
* When the frontend makes a request to the backend, the request includes the block ids of the blocks
29+
* The blockid can then be used as a join key to link what the AI produced with what a human ultimately executed
2630

2731
## Implementation
2832

tech_notes/tn002_learning.md renamed to docs/content/en/docs/tech-notes/tn002_learning.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# Learning from human feedback
2-
3-
* **Author**: Jeremy Lewi
4-
* **Last Updated**: 2024-04-23
5-
* **Status**: Publish
1+
---
2+
title: TN002 Learning from Human Feedback
3+
description: Allow Foyle to learn from human feedback.
4+
weight: 2
5+
author: "[Jeremy Lewi](https://lewi.us/about)"
6+
date: 2024-04-23
7+
status: published
8+
---
69

710
## Objective
811

tech_notes/tn003_learning_eval.md renamed to docs/content/en/docs/tech-notes/tn003_learning_eval.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
---
2-
runme:
3-
id: 01HWP5TGX8T7WR6FDJNH0T5MAY
4-
version: v3
2+
title: TN003 Learning Evaluation
3+
description: Measure the efficacy of the learning system.
4+
weight: 3
5+
author: "[Jeremy Lewi](https://lewi.us/about)"
6+
date: 2024-04-27
7+
status: published
58
---
69

7-
# Learning Evaluation
8-
9-
* **Author**: Jeremy Lewi
10-
* **Last Updated**: 2024-04-27
11-
* **Status**: Published
12-
1310
## Objective
1411

1512
Measure the efficacy of the learning system.
1613

1714
## TL;DR
1815

1916
The key hypothesis of Foyle is that by using implicit human feedback, we can create an AI that automatically learns
20-
about your infrastructure. In [TN002_Learning](tn002_learning) and [PR#83](https://github.com/jlewi/foyle/pull/83)
17+
about your infrastructure. In [TN002_Learning](../tn002_learning/) and [PR#83](https://github.com/jlewi/foyle/pull/83)
2118
we implemented a very simple learning mechanism based on query dependent few shot prompting. The next step is to
2219
quantiatively evaluate the effectiveness of this system. We'd like to construct an evaluation data set that consists of
2320
queries whose answers depend on private knowledge of your infrastructure. We'd like to compare the performance of

tech_notes/tn004_runme.md renamed to docs/content/en/docs/tech-notes/tn004_runme.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
# Integration With Runme.Dev
2-
3-
* **Author**: Jeremy Lewi
4-
* **Last Updated**: 2024-05-07
5-
* **Status**: Published
1+
---
2+
title: TN004 Integration with Runme.Dev
3+
description: Integrate Foyle's AI capabilities with runme.dev.
4+
weight: 4
5+
author: "[Jeremy Lewi](https://lewi.us/about)"
6+
date: 2024-05-07
7+
status: published
8+
---
69

710
## Objective
811

0 commit comments

Comments
 (0)