Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	Writerside/topics/Overview.md
  • Loading branch information
endurance committed Dec 31, 2023
2 parents 2709a7c + 9023f38 commit 5b568d9
Show file tree
Hide file tree
Showing 61 changed files with 530 additions and 123 deletions.
104 changes: 104 additions & 0 deletions .github/workflows/writerside-docs-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
name: Build documentation

on:
# If specified, the workflow will be triggered automatically once you push to the `main` branch.
# Replace `main` with your branch’s name
push:
branches: ["main"]
# Specify to run a workflow manually from the Actions tab on GitHub
workflow_dispatch:


# Gives the workflow permissions to clone the repo and create a page deployment
permissions:
id-token: write
pages: write

env:
# Name of module and id separated by a slash
INSTANCE: SkellyBot/s
# Replace HI with the ID of the instance in capital letters
ARTIFACT: webHelpS2-all.zip
# Writerside docker image version
DOCKER_VERSION: 232.10275
# Add the variable below to upload Algolia indexes
# Replace HI with the ID of the instance in capital letters
# ALGOLIA_ARTIFACT: algolia-indexes-S.zip

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build Writerside docs using Docker
uses: JetBrains/writerside-github-action@v4
with:
instance: ${{ env.INSTANCE }}
artifact: ${{ env.ARTIFACT }}
docker-version: ${{ env.DOCKER_VERSION }}

- name: Upload documentation
uses: actions/upload-artifact@v3
with:
name: docs
path: |
artifacts/${{ env.ARTIFACT }}
artifacts/report.json
retention-days: 7

# # Add the step below to upload Algolia indexes
# - name: Upload algolia-indexes
# uses: actions/upload-artifact@v3
# with:
# name: algolia-indexes
# path: artifacts/${{ env.ALGOLIA_ARTIFACT }}
# retention-days: 7

# Add the job below and artifacts/report.json on Upload documentation step above if you want to fail the build when documentation contains errors
test:
# Requires build job results
needs: build
runs-on: ubuntu-latest

steps:
- name: Download artifacts
uses: actions/download-artifact@v1
with:
name: docs
path: artifacts

- name: Test documentation
uses: JetBrains/writerside-checker-action@v1
with:
instance: ${{ env.INSTANCE }}

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Requires the build job results
needs: test
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: docs

- name: Unzip artifact
run: unzip -O UTF-8 -qq ${{ env.ARTIFACT }} -d dir

- name: Setup Pages
uses: actions/configure-pages@v2

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: dir

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
2 changes: 1 addition & 1 deletion Writerside/cfg/buildprofiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<variables></variables>
<build-profile instance="s">
<variables>
<noindex-content>true</noindex-content>
<noindex-content>false</noindex-content>
</variables>
</build-profile>

Expand Down
Binary file added Writerside/images/dunkthulu_trex_head.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions Writerside/redirection-rules.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rules SYSTEM "https://resources.jetbrains.com/writerside/1.0/redirection-rules.dtd">
<rules>
<!-- format is as follows
<rule id="<unique id>">
<accepts>page.html</accepts>
</rule>
-->
<rule id="506358aa">
<description>Created after removal of "Terminology" from SkellyBotNotes</description>
<accepts>Terminology.html</accepts>
</rule>
<rule id="27682151">
<description>Created after removal of "Hosted" from SkellyBotNotes</description>
<accepts>Hosted.html</accepts>
</rule>
<rule id="2c3e43cf">
<description>Created after removal of "Models" from SkellyBotNotes</description>
<accepts>Models.html</accepts>
</rule>
<rule id="12e0f5a3">
<description>Created after removal of "VsCode-Jetbrains" from SkellyBotNotes</description>
<accepts>VsCode.html</accepts>
</rule>
<rule id="4fb73ff9">
<description>Created after removal of "IDE" from SkellyBotNotes</description>
<accepts>IDE.html</accepts>
</rule>
<rule id="338efcfd">
<description>Created after removal of "CodeEditors" from SkellyBotNotes</description>
<accepts>IDEs.html</accepts>
</rule>
<rule id="62db6e12">
<description>Created after removal of "Markdown" from SkellyBotNotes</description>
<accepts>Markdown.html</accepts>
</rule>
<rule id="53ef95ee">
<description>Created after removal of "Bots" from SkellyBotNotes</description>
<accepts>Bots.html</accepts>
</rule>
<rule id="186262cd">
<description>Created after removal of "Human" from SkellyBotNotes</description>
<accepts>Human.html</accepts>
</rule>
<rule id="1acc0fdc">
<description>Created after removal of "Speakers" from SkellyBotNotes</description>
<accepts>Speakers.html</accepts>
</rule>
</rules>
113 changes: 92 additions & 21 deletions Writerside/s.tree
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,104 @@
SYSTEM "https://resources.jetbrains.com/writerside/1.0/product-profile.dtd">

<instance-profile id="s"
name="SkellyBotNotes" start-page="Overview.md">
name="SkellyBot" start-page="Overview.md">

<toc-element topic="Overview.md"/>
<toc-element topic="Terminology.md"/>
<toc-element topic="Overview.md">
<toc-element topic="SkellyBot.md">
<toc-element topic="JonBot.md">
<toc-element topic="ClassBot.md">
<toc-element topic="GolemGarden.md"/>
</toc-element>
</toc-element>
</toc-element>
</toc-element>
<toc-element topic="Concepts.md">
<toc-element topic="ContextRoute.md">
<toc-element topic="User.md">
<toc-element topic="Interfaces.md">
<toc-element topic="FileEditors.md">
<toc-element topic="JetBrains.md"/>
<toc-element topic="VsCode.md"/>
<toc-element topic="Obsidian.md"/>
</toc-element>
<toc-element topic="ChatServices.md">
<toc-element topic="Discord.md">
<toc-element topic="Server.md">
<toc-element topic="ForumChannel.md">
<toc-element topic="ForumPost.md"/>
</toc-element>
<toc-element topic="Channel.md">
<toc-element topic="Thread.md"/>
</toc-element>
<toc-element topic="Category.md"/>
</toc-element>
</toc-element>
<toc-element topic="Slack.md"/>
</toc-element>
</toc-element>
</toc-element>
</toc-element>
<toc-element topic="RawDataTypes.md">
<toc-element topic="Chat.md">
<toc-element topic="Couplet.md">
<toc-element topic="HumanMessage.md">
<toc-element topic="AiResponse.md"/>
</toc-element>
</toc-element>
</toc-element>
<toc-element topic="AudioData.md">
<toc-element topic="AiGeneratedAudio.md"/>
<toc-element topic="HumanProvidedAudio.md"/>
</toc-element>
<toc-element topic="ImageData.md">
<toc-element topic="AiGeneratedImage.md"/>
<toc-element topic="HumanProvidedImage.md"/>
</toc-element>
<toc-element topic="TextData.md">
<toc-element topic="AiText.md"/>
<toc-element topic="HumanText.md">
<toc-element topic="HumanChatText.md"/>
<toc-element topic="HumanProvidedText.md">
</toc-element>
</toc-element>
</toc-element>
</toc-element>
</toc-element>
<toc-element topic="ProjectNotes.md">
<toc-element topic="Chatbot.md">
<toc-element topic="Agent.md">
<toc-element topic="LLMChain.md"/>
<toc-element topic="ConversationMemory.md"/>
<toc-element topic="LongTermMemory.md">
<toc-element topic="VectorStore.md"/>
<toc-element topic="AI.md">
<toc-element topic="LangChain.md">
<toc-element topic="OpenAI.md"/>
</toc-element>
<toc-element topic="Audio.md">
<toc-element topic="Whisper.md"/>
</toc-element>
<toc-element topic="AgentTools.md"/>
<toc-element topic="Language.md">
<toc-element topic="Agent.md">
<toc-element topic="LLMChain.md">
<toc-element topic="LargeLanguageModel-LLM.md">
<toc-element topic="Gpt-4-turbo.md"/>
</toc-element>
<toc-element topic="SystemPrompt.md"/>
</toc-element>
<toc-element topic="ConversationMemory.md"/>
<toc-element topic="LongTermMemory.md">
<toc-element topic="VectorStore.md"/>
</toc-element>
<toc-element topic="AgentTools.md"/>
</toc-element>
</toc-element>
<toc-element topic="Images.md">
<toc-element topic="StableDiffusion.md"/>
<toc-element topic="Dalle3.md">
</toc-element>
</toc-element>
</toc-element>
<toc-element topic="FileSystem.md">
<toc-element topic="Foam.md"/>
<toc-element topic="ContinueDev.md"/>
</toc-element>
<toc-element topic="FileSystem.md"/>
<toc-element topic="TimedEvents.md"/>
</toc-element>
</toc-element>
<toc-element topic="Concepts.md">
<toc-element topic="ContextRoute.md"/>
<toc-element topic="LangChain.md"/>
<toc-element topic="HumanText.md"/>
<toc-element topic="User.md"/>
<toc-element topic="AiResponse.md"/>
<toc-element topic="Chat.md"/>
<toc-element topic="SystemPrompt.md"/>
<toc-element topic="HumanMessage.md"/>
<toc-element topic="Couplet.md"/>
</toc-element>
</instance-profile>
3 changes: 3 additions & 0 deletions Writerside/topics/AI.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# AI Services

Some kinda magic rectangle what you can talk to?
4 changes: 2 additions & 2 deletions Writerside/topics/Agent.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# AiAgent
# Agent


## Description
Create an Agent using [Langchain]
An Ai Agent using [Langchain](LangChain.md)

- see https://www.langchain.com/use-case/agents

Expand Down
3 changes: 3 additions & 0 deletions Writerside/topics/AiGeneratedAudio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# AiGeneratedAudio

Audio an [AI](AI.md) generated from text
3 changes: 3 additions & 0 deletions Writerside/topics/AiGeneratedImage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# AiGeneratedImage

A picture an AI made from [TextData](TextData.md)
2 changes: 1 addition & 1 deletion Writerside/topics/AiResponse.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AiResponse
# AiResponse🤖

A response from an AI, always paired with a [HumanMessage](HumanMessage.md) in a [Couplet](Couplet.md)

Expand Down
5 changes: 5 additions & 0 deletions Writerside/topics/AiText.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# AiText

This is text that was produced by an AI

This is one of the two kinds of [RawTextData](RawTextData.md) (the other being [HumanText](HumanText.md))
11 changes: 11 additions & 0 deletions Writerside/topics/Audio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Audio

Either:
- [HumanProvidedAudio](HumanProvidedAudio.md) ->
- [AiTranscriptionText](AiTranscriptionText.md) (via [Whisper](Whisper.md))->
- [LLMChain](LLMChain.md) ->
- [AiResponse](AiResponse.md), or
- [HumanProvidedText](HumanProvidedText.md) ->
- [AiGeneratedAudio](AiGeneratedAudio.md) (e.g. via [OpenAi](OpenAI.md))


3 changes: 3 additions & 0 deletions Writerside/topics/AudioData.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# AudioData

Start typing here...
3 changes: 3 additions & 0 deletions Writerside/topics/Bots.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Bots

Start typing here...
5 changes: 5 additions & 0 deletions Writerside/topics/Category.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Category

A Category is parent to either
- [Channels](Channel.md), or
- [ForumChannels](ForumChannel.md)
4 changes: 4 additions & 0 deletions Writerside/topics/Channel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Channel

A Channel in a [Discord](Discord.md) [Server](Server.md)
- Usually under a [Category](Category.md)
6 changes: 4 additions & 2 deletions Writerside/topics/Chat.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Chat
A conversation between a [User](User.md) and an Ai [Agent](Agent.md)
# Chat 🌿
A conversation between a [User](User.md) and an Ai [Agent](Agent.md)

- A Chat is composed of a list of linked [Couplets](Couplet.md)
3 changes: 3 additions & 0 deletions Writerside/topics/ChatServices.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ChatServices

Start typing here...
8 changes: 8 additions & 0 deletions Writerside/topics/ClassBot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# ChatBot

The first incarnation of the [ClassBot](Classbot.md) use case:

Code lives here - https://github.com/jonmatthis/chatbot
Write up here - https://github.com/jonmatthis/chatbot/blob/main/notes/post_class_write_up.md

This bot emerged as the 'buttoned down' version of our initial AI explorations in the [GolemGarden](GolemGarden.md)
Loading

0 comments on commit 5b568d9

Please sign in to comment.