Back to packages list

Vals using @instructor-ai/instructor

Description from the NPM package:
structured outputs for llms
eyeseethru avatar
eyeseethru
add_to_notion_w_ai
Script
Forked from nerdymomocat/add_to_notion_w_ai
0
junhoca avatar
junhoca
add_to_notion_w_ai
Script
Forked from nerdymomocat/add_to_notion_w_ai
0
inkpotmonkey avatar
inkpotmonkey
instructorExample
Script
Example copied https://instructor-ai.github.io/instructor-js/#usage into val.town You will need to fork this and properly set the apiKey and organisation for it to work.
0
nerdymomocat avatar
nerdymomocat
add_to_notion_w_ai_webpage
HTTP
Example usage of the add_to_notion_w_ai val Try with the money database . Read and watch the demo run here
0
nerdymomocat avatar
nerdymomocat
add_to_notion_w_ai
Script
Uses instructor and open ai (with gpt-4-turbo) to process any content into a notion database entry. Use addToNotion with any database id and content. await addToNotion( "DB_ID_GOES_HERE", "CONTENT_GOES HERE"//"for example: $43.28 ordered malai kofta and kadhi (doordash) [me and mom] jan 3 2024" ); Prompts are created based on your database name, database description, property name, property type, property description, and if applicable, property options (and their descriptions). Supports: checkbox, date, multi_select, number, rich_text, select, status, title, url, email Uses NOTION_API_KEY , OPENAI_API_KEY stored in env variables and uses Valtown blob storage to store information about the database. Use get_notion_db_info to use the stored blob if exists or create one, use get_and_save_notion_db_info to create a new blob (and replace an existing one if exists).
0
1
Next