[{"data":1,"prerenderedAt":142},["ShallowReactive",2],{"project-37571641":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":15,"aspects":33,"strip":36,"post_text":38,"what":39,"said":69,"maker_in_thread":94,"shape":96,"grid":98,"attempts":103,"same_week":104,"maker_shows":134,"maker_hidden":135,"reader_version":136,"card":137},"37571641","axflow","Zero-dependency, TypeScript SDK for building robust NLP applications","title","Show HN: Zero-dependency, TypeScript SDK for building robust NLP applications","https:\u002F\u002Fdocs.axflow.dev\u002Fdocumentation\u002Fmodels.html","docs.axflow.dev","nichochar",1695138397,2023,16,2,1874,3109,61,"shown","ai","llm sdk","library",[24,25,26,27,28],"typescript llm sdk","llm streaming","openai anthropic client","react hooks llm","zero dependency","quiet",null,{"positive":15,"neutral":32,"mixed":32,"critical":32},0,{"design":34},{"positive":35,"critical":32},1,[37,37],5,"Hey HN!\n\nWe just released a new library for building LLM-powered applications: @axflow\u002Fmodels. It is part of a larger suite of libraries we're developing for TypeScript developers working with generative AI.\n\nThis library provides the simplest APIs for 1) invoking the most popular LLM and embedding models (openai, anthropic, cohere, huggingface, etc.) 2) streaming LLM responses to clients, including augmenting the streams with additional arbitrary data and 3) building client-side applications with React hooks.\n\n@axflow\u002Fmodels has zero dependencies and is built using only the JavaScript standar",{"problem":40,"audience":46,"pricing":30,"motivation":50,"time_to_build":30,"stack":54,"openness":67,"stage":68,"team_size":67},{"value":41,"source":42,"evidence":43},"Calling many LLM and embedding providers and streaming responses to clients","maker",[44],{"id":45},"post",{"value":47,"source":42,"evidence":48},"TypeScript developers building generative AI applications",[49],{"id":45},{"value":51,"source":42,"evidence":52},"Provide simple APIs for building LLM applications in TypeScript",[53],{"id":45},[55,59,63],{"value":56,"source":42,"evidence":57},"TypeScript",[58],{"id":45},{"value":60,"source":42,"evidence":61},"JavaScript standard library only",[62],{"id":45},{"value":64,"source":42,"evidence":65},"React",[66],{"id":45},"unknown","launched",{"praise":70,"objections":86,"requests":87,"questions":92,"alternatives":93},[71,79],{"value":72,"source":73,"evidence":74},"Well designed and thought-out APIs","commenter",[75],{"id":76,"by":77,"text":78},"37572784","skp1995","I have been using axflow in my projects and its a game changer. Really well designed and thought out APIS. I would love to know a bit more on the future, coming from non ML\u002FAI…",{"value":80,"source":73,"evidence":81},"Makers have used it to build several applications",[82],{"id":83,"by":84,"text":85},"37572813","benjreinhart","Hey all, I'm one of the authors. We've been using this to build a few different applications and it's been a joy to work with. Needless to say, we're very excited about this and…",[],[88],{"value":89,"source":73,"evidence":90},"Explain future plans and how it could help non-ML developers build AI products",[91],{"id":76,"by":77,"text":78},[],[],{"comments":32,"answered":32,"key":95},[],{"commenters":15,"max_depth":35,"maker_replies":32,"first_comment_mins":97,"lifespan_hours":35},69,[99,101],[76,32,37,100,77,32],"project\u002Fpositive\u002Fdesign",[83,35,37,102,84,32],"maker\u002Fpositive\u002Fnone",[],[105,110,115,120,125,130],{"id":106,"name":107,"points":108,"category":109},"37558357","HyperDX",722,"infrastructure",{"id":111,"name":112,"points":113,"category":114},"37584049","ElectricSQL",617,"data",{"id":116,"name":117,"points":118,"category":119},"37507419","Nue",370,"languages",{"id":121,"name":122,"points":123,"category":124},"37538028","Every Breath You Take",348,"learning_science",{"id":126,"name":127,"points":128,"category":129},"37583219","SeaGOAT",240,"dev_tools",{"id":131,"name":132,"points":133,"category":129},"37533493","exaequOS",216,4,false,"v2",{"id":138,"name":5,"line":6,"ai":135,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":30,"top":18,"kw":139,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":140,"url":9,"mix":141,"praise":72,"objection":-1,"sub":21},37571641,[24,25,26,27,28],"55",[15,32,32,32],1793991074169]