deedy5 / duckduckgo_search

Search for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com search engine. Downloading files and images to a local hard drive.
MIT License
927 stars 117 forks source link

Add new chat functionality #227

Closed mplawner closed 2 weeks ago

mplawner commented 2 weeks ago

Added new features to chat: -m/--model model selection -t/--text input text without -t/--text reads from standard input. E.g. echo "Tell me a joke." | ddgs chat -m "gpt-3.5"

deedy5 commented 2 weeks ago

Thanks :+1: , but I don't think the chat will be used by anyone in that way.

PeteHemery commented 2 weeks ago

@deedy5 I actually made a similar modification to allow multiline input usage. Will open a seperate PR

deedy5 commented 2 weeks ago

multiline input usage?

PeteHemery commented 2 weeks ago

Yeah, if you wanted to paste multiple lines of code, or paragraphs, for example. PR 230