LlamaIndex Tools Integration: Ionic Shopping
pip install llama-index-tools-ionic-shopping
Ionic is a plug and play ecommerce marketplace for AI Assistants. By including the Ionic Tool in your agent, you are effortlessly providing your users with the ability to shop and transact directly within your agent, and you’ll get a cut of the transaction.
Attribution
Llearn more about how Ionic attributes sales to your agent. Provide your Ionic API Key when instantiating the tool:
from llama_index.tools.ionic_shopping import IonicShoppingToolSpec
ionic_tool = IonicShoppingToolSpec(api_key="<my Ionic API Key>").to_tool_list()
Usage
Try it out using the Jupyter notebook.
import openai
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
from llama_index.tools.ionic_shopping import IonicShoppingToolSpec
openai.api_key = "sk-api-key"
ionic_tool = IonicShoppingToolSpec(api_key="<my Ionic API Key>").to_tool_list()
agent = FunctionAgent(
tools=ionic_tool,
llm=OpenAI(model="gpt-4.1"),
)
print(
await agent.run(
"I'm looking for a 5k monitor can you find me 3 options between $600 and $1000"
)
)
query: used to search for products and to get product recommendations
Your users can use natural language to specify how many results they would like to see and what their budget is.
For more information on setting up your Agent with Ionic, see the Ionic documentation.
Metadata
Release files for llama-index-tools-ionic-shopping 0.6.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 | Provenance | |
|---|---|---|---|---|
| llama_index_tools_ionic_shopping-0.6.0.tar.gz | 4.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llama_index_tools_ionic_shopping-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / llama_index_tools_ionic_shopping-0.6.0.tar.gz
| Download URL | llama_index_tools_ionic_shopping-0.6.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb9976852787fe5be9aeca25df9fb510708e7125e07ce97fc094f7f9821a5e0f
|
|
BLAKE2b-256 checksum How to use checksums |
80412ab0ad9c5552b13264ded8877bbf17603d07ab751f07e0fdf570dc9535aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / llama_index_tools_ionic_shopping-0.6.0-py3-none-any.whl
| Download URL | llama_index_tools_ionic_shopping-0.6.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a1f68a36c3780dc83b82605d4fb023b5d71efa732cb2acf74ba656750ba62c5
|
|
BLAKE2b-256 checksum How to use checksums |
4e75c695ff3d2da3a4fac99913b8e922ae18bffb271f1c150ffcfd22f98dc0a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for llama-index-tools-ionic-shopping 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.