Skip to main content

LLM plugin for Duckduckgo AI Chat service

Project description

llm-duckduckgo-chat

PyPI Changelog Tests License

LLM plugin for talking to models exposed by DuckDuckGo AI Chat service.

Installation

Install this plugin in the same environment as LLM.

llm install llm-duckduckgo-chat

Usage

To see exposed models

llm models

Available Models

Model Performance Best For Features
GPT-4o mini Fast Quick answers & basic tasks • General-purpose
Claude 3 Haiku Balanced Technical discussions • Good context handling
• Structured responses
Llama 3.3 Code-optimized Programming tasks • Documentation analysis
• Code generation
Mistral Small 3 Knowledge-focused Complex topics • Detailed explanations
• Deep analysis
o3-mini Fastest Simple queries • Lightweight
• Quick responses

To chat with a model

llm -m gpt4o "What is DuckDuckGo"

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-duckduckgo-chat
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

python -m pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_duckduckgo_chat-0.1.6.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_duckduckgo_chat-0.1.6-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file llm_duckduckgo_chat-0.1.6.tar.gz.

File metadata

  • Download URL: llm_duckduckgo_chat-0.1.6.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for llm_duckduckgo_chat-0.1.6.tar.gz
Algorithm Hash digest
SHA256 7dd56666a14a84407abbb2c7bb90f947c4bff240fcab0f87dc77a73ec3866f6e
MD5 8a6d61a1721952dc5f414af9c318d1d7
BLAKE2b-256 124fa8705bc2dabaa53c279a58be81b5babc19f0ae17b2640eb39faf752f2ce9

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_duckduckgo_chat-0.1.6.tar.gz:

Publisher: publish.yml on sukhbinder/llm-duckduckgo-chat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_duckduckgo_chat-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_duckduckgo_chat-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e65ea3bbf41cb1b95c60a71ed946097095f1e798ced2392a5e2cb0a5bc14d535
MD5 1d22ec67d7c2fdef238e2b988de0f077
BLAKE2b-256 9855846011ee1f32b8dc92cb8703c89b5ad643cddbe638cdefe42fc973be3131

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_duckduckgo_chat-0.1.6-py3-none-any.whl:

Publisher: publish.yml on sukhbinder/llm-duckduckgo-chat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page