Filter
Exclude
Time range
-
Near
Just spent time reading the ACP (Agent Client Protocol) codebase by @zeddotdev Learned a lot about: - Builder patterns with flexible APIs - Serde serialization patterns - Protocol type design The ContentBlock enum and EmbeddedResource hierarchy are particularly well-designed Great resource for learning idiomatic Rust.
2
46
v0.2.58 JUST DROPPED 🦀 ✨ Fix vision images in OpenAI-compatible providers (ContentBlock::Image was being silently dropped) 📝 Added <<IMG:path>> handling docs to brain templates Existing users: diff your brain files against the new templates!
2
55
しかし、Bedrockのモデル呼び出し後のSSEのイベント(っていう表現で良いのかな)、なんでこんなにハンドリングしにくい構成なんだ……途中に別のイベントが割り込んできたときに前のcontentBlockの続きかどうか判断できないじゃないか……
1
3
1,392
Gm GM CT New week new grind Please anybody with the antidote, I'm suffer1ng from severe *CONTENTBLOCK* Anybody on Ct with the antidote save a life and 50 others 😭😭😂
5
2
58
[🤯 IT'S NOT ALWAYS EASY!] Yesterday, I had such a massive content block for #OROHub, I almost smashed my keyboard. Seriously, coming up with content for ORO isn't something you can just whip up. #OROHub #ContentBlock #AirdropLife #Web3Content #Inspiration
1
1
76
game so ass its legit making me question this enitre contentblock bro
a story in three parts. im done. its finished. i no longer want to know anything about dangans or ronpas im DONE if you bring that shit around me i will spread cheeks and fucking SHIT ON YOU thanks for fucking NOTHING
6
115
Replying to @mmp7700
Haven't uploaded it anywhere, but here is a copy of the original implementation i made (i've improved a bit since): ``` import os import ell import chrono24 from PIL import Image from ell import Message from typing import List from dataclasses import dataclass from pydantic import BaseModel, Field ell.init(store='./logdir', autocommit=True, verbose=True) @dataclass class PriceRange: from_usd: int to_usd: int class QuickView(BaseModel): brand: str = Field(description="The manufacturer or brand of the watch.") watchModel: str = Field(description="The name of the watch model. No apostrophes, just letters.") class ContentBlock(BaseModel): parsed: QuickView class ResponseContent(BaseModel): content: List[ContentBlock] class GenerateReport(BaseModel): brand: str = Field(description="The manufacturer or brand of the watch.") watchModel: str = Field(description="The name of the watch model.") year_of_production: str = Field(description="Estimated production year (example: 'Est. 1990-1994')") condition: str = Field(description="General description of the watch's condition (e.g., fair, good, excellent, mint)") condition_score: int = Field(description="A score reflecting the condition of the watch, a `float` on a scale from 1 to 10. (ie. 6.7)") value: PriceRange = Field(description="A from-to price range. The price range should be specified with a minimum and maximum value in USD") rarity: str = Field(description="A description of how rare the watch is with arguments.") rarity_score: int = Field(description="A score representation of the rarity of the watch. A `float` on a scale from 1 to 10 (ie 8.0).") materials: str = Field(description="Materials used in the watch, including case, crystal, and strap.") movement: str = Field(description="The type of movement the watch uses (e.g., manual wind, automatic, quartz). Simply write N/A if unable to answer.") demand: str = Field(description="The current demand for this type of watch in the market.") recommendations: str = Field(description="Actionable recommendations, such as servicing to increase the watch's value.") @ell.tool() def fetch_prices(brand:str, model:str): """Tool used to retrieve watch listings from the Chrono24 marketplace""" result = "" query = brand " " model res = chrono24.query(query) for listing in res.search_detail(limit=30): result = f"Brand: {listing['manufacturer']}\nTitle: {listing['title']}\nDescription: {listing['description']}\nPrice: {listing['price']}\nProduction year: {listing['year_of_production']}" result = "\n" "_" * 12 "\n\n" return result @ell.complex(model="gpt-4o-2024-08-06", response_format=QuickView, temperature=0) def inspect(image: Image.Image) -> QuickView: return [ ell.system("You are a professional watch appraiser agent. Given the image of a watch, you will need to determine its brand and model name."), ell.user(["Determine the brand and model for this watch: ", image]) ] @ell.complex(model="gpt-4o-2024-08-06", response_format=GenerateReport, temperature=.1) def make_report(image: Image.Image, price_research: str) -> GenerateReport: return [ ell.system("You are a certified professional watch appraiser. Upon being provided with an image of a watch, your task is to generate a comprehensive and structured appraisal report. Be thorough and accurate, but only include details you can confidently verify from the image. If certain information cannot be determined from the image, state that clearly. Avoid speculation."), ell.user(["Generate a watch appraisal report for this watch: ", image, price_research]) ] def meow(image): res = inspect(image, api_params=(dict(n=1))) for content_block in res.content: brand = content_block.parsed.brand watch_model = content_block.parsed.watchModel price_research = fetch_prices(brand, watch_model) make_report(image, price_research) imagepath = './imgs/IMG_1182.jpg' image = Image.open(imagepath) meow(image) ```

1
3
474
4 Jul 2024
ContentBlockにドキュメント指定できるようになっています docs.aws.amazon.com/bedrock/… #StudyCo

3
153
ContentBlock soon based on editor.js !:D @bluditcms @GetSimpleCMS more info? ko-fi.com/multicolorplugins
2
171
Replying to @test203467
Warski was only ever tolerable when he was hosting bloodsports because there was always a co-host there to hold his hand and curtail most of his low IQ interruptions. Tard and Lard bring nothing to the table and will only contentblock, best left in their hugbox and forgotten.
2
100
My Story As An Artist 🤷🏻‍♀️ There will be days when I might be continuously posting on social media. Then will be disappeared from all the social media for days, weeks or months 🥺 mostly due to content block. #artist #contentblock #mandala #drawing #art #artist #Mumbai #namita
1
35
6 Sep 2022
🚨 Important news from the #StructuredContentInitiative: Due to some problems with the #TYPO3 composer installer, the required package type for Content Blocks now changed to "typo3-contentblock"! Please adjust your packages when upgrading to v3.0.0 and above!
1
7
3
2 Aug 2022
What should I stream tonight? Shark stuff, lawn mowing stuff, fortnite or mechanic simulator? #streamer #gamer #twitch #contentblock
1
Replying to @poteto @wongmjane
Enum members can also have named values if you don’t want to create a whole new struct, not sure of pros/cons tho enum ContentBlock { Tweet { url: String, username: String } }
1
3
11 Oct 2021
Wir planen aktuell einen besonderen Contentblock für euch. Habt Ihr Themen oder Fragen, die wir für euch aufbereiten/beantworten dürfen? Alles aus dem Vue-Kosmos ist gern gesehen💚
3
2
What kind of content should I make tonight?? #contentblock
1
2
Inspiring morning @aecc_cubs. Our teachers & kindergarten students are moving right along with our @LearnZillion ELA @ELeducation curriculum. #skillsblock #sounds #rhymingwords #syllables #spelling #contentblock #BraveIrene #majorevents #vocabulary #character #setting
1
3
8
You just wait until you see what we’ve packed for the Perplex Contentblock towards the future... integrated personalization and abtesting features 🤩
1
3