Skip to main content
Chaindesk platform brings data from anywhere (Datsources: Text, PDF, Word, PowerPpoint, Excel, Notion, Airtable, Google Sheets, etc..) into Datastores (container of multiple Datasources). Then your Datastores can be connected to ChatGPT via Plugins or any other Large Langue Model (LLM) via the Chaindesk API.
This notebook shows how to use Chaindeskโ€™s retriever. First, you will need to sign up for Chaindesk, create a datastore, add some data and get your datastore api endpoint url. You need the API Key.

Query

Now that our index is set up, we can set up a retriever and start querying it.
from langchain_community.retrievers import ChaindeskRetriever
retriever = ChaindeskRetriever(
    datastore_url="https://clg1xg2h80000l708dymr0fxc.chaindesk.ai/query",
    # api_key="CHAINDESK_API_KEY", # optional if datastore is public
    # top_k=10 # optional
)
retriever.invoke("What is Daftpage?")
[Document(page_content='โœจ Made with DaftpageOpen main menuPricingTemplatesLoginSearchHelpGetting StartedFeaturesAffiliate ProgramGetting StartedDaftpage is a new type of website builder that works like a doc.It makes website building easy, fun and offers tons of powerful features for free. Just type / in your page to get started!DaftpageCopyright ยฉ 2022 Daftpage, Inc.All rights reserved.ProductPricingTemplatesHelp & SupportHelp CenterGetting startedBlogCompanyAboutRoadmapTwitterAffiliate Program๐Ÿ‘พ Discord', metadata={'source': 'https:/daftpage.com/help/getting-started', 'score': 0.8697265}),
 Document(page_content="โœจ Made with DaftpageOpen main menuPricingTemplatesLoginSearchHelpGetting StartedFeaturesAffiliate ProgramHelp CenterWelcome to Daftpageโ€™s help centerโ€”the one-stop shop for learning everything about building websites with Daftpage.Daftpage is the simplest way to create websites for all purposes in seconds. Without knowing how to code, and for free!Get StartedDaftpage is a new type of website builder that works like a doc.It makes website building easy, fun and offers tons of powerful features for free. Just type / in your page to get started!Start hereโœจ Create your first site๐Ÿงฑ Add blocks๐Ÿš€ PublishGuides๐Ÿ”– Add a custom domainFeatures๐Ÿ”ฅ Drops๐ŸŽจ Drawings๐Ÿ‘ป Ghost mode๐Ÿ’€ Skeleton modeCant find the answer you're looking for?mail us at support@daftpage.comJoin the awesome Daftpage community on: ๐Ÿ‘พ DiscordDaftpageCopyright ยฉ 2022 Daftpage, Inc.All rights reserved.ProductPricingTemplatesHelp & SupportHelp CenterGetting startedBlogCompanyAboutRoadmapTwitterAffiliate Program๐Ÿ‘พ Discord", metadata={'source': 'https:/daftpage.com/help', 'score': 0.86570895}),
 Document(page_content=" is the simplest way to create websites for all purposes in seconds. Without knowing how to code, and for free!Get StartedDaftpage is a new type of website builder that works like a doc.It makes website building easy, fun and offers tons of powerful features for free. Just type / in your page to get started!Start hereโœจ Create your first site๐Ÿงฑ Add blocks๐Ÿš€ PublishGuides๐Ÿ”– Add a custom domainFeatures๐Ÿ”ฅ Drops๐ŸŽจ Drawings๐Ÿ‘ป Ghost mode๐Ÿ’€ Skeleton modeCant find the answer you're looking for?mail us at support@daftpage.comJoin the awesome Daftpage community on: ๐Ÿ‘พ DiscordDaftpageCopyright ยฉ 2022 Daftpage, Inc.All rights reserved.ProductPricingTemplatesHelp & SupportHelp CenterGetting startedBlogCompanyAboutRoadmapTwitterAffiliate Program๐Ÿ‘พ Discord", metadata={'source': 'https:/daftpage.com/help', 'score': 0.8645384})]

Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.