Files

1 line
5.9 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[{"@context": "https://schema.org", "@graph": [{"@type": "Organization", "@id": "https://hanzo.ai/#organization", "name": "Hanzo AI", "legalName": "Hanzo AI, Inc.", "alternateName": "Crowdstart", "url": "https://hanzo.ai", "logo": {"@type": "ImageObject", "url": "https://hanzo.ai/brand/hanzo-logo.png", "width": 696, "height": 696}, "foundingDate": "2014", "funder": {"@type": "Organization", "name": "Techstars", "sameAs": "https://www.techstars.com"}, "founder": [{"@type": "Person", "name": "Antje Worring", "jobTitle": "CEO", "sameAs": ["https://www.linkedin.com/in/antje-worring/", "https://github.com/zooqueen"]}, {"@type": "Person", "name": "Zach Kelling", "jobTitle": "CTO", "sameAs": ["https://www.linkedin.com/in/zeekay/", "https://github.com/zeekay"]}], "subjectOf": [{"@type": "NewsArticle", "headline": "Hanzo Joins Techstars '17", "datePublished": "2017-06-08", "url": "https://hanzo.blog/2017-06-08-techstars-17/"}, {"@type": "NewsArticle", "headline": "Techstars Spotlight: Hanzo’s e-commerce tools designed to make you money", "datePublished": "2017-10-10", "publisher": {"@type": "Organization", "name": "Startland News"}, "url": "https://startlandnews.com/2017/10/techstars-spotlight-hanzos-e-commerce-tools-designed-to-make-you-money/"}], "sameAs": ["https://github.com/hanzoai", "https://x.com/hanzoai", "https://discord.gg/XthHQQj", "https://linkedin.com/company/hanzo-ai", "https://facebook.com/hanzoinc", "https://bsky.app/profile/hanzoai.bsky.social", "https://www.reddit.com/r/HanzoAI/", "https://www.tiktok.com/@hanzoinc", "https://www.instagram.com/hanzoinc", "https://hanzo.help", "https://hanzo.community", "https://docs.hanzo.ai", "https://hanzo.id", "https://platform.hanzo.ai", "https://status.hanzo.ai", "https://hanzoskills.com"], "slogan": "The AI operating system for business", "description": "The AI operating system for business. Building business software since 2014. Techstars '17.", "contactPoint": [{"@type": "ContactPoint", "contactType": "customer support", "email": "[email protected]", "url": "https://hanzo.ai/contact"}, {"@type": "ContactPoint", "contactType": "sales", "email": "[email protected]", "url": "https://hanzo.ai/contact-sales"}, {"@type": "ContactPoint", "contactType": "security", "email": "[email protected]", "url": "https://hanzo.ai/.well-known/security.txt"}, {"@type": "ContactPoint", "contactType": "investor relations", "email": "[email protected]", "url": "https://hanzo.ai/investors"}, {"@type": "ContactPoint", "contactType": "sales", "url": "https://cal.com/hanzo"}]}, {"@type": "WebSite", "@id": "https://hanzo.ai/#website", "url": "https://hanzo.ai", "name": "Hanzo AI", "description": "The AI operating system for business: chat, Dev, Studio, agents and one API on every model. Building business software since 2014. Techstars '17. Start free.", "publisher": {"@id": "https://hanzo.ai/#organization"}}, {"@type": "SoftwareApplication", "@id": "https://hanzo.ai/#platform", "name": "Hanzo", "applicationCategory": "BusinessApplication", "operatingSystem": "Web, macOS, Windows, Linux", "url": "https://hanzo.ai", "publisher": {"@id": "https://hanzo.ai/#organization"}, "offers": {"@type": "Offer", "name": "Free", "price": "0", "priceCurrency": "USD", "url": "https://hanzo.ai/pricing", "description": "Free model requests on Enso Free and Zen Free, plus Kai decisions, per person. No card."}, "description": "The AI operating system for business: Chat, Dev, Studio, Tabs, Bot and one API at api.hanzo.ai for every model, Kai decisions and agents, with one key."}, {"@type": "WebAPI", "@id": "https://hanzo.ai/#api", "name": "Hanzo API", "url": "https://api.hanzo.ai/v1", "documentation": "https://hanzoskills.com/hanzo.md", "provider": {"@id": "https://hanzo.ai/#organization"}, "description": "One API for every model, Kai decisions and agents. An agent with a wallet signs up, mints a key and tops up in USDC with no human."}]}, {"@context": "https://schema.org", "@type": ["HowTo", "SoftwareApplication"], "name": "Use Hanzo AI with LlamaIndex", "description": "Use LlamaIndex with Hanzo AI to build powerful RAG applications, data agents, and query pipelines. Drop in Hanzo as your LLM provider with zero friction.", "applicationCategory": "DeveloperApplication", "operatingSystem": "Any", "offers": {"@type": "Offer", "price": "0", "priceCurrency": "USD"}, "author": {"@type": "Organization", "name": "LlamaIndex", "url": "https://llamaindex.ai"}, "license": "https://github.com/run-llama/llama_index", "step": [{"@type": "HowToStep", "position": 1, "name": "Basic setup", "text": "pip install llama-index llama-index-llms-openai\n\nfrom llama_index.llms.openai import OpenAI\nfrom llama_index.core import Settings\n\nSettings.llm = OpenAI(\n model=\"zen4-pro\",\n api_key=\"your-hanzo-api-key\",\n api_base=\"https://api.hanzo.ai/v1\",\n)"}, {"@type": "HowToStep", "position": 2, "name": "RAG pipeline", "text": "from llama_index.core import VectorStoreIndex, SimpleDirectoryReader\nfrom llama_index.llms.openai import OpenAI\nfrom llama_index.embeddings.openai import OpenAIEmbedding\n\nSettings.llm = OpenAI(\n model=\"zen4-pro\",\n api_key=\"your-hanzo-api-key\",\n api_base=\"https://api.hanzo.ai/v1\",\n)\nSettings.embed_model = OpenAIEmbedding(\n api_key=\"your-hanzo-api-key\",\n api_base=\"https://api.hanzo.ai/v1\",\n)\n\ndocuments = SimpleDirectoryReader(\"./data\").load_data()\nindex = VectorStoreIndex.from_documents(documents)\nquery_engine = index.as_query_engine()\nresponse = query_engine.query(\"What is in these docs?\")"}, {"@type": "HowToStep", "position": 3, "name": "Chat engine", "text": "chat_engine = index.as_chat_engine(\n chat_mode=\"condense_plus_context\",\n verbose=True,\n)\nresponse = chat_engine.chat(\"Tell me more about this topic\")"}, {"@type": "HowToStep", "position": 4, "name": "Streaming query", "text": "streaming_response = query_engine.query(\n \"Summarize the key points\",\n streaming=True,\n)\nstreaming_response.print_response_stream()"}]}]