Skip to content

Instantly share code, notes, and snippets.

View yuming-long's full-sized avatar

Yuming Long yuming-long

  • Vancouver, BC
  • 02:05 (UTC -07:00)
View GitHub Profile
@yuming-long
yuming-long / Platform_API.ipynb
Created February 28, 2025 01:14
Platform API Walkthrough
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yuming-long
yuming-long / test.py
Last active December 8, 2023 22:04
test memory send_partition_metrics
from prepline_general.api.metrics import send_partition_metrics
from memory_profiler import profile
from random import randint as r
def run(org_id):
send_partition_metrics(
org_id,
content_type="application/json",
strategy="hi_res",
@yuming-long
yuming-long / langchain_js_test.md
Last active April 8, 2025 18:13
langchain js test doc
  1. brew install npm
  2. npm install langchain
  3. make sure the package.json looks like
{
 "name": "your-project-name",
 "type": "module",
 "dependencies": {
"langchain": "^0.0.95"