Skip to main content
The Novita AI integration for Dify gives you access to Novita AI LLM models, including DeepSeek, Llama, Qwen, and others, so you can build and deploy AI applications. This guide shows you how to integrate Novita AI’s DeepSeek V4 Pro model with Dify to build applications with multi-turn reasoning. DeepSeek helps your applications understand context and hold natural, dynamic conversations.

What is Dify?

Dify is an open-source platform for developing generative AI applications. You can build chatbots, knowledge assistants, and other AI tools, integrate models like Novita AI’s DeepSeek, and deploy with minimal coding.

Key Features of Dify:

  • Visual Development: Dify’s drag-and-drop interface lets you create and deploy applications without extensive coding.
  • Knowledge Base Augmentation: Improve responses with Retrieval-Augmented Generation (RAG), which connects your AI to internal documents or specialized data for contextual answers.
  • Workflow Expansion: Add logic to your apps with functional nodes, and connect third-party platforms for additional functionality.
  • Data Insights: Track metrics such as conversations, engagement, and response quality. Dify also integrates with analytics platforms to monitor and improve performance.

Prerequisites

Before you begin, make sure you have:
  • Novita AI LLM API Key:
    • Visit Novita AI’s website and create an account.
    • After logging in, go to the Key Management page to generate your API Key. You need this key to connect Novita AI’s models to Dify.
      Novita AI key management
  • Dify Account:
    • Sign up for a Dify account at Dify.ai.

Integration Steps

Connect Novita AI to Dify

To connect Novita AI’s models with Dify:
  • Log in to your Dify account.
  • Click your profile icon or name in the top-right corner and select Settings.
  • In the Model Providers section, find Novita AI in the list.
  • Paste your Novita AI API Key into the field and click Save.
You now have access to DeepSeek V4 Pro and other Novita AI models in Dify.

Create a DeepSeek AI Application

Once the integration is complete, you can create an application powered by DeepSeek V4 Pro:
  • From the Dify homepage, click Create Blank App in the left sidebar.
  • Choose Chatbot as the application type.
    Choose Chatbot as the application type
  • Name your app (e.g., “DeepSeek V4 Pro Bot”) and click Create.
    Give your app a name and click Create.
  • From the Model dropdown, select Novita AI DeepSeek V4 Pro.
    From the Model dropdown, select Novita AI DeepSeek R1

Enable Knowledge Base for Enhanced Text Analysis

To improve response accuracy, add a knowledge base. With Retrieval-Augmented Generation (RAG), your AI can access documents and generate more relevant responses.
1

Create a Knowledge Base

  • In Dify, go to the Knowledge Base section and click Create Knowledge.
    go to the Knowledge Base section and click Create Knowledage.
  • Upload documents (e.g., guides, FAQs, manuals) that provide relevant information for your AI to use.
    Upload documents
  • Use Parent-Child Segmentation Mode to maintain document hierarchy and context so DeepSeek processes the content correctly and understands relationships between sections.
    Use Parent-Child Segmentation Mode
2

Integrate the Knowledge Base into Your AI App

  • In your chatbot’s Context Settings, click Add Knowledge Base.
    Add Knowledge Base
  • Choose the documents you uploaded and add them to your app’s context to improve its responses.
3

Share Your AI Application

Once your app is ready, you can share or embed it on external platforms:
Share Your AI Application
  • Public Link: Generate a public link for others to access your application.
  • Embed on Websites: Embed your app on your website using Dify’s embed code.

Enhance AI Capabilities with Workflow-based Applications

If you need more than a chatbot, Dify supports workflow-based applications, which let you add custom business logic and extend your AI’s capabilities with functional nodes.
  • Choose Workflow as the application type.
  • Use drag-and-drop nodes to define your app’s behavior based on conditions or actions.
  • Integrate external APIs (e.g., Google Search, databases) to give your AI richer data to process.
    Workflow-based Applications
Integrating Novita AI’s DeepSeek V4 Pro with Dify provides a platform for building advanced AI applications. With multi-turn reasoning, your app can hold dynamic, context-aware conversations, making it effective for chatbots, knowledge assistants, and more.
Last modified on November 11, 2026