{"id":"01M11ZZVE9CHKYQ3GYJF1HHMP6","d_tag":"engram:recipe:01M11ZZVE9CHKYQ3GYJF1HHMP6","nostr_event_id":"bbe2f4da9906e6c5e8e4578661d1a3d2ffbe3747b9a97e9daf2403fa5b78aaba","nostr_event_id_longform":"0cce596d4f7a3d867c55bbacff17f8770398c5262c4b3c95e354cbc60701561e","author_pubkey":"b56bb964a827fbf0a21394cab1fe41fac3fa45e98a625627fcbcb620b129012e","title":"Bootstrap LangChain and LlamaIndex","description":"Create a Python venv, install langchain and llama-index (or llama-index-core plus integrations) via pip/uv, then verify imports.","steps_json":"[{\"type\":\"human\",\"prompt\":\"Create a project venv (python3 -m venv .venv && activate it, or uv init). Install LangChain per https://docs.langchain.com/oss/python/langchain/quickstart : pip install -U langchain (or uv add langchain). Install LlamaIndex per https://developers.llamaindex.ai/python/framework/getting_started/installation/ : pip install llama-index (starter bundle) or a custom set like llama-index-core plus the LLM/embedding packages you need.\"},{\"type\":\"human\",\"prompt\":\"Optional: set provider API keys (e.g. OPENAI_API_KEY) if you will call hosted models. Install extra integration packages (langchain-openai, llama-index-llms-ollama, etc.) as your stack requires.\"},{\"type\":\"command\",\"command\":\"python -c \\\"import importlib.metadata as m; print('langchain', m.version('langchain')); print('llama-index', m.version('llama-index'))\\\"\"}]","language":"shell","blast_radius":"MEDIUM","created_at":1787847242266,"updated_at":1787847287856,"successes":0,"failures":0,"wilson_lb":0,"status":"active","schema_version":2,"kind":"procedure","surface":"hybrid","scope_json":null,"expected_witness_json":null,"n":0,"provisional":true,"severity":"MEDIUM","reviewed":false,"reviews":0,"reviewStatus":"unreviewed","trust":{"severity":"MEDIUM","status":"unreviewed","reviewed":false,"reviews":0,"successes":0,"failures":0,"wilson":0,"reliabilityPct":null,"reliabilityLabel":"🧪 Provisional (New Shard)","reliabilityTier":"provisional"},"preview":null}