<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: zh217</title><link>https://news.ycombinator.com/user?id=zh217</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 07 Apr 2026 08:08:59 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=zh217" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by zh217 in "Show HN: Llama2 Embeddings FastAPI Server"]]></title><description><![CDATA[
<p>OpenAI's embedding API has an undocumented flag 'encoding_format': 'base64' which will give you base64-encoded raw bytes of little-endian float32. As it is used by the official python client, it is unlikely to go away.</p>
]]></description><pubDate>Tue, 15 Aug 2023 16:20:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=37135823</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=37135823</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37135823</guid></item><item><title><![CDATA[GPT-4 Is Too Smart to Be Safe: Stealthy Chat with LLMs via Cipher]]></title><description><![CDATA[
<p>Article URL: <a href="https://llmcipherchat.github.io/">https://llmcipherchat.github.io/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=37134186">https://news.ycombinator.com/item?id=37134186</a></p>
<p>Points: 3</p>
<p># Comments: 1</p>
]]></description><pubDate>Tue, 15 Aug 2023 14:06:08 +0000</pubDate><link>https://llmcipherchat.github.io/</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=37134186</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37134186</guid></item><item><title><![CDATA[New comment by zh217 in "Function calling and other API updates"]]></title><description><![CDATA[
<p>Some observations:<p>1. their usage page is currently broken, showing only the usage of the new models and the embedding models. usage for the deprecated models are not included now.<p>2. because of 1, it can be seen on the usage page that if you have set your model name to 'gpt-4' instead of the versioned name in your calling code (same for 3.5), you have already been using the new models for the past two days!</p>
]]></description><pubDate>Tue, 13 Jun 2023 18:15:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=36314380</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=36314380</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36314380</guid></item><item><title><![CDATA[New comment by zh217 in "RWKV: Reinventing RNNs for the Transformer Era"]]></title><description><![CDATA[
<p>This sounds pretty bad, right? Since their model is way smaller than SOTA transformers (and small size is one of their selling points).</p>
]]></description><pubDate>Tue, 23 May 2023 09:04:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=36041732</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=36041732</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36041732</guid></item><item><title><![CDATA[New comment by zh217 in "I stopped worrying and learned to love denormalized tables"]]></title><description><![CDATA[
<p>Maybe "Impedance Mismatch"?</p>
]]></description><pubDate>Sat, 13 May 2023 02:26:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=35924868</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35924868</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35924868</guid></item><item><title><![CDATA[New comment by zh217 in "Bard now open to use"]]></title><description><![CDATA[
<p><p><pre><code>    > Tell me more about Trump
    
    As a language model, I'm not able to assist you with that.
    
    > Tell me more about Biden
    
    Joseph Robinette Biden Jr. (born November 20, 1942) is an American politician who is the 46th and current president of the United States. A member of the Democratic Party, he previously served as the 47th vice president from 2009 to 2017 under President Barack Obama and represented Delaware in the United States Senate from 1973 to 2009 ...</code></pre></p>
]]></description><pubDate>Thu, 11 May 2023 03:34:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=35897046</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35897046</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35897046</guid></item><item><title><![CDATA[New comment by zh217 in "Dromedary: Principle-Driven Self-Alignment of Language Models"]]></title><description><![CDATA[
<p>Summary: Dromedary is an AI assistant developed using the SELF-ALIGN approach, which combines principle-driven reasoning and the generative power of large language models for self-alignment with minimal human supervision. Dromedary is based on the LLaMA-65b language model and outperforms several state-of-the-art AI systems on benchmark datasets with various settings. With fewer than 300 lines of human annotations, Dromedary can generate helpful, ethical, and reliable responses to user queries.</p>
]]></description><pubDate>Fri, 05 May 2023 21:39:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=35835447</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35835447</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35835447</guid></item><item><title><![CDATA[Dromedary: Principle-Driven Self-Alignment of Language Models]]></title><description><![CDATA[
<p>Article URL: <a href="https://mitibmdemos.draco.res.ibm.com/dromedary">https://mitibmdemos.draco.res.ibm.com/dromedary</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=35835446">https://news.ycombinator.com/item?id=35835446</a></p>
<p>Points: 1</p>
<p># Comments: 1</p>
]]></description><pubDate>Fri, 05 May 2023 21:39:47 +0000</pubDate><link>https://mitibmdemos.draco.res.ibm.com/dromedary</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35835446</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35835446</guid></item><item><title><![CDATA[New comment by zh217 in "What is a Vector Database? (2021)"]]></title><description><![CDATA[
<p>For me personally the most important motivations are to have recursive queries using vector search, and to integrate graphs and vectors. Obviously I need to implement my own, as none of the other vector stores have it. And the fact that the HNSW index is just a bunch of graphs certainly makes it very appealing for a graph database to have it, as once you have your data indexed, proximity searches are just walks on graphs, so you don't even need to touch the vectors again!</p>
]]></description><pubDate>Fri, 05 May 2023 19:46:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=35834250</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35834250</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35834250</guid></item><item><title><![CDATA[New comment by zh217 in "What is a Vector Database? (2021)"]]></title><description><![CDATA[
<p>If anyone wants to try a FOSS vector-relational-graph hybrid database for more complicated workloads than simple vector search, here it is: <a href="https://github.com/cozodb/cozo/">https://github.com/cozodb/cozo/</a><p>About the integrated vector search: <a href="https://docs.cozodb.org/en/latest/releases/v0.6.html" rel="nofollow">https://docs.cozodb.org/en/latest/releases/v0.6.html</a><p>It also does duplicate detection (Minhash-LSH) and full-text search within the query language itself: <a href="https://docs.cozodb.org/en/latest/releases/v0.7.html" rel="nofollow">https://docs.cozodb.org/en/latest/releases/v0.7.html</a><p>HN discussion a few days ago: <a href="https://news.ycombinator.com/item?id=35641164" rel="nofollow">https://news.ycombinator.com/item?id=35641164</a><p>Disclaimer: I wrote it.</p>
]]></description><pubDate>Fri, 05 May 2023 19:04:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=35833786</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35833786</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35833786</guid></item><item><title><![CDATA[New comment by zh217 in "Show HN: GPT-JSON – Structured and typehinted GPT responses in Python"]]></title><description><![CDATA[
<p>Another alternative JSON parser is the YAML parser. YAML is a superset of JSON and deals with a lot more weird cases, notably capital True and False.</p>
]]></description><pubDate>Fri, 05 May 2023 16:41:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=35831779</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35831779</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35831779</guid></item><item><title><![CDATA[New comment by zh217 in "Show HN: GPT-JSON – Structured and typehinted GPT responses in Python"]]></title><description><![CDATA[
<p>Thanks. Out of all the suggestions in the comments for this post, this one works the best.<p>And in fact it is only one line, not 40:<p><pre><code>    "Please respond ONLY with valid json that conforms to this pydantic json_schema: {model_class.schema_json()}. Do not include additional text other than the object json as we will load this object with json.loads() and pydantic."</code></pre></p>
]]></description><pubDate>Fri, 05 May 2023 16:31:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=35831626</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35831626</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35831626</guid></item><item><title><![CDATA[Reinforcement learning is all you need, for next generation language models]]></title><description><![CDATA[
<p>Article URL: <a href="https://yuxili.substack.com/p/reinforcement-learning-is-all-you">https://yuxili.substack.com/p/reinforcement-learning-is-all-you</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=35816015">https://news.ycombinator.com/item?id=35816015</a></p>
<p>Points: 5</p>
<p># Comments: 0</p>
]]></description><pubDate>Thu, 04 May 2023 14:35:32 +0000</pubDate><link>https://yuxili.substack.com/p/reinforcement-learning-is-all-you</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35816015</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35816015</guid></item><item><title><![CDATA[Show HN: OpenAI Multi-Client – Streamline Concurrent OpenAI API Requests]]></title><description><![CDATA[
<p>Hey HN! I've built a Python library called OpenAI Multi-Client to streamline concurrent requests to OpenAI's API. The library simplifies handling multiple API requests while automatically managing retries and failures with an easy-to-use interface.<p>While the library isn't complex or deep, handling concurrency involves various subtleties that can be challenging to get right on the first attempt. Packaging this functionality as a library saves users from reinventing the wheel and reduces the risk of bugs.<p>I'm eager to hear your thoughts and feedback on the library! If you have any suggestions, issues, or would like to contribute, feel free to open an issue or contribute on GitHub.</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=35802508">https://news.ycombinator.com/item?id=35802508</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 03 May 2023 14:01:09 +0000</pubDate><link>https://github.com/cozodb/openai-multi-client</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35802508</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35802508</guid></item><item><title><![CDATA[New comment by zh217 in "Show HN: CozoDB, Hybrid Relational-Graph-Vector Database"]]></title><description><![CDATA[
<p>Thanks! I'm really glad that you find CozoDB useful!</p>
]]></description><pubDate>Sat, 22 Apr 2023 01:47:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=35662536</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35662536</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35662536</guid></item><item><title><![CDATA[New comment by zh217 in "Show HN: CozoDB, Hybrid Relational-Graph-Vector Database"]]></title><description><![CDATA[
<p>Sorry about that ... I will revise it to be more consistent. Cozo is a bit ambiguous, so now it is usually called CozoDB.</p>
]]></description><pubDate>Fri, 21 Apr 2023 09:43:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=35651586</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35651586</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35651586</guid></item><item><title><![CDATA[New comment by zh217 in "Show HN: CozoDB, Hybrid Relational-Graph-Vector Database"]]></title><description><![CDATA[
<p>The linked article explains these in details.</p>
]]></description><pubDate>Fri, 21 Apr 2023 09:42:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=35651581</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35651581</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35651581</guid></item><item><title><![CDATA[New comment by zh217 in "Show HN: CozoDB, Hybrid Relational-Graph-Vector Database"]]></title><description><![CDATA[
<p>Yes, actually I already do that. Sbert is better than openai ada embeddings for many use cases.</p>
]]></description><pubDate>Thu, 20 Apr 2023 20:46:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=35646036</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35646036</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35646036</guid></item><item><title><![CDATA[New comment by zh217 in "Show HN: CozoDB, Hybrid Relational-Graph-Vector Database"]]></title><description><![CDATA[
<p>They need to be put into distinct indices and unfortunately you cannot “jump” between them in this case (if someone knows a way to achieve this, I would love to hear!)</p>
]]></description><pubDate>Thu, 20 Apr 2023 20:40:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=35645975</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35645975</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35645975</guid></item><item><title><![CDATA[New comment by zh217 in "Show HN: CozoDB, Hybrid Relational-Graph-Vector Database"]]></title><description><![CDATA[
<p>I have been thinking about adding FTS to CozoDB for a long time but resisted the temptation so far. The reason is that text search is language-specific: what works for one language does not work for another. There is simply no way that CozoDB can duplicate the work of a dedicated text search engine for all the languages in the world.<p>Our current solution is to use mutation callbacks to synchronize texts to a dedicated text search engine. This is language specific: for example, for python: <a href="https://github.com/cozodb/pycozo#mutation-callbacks">https://github.com/cozodb/pycozo#mutation-callbacks</a> , and for Rust: <a href="https://docs.rs/cozo/latest/cozo/struct.Db.html#method.register_callback" rel="nofollow">https://docs.rs/cozo/latest/cozo/struct.Db.html#method.regis...</a></p>
]]></description><pubDate>Thu, 20 Apr 2023 20:07:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=35645564</link><dc:creator>zh217</dc:creator><comments>https://news.ycombinator.com/item?id=35645564</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35645564</guid></item></channel></rss>