分类目录归档:解决方案

httpx-库-Python


HTTPX 是一个基于 Python 的 HTTP 客户端库,构建在众所周知的 httpcoreh11 库之上。它旨在为 Python 中的 HTTP 请求提供简单而强大的接口。以下是如何使用 HTTPX 进行 GET 请求的基本示例:

import httpx

async def main():
    async with httpx.AsyncClient() as client:
        response = await client.get('https://example.com')
        print(f"状态码: {res...

Read more

ollama-开源大模型-AI


Ollama 官网核心信息总结

1. 平台定位 - 专注于本地部署大型语言模型的开发工具 - 支持快速启动和运行开源大模型

2. 核心功能 - ✅ 预集成主流模型: - Llama 2(Meta开源对话模型) - Code Llama(代码专用模型) - 其他第三方开源模型 - ✅ 提供模型自定义能力: - 支持模型微调(Fine-tuning) - 允许创建个性化模型版本

3. 系统支持 - 🖥️ 多平台兼容: - macOS(正式版) - Linux(正式版) - Windows(预览版)

4. 品牌标语 - "Get up and running w...

Read more