跳到主要内容

博客

代码人生:编织技术与生活的博客之旅

enhance now

  1. ✅ enhance thinking process. 这几个step最好能一条条展示- enhance now

  2. ✅ 用户对话和thinking process区分开 - enhance now

  3. Quick prompt - aifei在改

  4. 继续对话在调好后再演示 - enhance now

  5. Ai未识别到正确需求,卡住时,应该追问,或者说出block的点 - enhance now

  6. Ai不应该查询修改到cancel掉的staffing request - enhance now

  7. 当第一次生成preview成功的话,上下文会被切断。例如skill + java,继续加salesforce。 —需要验证

  8. Chatbot的发送键颜色需要改一下- enhance now

enhance later

  1. 点preview后,会无限增加staffing request。-enhance later
  2. summary of change title就叫summary of change - enhance later
  3. 需要用户手动清理上下文, 需要给一个明确的提示。 - ba/us设计
  4. 当copy from another opportunity时,start date/end date也会带过来。- enhance later

BA/UX

  1. enhance thinking process. Ai wording - ba/us设计
日记

gcloud run deploy CLOUD_RUN_SERVICE_NAME --image="us-central1-docker.pkg.dev/talent-marketplace-dev-558f/talent-marketplace/backend:d59cc53da67b" --allow-unauthenticated --platform managed --project=talent-marketplace-dev-558f


gcloud run deploy espv2-service-talent-marketplace-dev-uc --image="us-central1-docker.pkg.dev/talent-marketplace-dev-558f/talent-marketplace/backend:d59cc53da67b" --allow-unauthenticated --platform managed --project=talent-marketplace-dev-558f

gcloud run deploy espv2-service-talent-marketplace-dev-uc --image="gcr.io/cloudrun/hello" --allow-unauthenticated --platform managed --project=talent-marketplace-dev-558f




To make this the default region, run `gcloud config set run/region us-central1`.

Deploying container to Cloud Run service [espv2-service-talent-marketplace-dev-uc] in project [talent-marketplace-dev-558f] region [us-central1]
Deploying... Done.
Creating Revision...
Routing traffic...
Setting IAM Policy...
Done.
Service [espv2-service-talent-marketplace-dev-uc] revision [espv2-service-talent-marketplace-dev-uc-00002-h4w] has been deployed and is serving 100 percent of traffic.
Service URL: https://espv2-service-talent-marketplace-dev-uc-1047666599239.us-central1.run.app
swagger: '2.0'
info:
title: Cloud Endpoints + Cloud Run
description: Sample API on Cloud Endpoints with a Cloud Run backend
version: 1.0.0
host: espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog
schemes:
- https
produces:
- application/json
x-google-backend:
address: https://talent-marketplace-backend-dev-973f0ea-1047666599239.us-central1.run.app
protocol: h2
paths:
/hello:
get:
summary: Greet a user
operationId: hello
responses:
'200':
description: A successful response
schema:
type: string

gcloud endpoints services deploy /Users/jiexu/coding/tw/talent/talent-marketplace-backend/scripts/openapi-run.yaml --project=talent-marketplace-dev-558f

gcloud endpoints services deploy /Users/jiexu/coding/tw/talent/talent-marketplace-backend/scripts/openapi-run.yaml --project=talent-marketplace-dev-558f
Waiting for async operation operations/services.espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog-0 to complete...
Waiting for async operation operations/serviceConfigs.espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog:902716f1-5c5d-45ab-8d3d-46b76fbffe7d to complete...
Operation finished successfully. The following command can describe the Operation details:
gcloud endpoints operations describe operations/serviceConfigs.espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog:902716f1-5c5d-45ab-8d3d-46b76fbffe7d

Waiting for async operation operations/rollouts.espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog:6bb5029a-210f-4af1-a503-723095211b7f to complete...
Operation finished successfully. The following command can describe the Operation details:
gcloud endpoints operations describe operations/rollouts.espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog:6bb5029a-210f-4af1-a503-723095211b7f

Enabling service [espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog] on project [talent-marketplace-dev-558f]...
Operation "operations/acat.p2-1047666599239-b20087ea-4250-42f5-ab18-b898cd877dfc" finished successfully.


Service Configuration [2025-07-08r0] uploaded for service [espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog]

To manage your API, go to: https://console.cloud.google.com/endpoints/api/espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog/overview?project=talent-marketplace-dev-558f
(base) jiexu:~/ $

gcloud services enable servicemanagement.googleapis.com
gcloud services enable servicecontrol.googleapis.com
https://github.com/GoogleCloudPlatform/esp-v2/tree/master/docker/serverless/gcloud_build_image


chmod +x gcloud_build_image
/Users/jiexu/coding/tw/talent/talent-marketplace-backend/scripts/gcloud_build_image.sh -s espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog -c 2025-07-08r3 -p talent-marketplace-dev-558f
curl --fail -o service.json -H "Authorization: Bearer $(gcloud auth print-access-token)" \
"https://servicemanagement.googleapis.com/v1/services/espv2-service-talent-marketplace-dev-uc.endpoints.talent-marketplace-dev-558f.cloud.goog/configs/2025-07-08r0?view=FULL"
const buildEspv2Image = new local.Command("buildEspv2Image", {
create: pulumi.all([endpointsService.configId]).apply(configId => `
bash gcloud_build_image.sh -s my-service.endpoints.my-project.cloud.goog -c ${configId} -p my-project
`),
});

(base) jiexu:~/ $ gcloud projects get-iam-policy talent-marketplace-dev-558f \                                                                 [19:08:05]
--filter="bindings.members:jie.xu@thoughtworks.com" \
--flatten="bindings[].members" \
--format="table(bindings.role)"
ROLE
roles/owner
roles/servicemanagement.admin
roles/servicemanagement.serviceController

gcloud projects get-iam-policy talent-marketplace-dev-558f \                                                                 [19:08:05]
--filter="bindings.members:jie.xu@thoughtworks.com" \
--flatten="bindings[].members" \
--format="table(bindings.role)"
ROLE
roles/owner
roles/servicemanagement.admin
roles/servicemanagement.serviceController
(base) jiexu:~/ $ gcloud projects describe talent-marketplace-dev-558f --format="value(projectNumber)" [19:08:29]
1047666599239


gcloud run services add-iam-policy-binding talent-marketplace-backend-dev \
--member=serviceAccount:service-1047666599239@gcp-sa-endpoints.iam.gserviceaccount.com \
--role=roles/run.invoker \
--project=talent-marketplace-dev-558f \
--region=us-central1


gcloud run services add-iam-policy-binding talent-marketplace-backend-dev-973f0e \
--member=serviceAccount:service-1047666599239@gcp-sa-endpoints.iam.gserviceaccount.com \
--role=roles/run.invoker \
--project=talent-marketplace-dev-558f \
--region=us-central1


日记

AC1 Direct, Simple Commands

  • Help me postpone the start dates of all dev roles by one week. ✅

AC2, Indirect Commands

  • Help me copy all the staffing requests for the opportunity 'CPQ Campus Training' ✅

AC3, Thinking process

AC4, Unified Preview & User's Final Confirmation

AC5, Clear Communication & Error Handling

0011T00002Xqx7GQAR,HDFC Life Insurance,HDFC Life Virtual Office,006Hs00001FgdH3IAJ,116 0013800001IuybBAAR,PEXA,PEXA - EXPANDED DELIVERY AUG24-JUL25/SOW9 - AUS/IND,006Hs00001BNP5MIAX,104 0015000000Yh4DTAAZ,National Grid,GTIS Re-architecture - RFP,006Hs00001DEMhgIAH,54 0015000000KcUQNAA3,McKinsey and Company - US - NY,Periscope 2024-2026,006UZ000003EzwLYAS,48

AC6, AI should not be able to change the data that the user cannot change mannually

  • "help me delete all the Developer of this opportunity"

AC7, continue talk

AC8, Quick prompt

日记

例行事项

  • agent学习了吗
  • 剪辑学习了吗
  • 自媒体是否行动了

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

To Do List

  • 工作

    • 完善上线 API 调用: 1h
    • 看卡,开卡: 2h
    • [ ]
  • 活儿

    • 准备链条数据 1.5
  • 自媒体

    • 视频剪辑学习

    • python99.com

    • chengxuyuancd.com

    • gin1995.top

    • xd1997.com

    • 公众号

      • python99
      • 包哥软件
      • 包哥实战讲软件编程
    • 小红书

    • 抖音

    • B站

    • 快手

    • 百度视频

    • 微博

今日记录

时间事情备注

反思

日记

例行事项

  • agent学习了吗
  • 剪辑学习了吗
  • 自媒体是否行动了

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

To Do List

  • 工作

    • 完善上线 API 调用: 1h
    • DC: 30min
    • 看卡: 1h
    • api Gateway: 20min -> 1h
    • bug数据查找:1h
    • Linqiao bug: 1h
    • biao error: 1h
  • 活儿

    • 准备链条数据 1.5
  • 自媒体

    • 视频剪辑学习

    • python99.com

    • chengxuyuancd.com

    • gin1995.top

    • xd1997.com

    • 公众号

      • python99
      • 包哥软件
      • 包哥实战讲软件编程
    • 小红书

    • 抖音

    • B站

    • 快手

    • 百度视频

    • 微博

今日记录

时间事情备注

反思

日记

  • 时间范围 2025-06-24 - 2025-06-29
  • 6天,两天周末,4天工作日

总计划

  • 身体健康-游泳/瑜伽/锻炼/练功 已经称为习惯,无需特殊设定目标

  • 公众号

    • 更新2篇
  • 小红书

    • 更新2篇
  • B站

    • 更新2个视频
  • 视频号,抖音

    • 更新2个视频
  • 接单

    • 2个单
  • 网站

    • 发3篇文章
  • 英语

  • 本职工作

我有多少时间(资源)

  • 工作日**(70h)**
  • 休假/周末**(70h)**
  • 总计(140h)

完成这个计划需要做什么

  • 接单**(50h)**

    • 围栏检测(10h):

      • 训练链条 3h

      • 重新装系统 3h

      • 调试 4h

    • AI知识库(13h)

      • 下载数据,建表(3h)
      • 结合ragflow 5h
      • 部署安装(3h)
      • 交付 2h
    • AI车辆登船系统(23h)

      • 车牌检测(3h)
      • 车牌识别(10h)
      • 系统搭建(10h)
  • 公众号,小红书,视频号,抖音,B站**(45h)**

    • 每个作品 3hx 10 = 30h
    • 调整以便适应各个平台,每个需要1h x10 = 10h
    • 学习剪辑技巧:5h
  • 本职工作 20h

    • 学习agent的开发:10h
    • 其他知识学习 10h
  • 卖课 (33h)

    • yolo课程
      • 调研学习 20h
      • 大纲:3h
      • 课程制作 两节课:10h
  • 复盘 20h

    • 每天 30min
    • 每周:30min x 7 + 1h =4.5 h
    • 每月:4.5h x 4 + 3h = 21h
  • 英语

    • 中级
      • Daily Dictation 平均每天 30m
      • EnglishPod 平均每天 30m

计划拆分

  • 时间范围 2025-06-24 - 2025-07-31
  • 约37天

总计划

  • 身体健康-游泳/瑜伽/锻炼/练功 已经称为习惯,无需特殊设定目标

  • 公众号

    • 更新10篇
  • 小红书

    • 更新10篇
  • B站

    • 更新10个视频
  • 视频号,抖音

    • 更新10个视频
  • 接单

    • 2个单
  • 网站

    • 发15篇文章
  • 英语

  • 本职工作

我有多少时间(资源)

  • 工作日**(13.5h)**
  • 休假/周末**(15h)**
  • 总计(28.5h)

完成这个计划需要做什么

  • 接单**(17h)**

    • 围栏检测(6h):

      • 训练链条 3h

      • 重新装系统 3h

    • AI知识库(8h)

      • 下载数据,建表(3h)
      • 结合ragflow 5h
    • AI车辆登船系统(3h)

      • 车牌检测(3h)
  • 公众号,小红书,视频号,抖音,B站**(10h)**

    • 每个作品 3hx 2 = 6h
    • 调整以便适应各个平台,每个需要1h x2 = 2h
    • 学习剪辑技巧:2h
  • 本职工作 4h

    • 学习agent的开发:4h
  • 卖课 (3h)

    • yolo课程
      • 调研学习 3h
  • 复盘 4h

    • 每天 30min
    • 每周:30min x 7 + 1h =4.5 h
  • 英语

    • 中级
      • Daily Dictation 平均每天 30m
      • EnglishPod 平均每天 30m

总结

需要:35h

  • 只有:28.5h

例行事项

  • 前端学习了吗?
  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

To Do List

  • 查找 opportunity 无法 sync 的原因
  • 继续 aifei 的卡
  • 完善上线 API 调用
  • 有时间的话问下 xinjun 有没有需要帮助的地方
  • 自媒体
    • chengxuyuancd.com
    • Gin1995.top
    • gin1995.top

今日记录

反思

日记

例行事项

  • 前端学习了吗?
  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

To Do List

  • 和 linqiao 交接好卡的内容
  • 完善上线 API 调用
  • siqi 的卡看是否需要合作
  • aifei 休假,继续他的卡做

今日记录

反思

日记

例行事项

  • 前端学习了吗?

  • cursor 了解了吗

  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

To Do List

1h+

  • 完成本地知识库的文档编写

0.5h+

今日记录

反思

日记

例行事项

  • 前端学习了吗?

  • cursor 了解了吗

  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

To Do List

1h+

  • 完成本地知识库的文档编写

0.5h+

  • 10 点前列出需要和客户对的问题清单
客户对的问题清单
  1. 升降台打开的信号是如何发送给系统?
  2. 看起来都在室外,工控机或者主机有网线,wifi 可以连接吗
  3. 如果可以联网,为什么 15 套不能用一台机器
  4. 这个栏杆或者链条看起来是固定的,好像没有什么场景会打开,为什么会有这种需求呢?链条打开的状态就是不连接,栏杆打开是什么状态?
  5. 需不需要一个监控屏幕,用来管理
  6. 夜晚情况下需不需要考虑?夜晚有没有灯光?
  7. 如果可以的话,可以录一个一镜到底视频(从外侧到这个下坡的位置)

今日记录

反思

日记

例行事项

  • 前端学习了吗?

  • cursor 了解了吗

  • EPED 练习了吗

主观事项

  • 今天做的事是否聚焦当前目标?

  • 只做少而好的事?

  • 当日有哪些经验和改进的空间?

改进的空间:

工作上需要完成的事

今日记录

反思

SELECT
status,
COUNT(*) AS count,
COUNT(*) * 100.0 / SUM(COUNT(*)) OVER () AS percentage
FROM
assessment.assessment
WHERE
assessment_profile_id = 685
GROUP BY
status;


select * from assessment.assessment left join assessment_profile.assessment_profile_version
on assessment.assessment_profile_id = assessment_profile.assessment_profile_version.id
where health_facet_id = 1

select
status,
COUNT(*) AS count,
COUNT(*) * 100.0 / SUM(COUNT(*)) OVER () AS percentage

from assessment.assessment left join assessment_profile.assessment_profile
on assessment.assessment_profile_id = assessment_profile.assessment_profile.id
where health_facet_id = 1
and assessment.created_at > '2024-01-01' and assessment.created_at < '2025-01-01'

GROUP BY
assessment.assessment.status;


日记