Files

1 line
6.1 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 LangChain", "description": "Integrate LangChain with Hanzo AI to build chains, agents, and RAG pipelines using any model on Hanzo's gateway. Hanzo is OpenAI-compatible so ChatOpenAI just works.", "applicationCategory": "DeveloperApplication", "operatingSystem": "Any", "offers": {"@type": "Offer", "price": "0", "priceCurrency": "USD"}, "author": {"@type": "Organization", "name": "LangChain AI", "url": "https://langchain.com"}, "license": "https://github.com/langchain-ai/langchain", "step": [{"@type": "HowToStep", "position": 1, "name": "LangChain Python", "text": "pip install langchain langchain-openai\n\nfrom langchain_openai import ChatOpenAI\n\nllm = ChatOpenAI(\n model=\"zen4-pro\",\n openai_api_key=\"your-hanzo-api-key\",\n openai_api_base=\"https://api.hanzo.ai/v1\",\n)\n\nresponse = llm.invoke(\"What is the capital of France?\")\nprint(response.content)"}, {"@type": "HowToStep", "position": 2, "name": "Chain with prompt", "text": "from langchain_core.prompts import ChatPromptTemplate\nfrom langchain_openai import ChatOpenAI\n\nprompt = ChatPromptTemplate.from_template(\"Summarize: {text}\")\nllm = ChatOpenAI(\n model=\"openai/gpt-4.1-mini\",\n openai_api_key=\"your-hanzo-api-key\",\n openai_api_base=\"https://api.hanzo.ai/v1\",\n)\nchain = prompt | llm\nresult = chain.invoke({\"text\": \"LangChain is a framework...\"})"}, {"@type": "HowToStep", "position": 3, "name": "LangChain TypeScript", "text": "import { ChatOpenAI } from \"@langchain/openai\";\n\nconst model = new ChatOpenAI({\n modelName: \"zen4-pro\",\n openAIApiKey: process.env.HANZO_API_KEY,\n configuration: {\n baseURL: \"https://api.hanzo.ai/v1\",\n },\n});\n\nconst response = await model.invoke(\"Hello!\");"}, {"@type": "HowToStep", "position": 4, "name": "RAG with Hanzo", "text": "from langchain_openai import ChatOpenAI, OpenAIEmbeddings\n\nembeddings = OpenAIEmbeddings(\n openai_api_key=\"your-hanzo-api-key\",\n openai_api_base=\"https://api.hanzo.ai/v1\",\n model=\"openai/text-embedding-3-large\",\n)\n\nllm = ChatOpenAI(\n model=\"zen4-pro\",\n openai_api_key=\"your-hanzo-api-key\",\n openai_api_base=\"https://api.hanzo.ai/v1\",\n)"}]}]