Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sukhbinder/llm-duckduckgo-chat
llm plugin to chat with DuckDuckGo AI Chat Service
https://github.com/sukhbinder/llm-duckduckgo-chat
Last synced: 2 days ago
JSON representation
llm plugin to chat with DuckDuckGo AI Chat Service
- Host: GitHub
- URL: https://github.com/sukhbinder/llm-duckduckgo-chat
- Owner: sukhbinder
- License: apache-2.0
- Created: 2024-11-30T06:40:16.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-30T08:13:55.000Z (2 months ago)
- Last Synced: 2025-01-05T23:24:06.933Z (29 days ago)
- Language: Python
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# llm-duckduckgo-chat
[![PyPI](https://img.shields.io/pypi/v/llm-duckduckgo-chat.svg)](https://pypi.org/project/llm-duckduckgo-chat/)
[![Changelog](https://img.shields.io/github/v/release/sukhbinder/llm-duckduckgo-chat?include_prereleases&label=changelog)](https://github.com/sukhbinder/llm-duckduckgo-chat/releases)
[![Tests](https://github.com/sukhbinder/llm-duckduckgo-chat/actions/workflows/test.yml/badge.svg)](https://github.com/sukhbinder/llm-duckduckgo-chat/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/sukhbinder/llm-duckduckgo-chat/blob/main/LICENSE)LLM plugin for talking to models exposed by DuckDuckGo AI Chat service.
## Installation
Install this plugin in the same environment as [LLM](https://llm.datasette.io/).
```bash
llm install llm-duckduckgo-chat
```
## UsageTo see exposed models
```bash
llm models
```Available models:
- gpt4o
- claude3
- llama70b
- mixtralTo chat with a model
```bash
llm -m gpt4o "What is DuckDuckGo"
```## Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd llm-duckduckgo-chat
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
llm install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```