Skip to content

Instantly share code, notes, and snippets.

View mattlindsey's full-sized avatar

Matt Lindsey mattlindsey

View GitHub Profile
@mattlindsey
mattlindsey / story_writing_assistant.rb
Last active April 25, 2024 01:08
Story writing assistant ruby code
module Langchain
# Langchain::StoryWritingAssistant is the class that handles story writing assistant methods
class StoryWritingAssistant < Assistant
attr_accessor :thread
attr_reader :tools
instructions = <<~INST
I am a writing assistant.
I can help you write stories and more.
And I can help you with research and questions about your story.
@mattlindsey
mattlindsey / getting_started.ipynb
Last active December 6, 2023 02:23
Langchainrb Getting Started Notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});