Skip to content

Allow loading custom prompts from local file - #351

Open
joeldrotleff wants to merge 2 commits into
jackMort:mainfrom
joeldrotleff:custom-prompts-local
Open

joeldrotleff wants to merge 2 commits into
jackMort:mainfrom
joeldrotleff:custom-prompts-local

Conversation

@joeldrotleff

@joeldrotleff joeldrotleff commented Dec 20, 2023

Copy link
Copy Markdown

Summary

predefined_chat_gpt_prompts can now load a CSV file from a local path as well as a web URL. The loader expands paths such as ~ and $HOME, uses cat for an absolute local path, and keeps curl for web URLs.

Related context

@kohane27

Copy link
Copy Markdown

#52 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants