TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Python SDK for PostgresML with scalable LLM embedding memory and text generation

3 点作者 montanalow将近 2 年前

1 comment

montanalow将近 2 年前
We&#x27;ve been working on a Python SDK[1] for PostgresML to make it easier for application developers to get the performance and scalability benefits of integrated memory for LLMs, by combining embedding generation, vector recall and LLM tasks from HuggingFace in a single database query.<p>This work builds on our previous efforts that give a 10x performance improvement from generating the LLM embedding[2] from input text along with tuning vector recall[3] in a single process to avoid excessive network transit.<p>We&#x27;d love your feedback on our roadmap[4] for this extension, if you have other use cases for an ML application database. So far, we&#x27;ve implemented our best practices for scalable vector storage to provide an example reference implementation for interacting with an ML application database based on Postgres.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;postgresml&#x2F;postgresml&#x2F;tree&#x2F;master&#x2F;pgml-sdks&#x2F;python&#x2F;pgml">https:&#x2F;&#x2F;github.com&#x2F;postgresml&#x2F;postgresml&#x2F;tree&#x2F;master&#x2F;pgml-sd...</a> [2]: <a href="https:&#x2F;&#x2F;postgresml.org&#x2F;blog&#x2F;generating-llm-embeddings-with-open-source-models-in-postgresml" rel="nofollow">https:&#x2F;&#x2F;postgresml.org&#x2F;blog&#x2F;generating-llm-embeddings-with-o...</a> [3]: <a href="https:&#x2F;&#x2F;postgresml.org&#x2F;blog&#x2F;tuning-vector-recall-while-generating-query-embeddings-in-the-database" rel="nofollow">https:&#x2F;&#x2F;postgresml.org&#x2F;blog&#x2F;tuning-vector-recall-while-gener...</a> [4]: <a href="https:&#x2F;&#x2F;github.com&#x2F;postgresml&#x2F;postgresml&#x2F;tree&#x2F;master&#x2F;pgml-sdks&#x2F;python&#x2F;pgml#roadmap">https:&#x2F;&#x2F;github.com&#x2F;postgresml&#x2F;postgresml&#x2F;tree&#x2F;master&#x2F;pgml-sd...</a>