AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证LangChain tools for the Asterwise astrology API: natal charts, Vedic matchmaking with Rajju and Vedha vetoes, panchanga, numerology
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
LangChain tools for the Asterwise astrology API. Five StructuredTools over the official Python SDK:
Outputs are slimmed by default to the fields a model needs to reason with. Pass slim=False for the full API payload. Birthplaces are plain text; the API geocodes them.
Get a free key at asterwise.com/dashboard: 500 calls a month, no card.
With any LangChain chat model that supports tool calling:
Or as a ReAct agent with LangGraph:
The toolkit's methods also work without LangChain:查看完整 README ↗LangChain tools for the Asterwise astrology API. Five StructuredTools over the official Python SDK:
| Tool | What it returns |
|---|---|
asterwise_natal_chart | Vedic natal chart: planets by sign, degree, nakshatra and house; ascendant; Moon sign |
asterwise_western_natal_chart | Western natal chart: planets, ascendant, midheaven; Placidus, Koch, Equal or Whole Sign |
asterwise_matchmaking | Ashtakoot Guna Milan out of 36 with Rajju and Vedha as separate vetoes, Mangal dosha comparison, narrative |
asterwise_panchanga | Tithi, nakshatra, yoga, karana and vara (weekday) for a date and place |
asterwise_numerology_profile | Life path, expression, soul urge, personality and related numbers |
Outputs are slimmed by default to the fields a model needs to reason with. Pass slim=False for the full API payload. Birthplaces are plain text; the API geocodes them.
pip install langchain-asterwise
Get a free key at asterwise.com/dashboard: 500 calls a month, no card.
import os
from asterwise_langchain import AsterwiseToolkit
tools = AsterwiseToolkit(api_key=os.environ["ASTERWISE_API_KEY"]).get_tools()
With any LangChain chat model that supports tool calling:
from langchain.chat_models import init_chat_model
llm = init_chat_model("claude-sonnet-5").bind_tools(tools)
msg = llm.invoke("Cast a Vedic chart for 12 Nov 1985, 06:45, Mumbai and tell me the Moon nakshatra.")
print(msg.tool_calls)
Or as a ReAct agent with LangGraph:
from langgraph.prebuilt import create_react_agent
agent = create_react_agent(init_chat_model("claude-sonnet-5"), tools)
result = agent.invoke({"messages": [("user", "Are these two compatible? Arjun 1990-05-14 07:20 Pune; Meera 1992-11-03 22:45 Jaipur.")]})
print(result["messages"][-1].content)
The toolkit's methods also work without LangChain:
kit = AsterwiseToolkit(api_key="aw_...")
kit.matchmaking("1990-05-14", "Pune, India", "1992-11-03", "Jaipur, India")
Rajju and Vedha between the two Moon nakshatras are stops in the classical method, not point deductions. A 30 out of 36 with Rajju present is not a good match, so the tool returns classical_vetoes alongside total_score and the tool description tells the model so. Background: Rajju and Vedha as hard vetoes.
Every Asterwise position is computed with the Swiss Ephemeris and checked against NASA JPL Horizons: 80 positions from 1950 to 2050, median difference 0.050 arcseconds, raw data and script published.
pip install -e ".[test]" && pytest # offline, mocks the SDK
ASTERWISE_API_KEY=aw_... python scripts/smoke.py # one live call per tool
MIT licensed.