Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmatthis committed Dec 31, 2023
1 parent 1dee9b2 commit d025c34
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 22 deletions.
21 changes: 11 additions & 10 deletions Writerside/s.tree
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,30 @@
name="SkellyBotNotes" start-page="Overview.md">

<toc-element topic="Overview.md"/>
<toc-element topic="Terminology.md"/>
<toc-element topic="ProjectNotes.md">
<toc-element topic="Agent.md">
<toc-element topic="LLMChain.md"/>
<toc-element topic="AgentTools.md"/>
<toc-element topic="LongTermMemory.md">
<toc-element topic="VectorStore.md"/>
</toc-element>
<toc-element topic="ConversationMemory.md"/>
</toc-element>
<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>
<toc-element topic="AgentTools.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="LangChain.md"/>
<toc-element topic="SystemPrompt.md"/>
<toc-element topic="HumanMessage.md"/>
<toc-element topic="Couplet.md"/>
<toc-element topic="ContextRoute.md"/>
</toc-element>
</instance-profile>
14 changes: 11 additions & 3 deletions Writerside/topics/Chatbot.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@


## Chatbot Functionality:
### AI Features via [Agent](Agent.md)
### [FileSystem](FileSystem.md)
### [TimedEvents](TimedEvents.md)

- [~] AI Features via [Agent](Agent.md)
- [ ~ ] [LLMChain](LLMChain.md)
- [ ] [Conversation Memory](ConversationMemory.md)
- [ ] [Long Term Memory](VectorStore.md)
- [ ] [Agent Tools](AgentTools.md)

- [ ] [FileSystem](FileSystem.md) Interactions

- [ ] [TimedEvents](TimedEvents.md) aka Chron Jobs

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

## Description

A context route defines the "location" where a conversation is taking place.

The "root" of the context tree is the [User](User.md) themselves, and the leaves are the [Couplet](Couplet.md) that that User produced
![](../images/conversation_context_tree_diagram.drawio.png)
![Turn it all into an f-ing tree](../images/conversation_context_tree_diagram.drawio.png)

This diagram shows the context route tree in the Discord interface.

Expand All @@ -27,6 +27,10 @@ A given [Couplet](Couplet.md)'s route for a 'chat' that occurs in a thread would
- HumanMessage
- AiResponse


![](https://64.media.tumblr.com/90a3ea02f921c3d2d46013474136d82f/7b36ed59d1b14c9b-ec/s540x810/d14a5468e5240834f1dbcb5531fde7a14667211d.gif
)

```ad-note
title: Note on Discord "channels" contexts
Expand All @@ -49,5 +53,6 @@ Some notes:
```
```ad-tip title: This is a tip This is the content of the admonition tip. ```



3 changes: 1 addition & 2 deletions Writerside/topics/ConversationMemory.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Conversation Memory
- [ ] Token Buffer ([Langchain](Langchain.md#TokenBufferMemory) )
- [ ] Token Buffer ([Langchain](https://python.langchain.com/docs/expression_language/cookbook/memory )
- [ ] With summary?
- [ ] Summarization at different scales:
- Full summary
- course summary
- fine summary
- [ ] Topic/Tag extraction

[LongTermMemory](LongTermMemory.md)
5 changes: 3 additions & 2 deletions Writerside/topics/LLMChain.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# LLMChain

- [X] Prompt
- [ ] LLM
- [ ] with backups
- [X] LLM
- [ ] Streaming
- [ ] Via User Config
- [ ] with backups/alternatives
- [ ] Local model support
12 changes: 10 additions & 2 deletions Writerside/topics/LangChain.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# LangChain
# LangChain

https://js.langchain.com/docs/get_started/introduction

We should do most/all of our LLM interactions through LangChain

- Use the [LangChainExpressionLanguage](https://python.langchain.com/docs/expression_language/) when possible, but the old syntax is fine too, in a pinch
- We use this to build tha [AiAgent](Agent.md), which powers the language side of the [Chatbot](Chatbot.md)

[https://js.langchain.com/docs/get_started/introduction](https://python.langchain.com/docs/expression_language/cookbook/memory)

[https://python.langchain.com/docs/modules/model_io/concepts](https://python.langchain.com/docs/expression_language/cookbook/memory)
34 changes: 34 additions & 0 deletions Writerside/topics/Terminology.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Terminology

A reference article is information-oriented.
It provides a structured description of a product:
its APIs, classes, functions, configuration options, actions, and so on.
Start with a summary of what this reference article is about, and what the items you are describing are used for.

## Command

Syntax:

```shell
cmd [OPTIONS]
```

## Options

Describe what each option is used for:

-o, --open
: Opens a file.

-c, --close
: Closes a file.

-v, --version
: Displays version information.

-h, --help
: Displays help.

<seealso>
<!--Provide links to related how-to guides, overviews, and tutorials.-->
</seealso>

0 comments on commit d025c34

Please sign in to comment.