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.4.tar.gz (8.5 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.4-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_duckduckgo_chat-0.1.4.tar.gz
  • Upload date:
  • Size: 8.5 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.4.tar.gz
Algorithm Hash digest
SHA256 7d7fd9243ecfd68106d952661eea23fab95ce7aa6fd3a83b8cf671429b1201bf
MD5 9860b893e2b96fee7f8af93827bbea7f
BLAKE2b-256 68898a6e5b022a055f89775c62bf189f15145bbc007164a77b3c9ebb6d219c39

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_duckduckgo_chat-0.1.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_duckduckgo_chat-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 20562c46342efd8af64110f7deef28ea90062493952bbbe0f3f300c0339e2bc7
MD5 80ddb2d7597321c7c6323d8f71e8c69b
BLAKE2b-256 330f3869caf7057acab08c17c63af11ca5b2a75d24de8b6b2437f8af5a04f807

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_duckduckgo_chat-0.1.4-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