It's hard to browse through the ChatGPT history.
Here's a command palette implementation.
Just press 'Cmd + k'.
| from langchain.llms import Anthropic | |
| from langchain.agents import load_tools, initialize_agent | |
| from langchain.tools import AIPluginTool | |
| PREFIX = """\n\nHuman: Answer the following questions as best you can. You have access to the following tools:""" | |
| SUFFIX = """Begin! | |
| Question: {input} | |
| \n\nAssistant: | |
| Thought:{agent_scratchpad}""" |
It's hard to browse through the ChatGPT history.
Here's a command palette implementation.
Just press 'Cmd + k'.
Audience: I assume you heard of chatGPT, maybe played with it a little, and was imressed by it (or tried very hard not to be). And that you also heard that it is "a large language model". And maybe that it "solved natural language understanding". Here is a short personal perspective of my thoughts of this (and similar) models, and where we stand with respect to language understanding.
Around 2014-2017, right within the rise of neural-network based methods for NLP, I was giving a semi-academic-semi-popsci lecture, revolving around the story that achieving perfect language modeling is equivalent to being as intelligent as a human. Somewhere around the same time I was also asked in an academic panel "what would you do if you were given infinite compute and no need to worry about labour costs" to which I cockily responded "I would train a really huge language model, just to show that it doesn't solve everything!". We
| // ==UserScript== | |
| // @name Roam YouTube timestamp controls | |
| // @namespace learnstream.org | |
| // @version 0.1 | |
| // @description Add timestamp controls to YouTube videos embedded in Roam | |
| // @author Ryan Muller <ryanmuller@google.com> | |
| // @match https://*.roamresearch.com | |
| // @grant none | |
| // ==/UserScript== | |
| // Copyright 2020 Google LLC. |
** 由于此文年事已久,可能某些 URL Schemes 已失效,可在评论区留言指出!(最后更新于 2024.10.28)
由于苹果的各应用都是在沙盒中,不能够互相之间访问或共享数据。但是苹果还是给出了一个可以在 APP 之间跳转的方法:URL Scheme。简单的说,URL Scheme 就是一个可以让 APP 相互之间可以跳转的协议。每个 APP 的 URL Scheme 都是不一样的,如果存在一样的 URL Scheme,那么系统就会响应先安装那个 APP 的 URL Scheme,因为后安装的 APP 的 URL Scheme 被覆盖掉了,是不能被调用的。
| print("UPDATE AUG 2023: this script is beyond old and broken") | |
| print("You may find interesting and more up to date resources in the comments of the gist") | |
| exit() | |
| from slacker import Slacker | |
| import json | |
| import argparse | |
| import os | |
| # This script finds all channels, private channels and direct messages |
| Key/Command | Description |
|---|---|
| Tab | Auto-complete files and folder names |
| Ctrl + A | Go to the beginning of the line you are currently typing on |
| Ctrl + E | Go to the end of the line you are currently typing on |
| Ctrl + U | Clear the line before the cursor |
| Ctrl + K | Clear the line after the cursor |
| Ctrl + W | Delete the word before the cursor |
| Ctrl + T | Swap the last two characters before the cursor |