You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

livekit-plugins-dify

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

livekit-plugins-dify

Dify plugin for LiveKit Agents

0.3.0
Source
pipPyPI
Maintainers
1

LiveKit Plugins Dify

LLM inference implemention from Dify API

Usage:

    agent = VoicePipelineAgent(
        vad=ctx.proc.userdata["vad"],
        stt=deepgram.STT(model=dg_model),
        llm=dify.LLM(
            base_url="Your dify API",
            api_key="Your Dify App API Key",
        ),
        tts=openai.TTS(),
        chat_ctx=initial_ctx,
    )

Notes: Do not use initial_ctx = llm.ChatContext().append to add system prompt or context. Implement these in your Dify.

Only 'Chatflow' is supported.

Keywords

webrtc

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts