摘要:
fastapi-versioning https://github.com/DeanWay/fastapi-versioning from fastapi import FastAPI from fastapi_versioning import VersionedFastAPI, version
阅读全文
posted @ 2025-02-21 22:37
lightsong
阅读(24)
推荐(0)
摘要:
Build a Retrieval Augmented Generation (RAG) App https://python.langchain.com/docs/tutorials/rag/ One of the most powerful applications enabled by LLM
阅读全文
posted @ 2025-02-19 22:26
lightsong
阅读(75)
推荐(0)
摘要:
how langchain call api https://sj-langchain.readthedocs.io/en/latest/chains/langchain.chains.api.openapi.chain.OpenAPIEndpointChain.html https://pytho
阅读全文
posted @ 2025-02-19 22:19
lightsong
阅读(38)
推荐(0)
摘要:
langchain serialization https://zhuanlan.zhihu.com/p/640693519 8序列化 这个笔记本涵盖了如何将链序列化到磁盘和从磁盘序列化。我们使用的序列化格式是json或yaml。目前,只有一些链支持这种类型的序列化。我们将随着时间的推移增加支持的链
阅读全文
posted @ 2025-02-19 21:35
lightsong
阅读(30)
推荐(0)
摘要:
pydantic.computed_field() https://github.com/weet-ai/text2sql-workshop/blob/main/text2sql/text2sql/core.py from langchain.chat_models import ChatOpenA
阅读全文
posted @ 2025-02-19 13:35
lightsong
阅读(133)
推荐(0)
摘要:
Mastering Natural Language to SQL with LangChain | NL2SQL https://blog.futuresmart.ai/mastering-natural-language-to-sql-with-langchain-nl2sql By the e
阅读全文
posted @ 2025-02-16 22:27
lightsong
阅读(105)
推荐(0)
摘要:
豆包推荐 智谱 AI:其 GLM - 4 - Flash 模型 API 全部免费,还开启限时免费微调活动。同时,面向 OpenAI API 用户提供特别搬家计划,为开发者提供 1.5 亿 Token(5000 万 GLM - 4 + 1 亿 GLM - 4 - Air),以及从 OpenAI 到 G
阅读全文
posted @ 2025-02-16 20:51
lightsong
阅读(300)
推荐(0)
摘要:
B - A..B..C https://atcoder.jp/contests/abc393/tasks/abc393_b #include <bits/stdc++.h> using namespace std; int main(){ string s; cin >> s; int tot =
阅读全文
posted @ 2025-02-16 10:28
lightsong
阅读(14)
推荐(0)
摘要:
Incremental addition of vectors to FAISS https://github.com/facebookresearch/faiss/issues/1284 There will be some regimes in which PQ provides a speed
阅读全文
posted @ 2025-02-13 11:12
lightsong
阅读(182)
推荐(0)
摘要:
Understanding FAISS Indexing https://arithmancylabs.medium.com/understanding-faiss-indexing-86ec98048bd9 In this article we will dive deep into the Fa
阅读全文
posted @ 2025-02-13 10:55
lightsong
阅读(100)
推荐(0)
摘要:
How to Use FAISS to Build Your First Similarity Search https://medium.com/loopio-tech/how-to-use-faiss-to-build-your-first-similarity-search-bf0f708aa
阅读全文
posted @ 2025-02-13 10:51
lightsong
阅读(37)
推荐(0)
摘要:
Similarity Search with FAISS: A Practical Guide to Efficient Indexing and Retrieval https://medium.com/@devbytes/similarity-search-with-faiss-a-practi
阅读全文
posted @ 2025-02-13 10:50
lightsong
阅读(89)
推荐(0)
摘要:
python uv stands for what? uv 是 Python 生态中一个新兴的高性能工具,由 Rust 编写,旨在替代传统的 pip 和 venv。它由 Charlie Marsh(知名工具 Ruff 的开发者)主导开发,核心目标是解决 Python 包管理的速度和效率问题。 核心功
阅读全文
posted @ 2025-02-10 19:36
lightsong
阅读(176)
推荐(0)
摘要:
Agentic Object Detection https://landing.ai/agentic-object-detection https://zhuanlan.zhihu.com/p/405658103 在机器学习的分类任务中,绕不开准确率(accuracy),精确率(precision
阅读全文
posted @ 2025-02-10 13:47
lightsong
阅读(88)
推荐(0)
摘要:
FastAPI for Machine Learning: Live coding an ML web application https://www.bilibili.com/video/BV1kC411b7Se/?spm_id_from=333.788.videopod.sections&vd_
阅读全文
posted @ 2025-02-08 23:08
lightsong
阅读(50)
推荐(0)
摘要:
langgraph https://github.com/langchain-ai/langgraph/tree/main/examples LangGraph is a library for building stateful, multi-actor applications with LLM
阅读全文
posted @ 2025-01-27 17:14
lightsong
阅读(170)
推荐(0)
摘要:
Ray Serve https://python.langchain.com/docs/integrations/providers/ray_serve/#example-of-deploying-and-openai-chain-with-custom-prompts Ray Serve Ray
阅读全文
posted @ 2025-01-27 15:34
lightsong
阅读(55)
推荐(0)
摘要:
full-stack-fastapi-template End-to-End Testing with Playwright https://github.com/fastapi/full-stack-fastapi-template/tree/master/frontend 切换到项目使用的nod
阅读全文
posted @ 2025-01-27 10:40
lightsong
阅读(173)
推荐(0)
摘要:
What is the difference between OpenAI and ChatOpenAI in LangChain? https://stackoverflow.com/questions/76950609/what-is-the-difference-between-openai-
阅读全文
posted @ 2025-01-25 21:34
lightsong
阅读(121)
推荐(0)
摘要:
python打包工具优缺点对比 PyInstaller 优点 跨平台支持:能够在 Windows、macOS、Linux 等不同操作系统上使用,并且可以将 Python 脚本打包成对应平台的可执行文件。 依赖管理:自动检测并打包 Python 脚本所依赖的库,减少了部署时的环境配置问题。 简单易用:
阅读全文
posted @ 2025-01-24 09:49
lightsong
阅读(1078)
推荐(0)
摘要:
使用 Gunicorn 部署 FastAPI 应用程序:快速而强大的组合 https://juejin.cn/post/7348003004123463717 本地部署 本地开发调试过程中,我通常是这样启动Fastapi服务的 在终端中运行: uvicorn main:app --host 0.0.
阅读全文
posted @ 2025-01-23 16:49
lightsong
阅读(167)
推荐(0)
摘要:
windows服务管理 在 Windows 系统中,有多种方法可以管理服务。以下是一些常用的服务管理方法: 1. 服务控制管理器 (SCM) 服务控制管理器是一个系统级别的工具,用于启动、停止、暂停和恢复服务。它可以通过以下方式访问: 运行命令:在“运行”对话框(快捷键 Win + R)中输入 se
阅读全文
posted @ 2025-01-23 14:56
lightsong
阅读(598)
推荐(0)
摘要:
pyinstaller https://pyinstaller.org/en/stable/installation.html PyInstaller bundles a Python application and all its dependencies into a single packag
阅读全文
posted @ 2025-01-22 13:56
lightsong
阅读(152)
推荐(0)
摘要:
Pre-training vs Fine-tuning https://developer.volcengine.com/articles/7399549896799780874 Fine-tuning 微调的技术原理是什么?在预训练模型的基础上,针对特定任务或数据领域,通过 在新任务的小规模标注数
阅读全文
posted @ 2025-01-16 16:47
lightsong
阅读(50)
推荐(0)
摘要:
Hyperparameter https://blog.csdn.net/2401_85377976/article/details/141598610 Hyperparameter超参数(Hyperparameter), 是机器学习算法中的调优参数,用于控制模型的学习过程和结构。与模型参数(Mod
阅读全文
posted @ 2025-01-16 16:44
lightsong
阅读(99)
推荐(0)
摘要:
What Is Object Storage? https://www.ibm.com/think/topics/object-storage#:~:text=Object%20storage%2C%20often%20referred%20to%20as%20object-based%20stor
阅读全文
posted @ 2025-01-16 10:09
lightsong
阅读(31)
推荐(0)
摘要:
Browser Use https://browser-use.com/ Make Websites Accessible for Agents We make websites accessible for AI agents by extracting all interactive eleme
阅读全文
posted @ 2025-01-15 17:36
lightsong
阅读(302)
推荐(0)
摘要:
browser-use/web-ui https://github.com/browser-use/web-ui This project builds upon the foundation of the browser-use, which is designed to make website
阅读全文
posted @ 2025-01-14 22:13
lightsong
阅读(527)
推荐(0)
摘要:
Generative Manim https://generative-manim.vercel.app/ ⚡️ How it works Making video animations accessible to everyone. Generative Manim is an open-sour
阅读全文
posted @ 2025-01-14 20:49
lightsong
阅读(410)
推荐(0)
摘要:
Shared responsibility in the cloud Shared responsibility in the cloud - Microsoft Azure | Microsoft Learn In an on-premises datacenter, you own the wh
阅读全文
posted @ 2025-01-14 10:30
lightsong
阅读(22)
推荐(0)
摘要:
MailCatcher https://mailcatcher.me/ https://hub.docker.com/r/schickling/mailcatcher/ Catches mail and serves it through a dream. MailCatcher runs a su
阅读全文
posted @ 2025-01-11 19:46
lightsong
阅读(50)
推荐(0)
摘要:
Use Compose Watch https://docs.docker.com/compose/how-tos/file-watch/#:~:text=Run%20docker%20compose%20up%20--watch%20to%20build%20and,source%20files%
阅读全文
posted @ 2025-01-11 18:03
lightsong
阅读(116)
推荐(0)
摘要:
docker容器添加自定义hosts https://www.cnblogs.com/erlou96/p/13884130.html 方案一 启动时增加hosts,参考自docker docs docker run -d --name test1 \ --add-host test1.a:1.2.3
阅读全文
posted @ 2025-01-05 09:54
lightsong
阅读(82)
推荐(0)
摘要:
example https://doc.traefik.io/traefik/user-guides/docker-compose/basic-example/ traefik通过docker engine访问其它容器的label信息,来做路由。 version: "3.3" services: t
阅读全文
posted @ 2025-01-05 08:47
lightsong
阅读(62)
推荐(0)
摘要:
microservice without load balancer 不带负载均衡例子。 https://github.com/GavriloviciEduard/fastapi-microservices/tree/master multiple upstream for load balance
阅读全文
posted @ 2025-01-04 19:38
lightsong
阅读(33)
推荐(0)
摘要:
What is Cloud Native? https://learn.microsoft.com/en-us/dotnet/architecture/cloud-native/definition Cloud-native technologies empower organizations to
阅读全文
posted @ 2025-01-03 09:34
lightsong
阅读(25)
推荐(0)
摘要:
docker compose watch https://docs.docker.com/compose/how-tos/file-watch/ Use Compose Watch Introduced in Docker Compose version 2.22.0 The watch attri
阅读全文
posted @ 2025-01-01 09:43
lightsong
阅读(64)
推荐(0)
摘要:
https://github.com/fastapi/full-stack-fastapi-template?tab=readme-ov-file How to Use a Private Repository If you want to have a private repository, Gi
阅读全文
posted @ 2024-12-31 22:47
lightsong
阅读(25)
推荐(0)
摘要:
Metaflow https://docs.metaflow.org/introduction/what-is-metaflow What is Metaflow Metaflow is a human-friendly Python library that makes it straightfo
阅读全文
posted @ 2024-12-29 11:55
lightsong
阅读(78)
推荐(0)
摘要:
10个简单但很有用的Python装饰器 https://zhuanlan.zhihu.com/p/647427471 1、@timer:测量执行时间 优化代码性能是非常重要的。@timer装饰器可以帮助我们跟踪特定函数的执行时间。通过用这个装饰器包装函数 ,我可以快速识别瓶颈并优化代码的关键部分。下
阅读全文
posted @ 2024-12-29 11:51
lightsong
阅读(40)
推荐(0)