Spaces:
Running
Running
Download index.html from cacheaitechnologies/cacheai: direct link, hf CLI and curl.
- Browser
- Download file 3.03 kB
-
https://huggingface.co/spaces/cacheaitechnologies/cacheai/resolve/main/index.html
- Command line
-
hf download hf://spaces/cacheaitechnologies/cacheai/index.html
-
curl -L -o index.html https://huggingface.co/spaces/cacheaitechnologies/cacheai/resolve/main/index.html
3.03 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Cache AI - Semantic Caching for LLMs</title> | |
| <link rel="stylesheet" href="static/style.css"> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <header> | |
| <h1>Cache AI</h1> | |
| <p class="tagline">Semantic caching for LLMs: 90% cheaper, 10× faster</p> | |
| </header> | |
| <div class="notice"> | |
| <p><strong>Cache AI provides:</strong></p> | |
| <ul> | |
| <li>A Python API (available on PyPI)</li> | |
| <li>A Web API (OpenAI-compatible)</li> | |
| </ul> | |
| <p style="margin-top: 10px;"> | |
| <strong>Note:</strong> Due to per-user API key issuance, this Space focuses on explaining behavior and usage, not full production execution. | |
| </p> | |
| </div> | |
| <div class="stats"> | |
| <div class="stat"> | |
| <div class="stat-number">~90%</div> | |
| <div class="stat-label">Cost Reduction</div> | |
| </div> | |
| <div class="stat"> | |
| <div class="stat-number">10×</div> | |
| <div class="stat-label">Faster Response</div> | |
| </div> | |
| </div> | |
| <section> | |
| <h2>Quickstart: Python API</h2> | |
| <pre><code>pip install cacheai</code></pre> | |
| <pre><code>from cacheai import Client | |
| client = Client(api_key="YOUR_API_KEY") | |
| resp = client.chat.completions.create( | |
| model="openai/gpt-oss-120b", | |
| messages=[{"role": "user", "content": "Hello"}] | |
| ) | |
| print(resp.choices[0].message.content)</code></pre> | |
| </section> | |
| <section> | |
| <h2>Quickstart: Web API (OpenAI-compatible)</h2> | |
| <pre><code>curl https://api.cacheai.tech/v1/chat/completions \ | |
| -H "Authorization: Bearer YOUR_API_KEY" \ | |
| -H "Content-Type: application/json" \ | |
| -d '{ | |
| "model": "openai/gpt-oss-120b", | |
| "messages": [{"role":"user","content":"Hello"}] | |
| }'</code></pre> | |
| </section> | |
| <section> | |
| <h2>Key Features</h2> | |
| <ul style="padding-left: 20px;"> | |
| <li>OpenAI-compatible API</li> | |
| <li>Semantic similarity matching</li> | |
| <li>Per-user API key management</li> | |
| <li>Easy integration with existing workflows</li> | |
| </ul> | |
| </section> | |
| <section> | |
| <h2>Get Started</h2> | |
| <div class="link-grid"> | |
| <a href="https://pypi.org/project/cacheai/" class="link-button" target="_blank"> | |
| 📦 PyPI | |
| </a> | |
| <a href="https://github.com/cacheaitechnologies/cacheai" class="link-button" target="_blank"> | |
| 🐙 GitHub | |
| </a> | |
| <a href="https://www.cacheaitechnologies.com/" class="link-button" target="_blank"> | |
| 🌐 Website | |
| </a> | |
| </div> | |
| </section> | |
| </div> | |
| </body> | |
| </html> | |