Dr Nic Williams

Results 138 issues of Dr Nic Williams

From @andyatkinson in #2 > Also, re: indexes, passing on something else useful in case you didn't already know: refreshing a materialized view ideally is done "concurrently", so that other...

I was running through notebooks/QueryOpenAI.ipynb and I get the following error during `from prompt_lib.backends import openai_api`: ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) [/Users/drnic/workspace/aiagents/self-refine/prompt-lib/notebooks/QueryOpenAI.ipynb](https://file+.vscode-resource.vscode-cdn.net/Users/drnic/workspace/aiagents/self-refine/prompt-lib/notebooks/QueryOpenAI.ipynb) Cell 5 line 1 ---->...

Related to #16 Implements provider selection based on environment variables and introduces `--api-key` command-line option. - **Provider Selection Logic**: Modifies `Promptcraft::Llm#initialize` to automatically select the provider based on the presence...

https://docs.brew.sh/Formula-Cookbook#ruby-gem-dependencies

* If user only has `$OPENAI_API_KEY` then use `--provider openai` * If user has no env vars... :( * Allow `--api-key` if `--provider` provided

Currently we assume stdin is a stream of conversations. Perhaps it could be the new prompt. Perhaps we require `-p -` or `-c -` to indicate who gets STDIN?