truthstack-llamaindex
LlamaIndex adapter for TruthStack supplement safety API.
Install
pip install truthstack-llamaindex
Quick Start
from truthstack_llamaindex import get_tools
from llama_index.core.agent import ReActAgent
from llama_index.llms.openai import OpenAI
tools = get_tools(api_key="your-key")
agent = ReActAgent.from_tools(tools, llm=OpenAI(model="gpt-4"))
response = agent.chat("What's the evidence for CoQ10?")
Tools Included
| Tool | Description |
|---|---|
truthstack_check_interactions |
Check supplement + drug interactions |
truthstack_get_evidence |
Evidence balance + citations |
truthstack_search_supplements |
Fuzzy compound search |
truthstack_safety_signals |
FDA CAERS/FAERS signals |
truthstack_drug_profile |
Drug CYP450 + botanical interactions |
Also available
pip install truthstack # Core client
pip install truthstack-langchain # LangChain adapter
pip install truthstack-crewai # CrewAI adapter
API Key
Free key (2,000 calls/month): truthstack.co/developers
License
MIT
Metadata
Release files for truthstack-llamaindex 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| truthstack_llamaindex-1.0.0.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| truthstack_llamaindex-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 kB
Release files / truthstack_llamaindex-1.0.0.tar.gz
| Download URL | truthstack_llamaindex-1.0.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f693b2237e069fa27efa5192c6eb4f8dfbcc88f9ed6dd5fb08374f6742722a96
|
|
BLAKE2b-256 checksum How to use checksums |
f7963d969a65c32eece4b27613c2a9fce9b9f7a12658eebaaafdffda4d03c08c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / truthstack_llamaindex-1.0.0-py3-none-any.whl
| Download URL | truthstack_llamaindex-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
876dc93c1fb834f6c91e46c53e69cb2c81e5ed2872719ab17c474483522588fe
|
|
BLAKE2b-256 checksum How to use checksums |
9e793f150f26e1951f7d6ffefb84061f6147980bb3e69815abc6e811a94eed20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|