a

OpenAI Integration with Knowi

Share on facebook
Share on linkedin
Share on twitter
Share on email

Knowi is always looking to bring innovative features to its users, with the latest one being its integration with OpenAI. This has unlocked doors for:

I. Creating a dataset with OpenAI as a datasource and developing visualizations on top of it, and
II. Conducting data exploration and generating queries using plain English statements.

TL;DR

  • Knowi integrates with OpenAI in two ways: as a direct data source for generating AI-powered datasets, and as an AI query generator for writing queries in plain English.
  • You can connect OpenAI as a datasource in Knowi, send prompts, and build dashboards on the AI-generated responses.
  • The AI Query Generator lets non-technical users describe what they want in natural language, and Knowi translates it into executable queries.
  • Knowi also offers Document AI for chatting with uploaded files and NLQ across all connected data sources.
  • All AI features work with Knowi’s Private AI deployment, keeping data on-prem with no external API calls.

Table of Contents

What is OpenAI?

OpenAI is an AI research company that develops large language models and AI tools, including GPT-4 and the ChatGPT platform.

The mission is to ensure that artificial general intelligence (AGI),by which the company means highly autonomous systems that outperform humans at most economically valuable work,benefits all of humanity.

The organization is dedicated to conducting fundamental research in AI, building cutting-edge AI technologies, and advocating for safe and ethical AI practices.

Knowi’s OpenAI Datasource Integration 

Knowi provides the option to create a dataset with OpenAI as a datasource and develop visualizations on top of it.

Before you can create your dashboard with OpenAI, you need to add OpenAI as a data source and query against it.

For more information, you can follow OpenAI datasource documentation. 

Knowi’s AI Query Generator

The AI query generator from Knowi automatically generates queries from plain English statements, searches the connected databases, and retrieves the data requested. 

The goal for this integration involves simplifying and speeding up the search process by automatically generating relevant and specific queries and improving the probability of finding the requested information.

The following example displays a MongoDB query being generated within Knowi using plain English statements. In the illustration below, you can observe how the MongoDB database is being queried to- 

“Return spam rate, spam, and sent from the sendingActivity collection, grouped by customer. Spam rate is calculated as (spam/sent)*1000000”

The AI Query generator has been integrated with multiple datasources including, but not limited to, Snowflake, ElasticSearch, MySQL, Couchbase, PostgreSQL, and more. 

AI Integration Options for Analytics Platforms

FeatureOpenAI API (standalone)ChatGPT EnterpriseKnowi with OpenAI
Data accessRequires custom code to connect to databasesFile uploads only, no live database queriesConnects to 30+ databases natively, sends context to OpenAI
VisualizationNone (text/code output only)Basic charts from uploaded dataFull dashboard builder with 20+ chart types
Natural language queriesMust build custom NL-to-SQL pipelineAsks questions about uploaded filesNLQ translates plain English to native database queries
Data privacyData sent to OpenAI serversData sent to OpenAI servers (enterprise tier)Private AI option: run models on-prem, no data leaves your environment
EmbeddingBuild custom UI from scratchNot embeddableWhite-label embedded dashboards with AI built in
Multi-source blendingManual via codeNot supportedCross-source joins across SQL, NoSQL, and APIs

Conclusion

Knowi implemented the OpenAI integration to help data engineers, data analysts, data scientists, or anyone responsible for managing the data to make querying easier while increasing overall productivity. Further more, OpenAI as a datasource within Knowi allows you to enrich the existing data with OpenAI, whether it be in your query workflow or dashboards.

Want to see how Knowi integrates AI into your analytics workflow? Schedule a demo to explore Private AI, NLQ, and OpenAI integration firsthand.

Frequently Asked Questions

How does Knowi integrate with OpenAI?

Knowi integrates with OpenAI in two ways: as a direct data source where you can send prompts and build dashboards on AI-generated responses, and through an AI query generator that translates plain English into executable database queries.

Can I use OpenAI with Knowi without sending data to external servers?

Yes. Knowi’s Private AI deployment runs models on-prem so no data leaves your environment, making it suitable for regulated industries like healthcare and finance.

What databases work with Knowi’s AI query generator?

Knowi’s AI query generator works with 30+ databases including MongoDB, Snowflake, Elasticsearch, MySQL, PostgreSQL, Couchbase, and more.

Muze Hasan

Muze Hasan

Want to See Knowi in Action?

Connect your databases, run cross-source joins, and ask questions in plain English. No warehouse required.

See Knowi in action
Connect your databases, query across sources, and run AI on-premises. No warehouse required.
Book a Demo