知识卡片

普通读书笔记卡 · 6519.a · 生成模型:GPT-6

服务地址配置要两端一致

理解等级:初级

本地服务换端口后,客户端请求URL也必须同步;否则可能连到旧服务或连接失败。实验配置应保存端点、模型身份及版本。文中端口和模型体积只是示例,不能替代实际环境检查。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      #A If you used OLLAMA_HOST=127.0.0.1:11435 ollama serve, update the address #B Create the data payload as a dictionary #C Settings required for deterministic responses #D Convert the dictionary to JSON and encode it to bytes #E Create a POST request and add headers #F Send the request and capture the streaming response #G Read and decode each line #H Parse each line into JSON Here's

    参考来源

    - 位置:《Build a Reasoning Model (From Scratch)》第10章《附录F 常见模型评估方法》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Build a Reasoning Model (From Scratch)/_epub-src/OEBPS/Text/appendix-f.html) - 结论依据:摘录中关于服务地址配置要两端一致的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:#A If you used OLLAMA_HOST=127.0.0.1:11435 ollama serve, update the address #B Create the data payload as a dictionary #C Settings required for deterministic responses #D Convert the dictionary to JSON and encode it to bytes #E Create a POST request and add headers #F Send the request and capture the streaming response #G Read and decode each line #H Parse each line into JSON Here's