Skip to content

Simple OpenAI proxy that helps you records and review your prompts

Notifications You must be signed in to change notification settings

pvasek/promptlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

promptlog

Simple UI for your OpenAI prompts.

It's just a proxy server to the OpenAI API endpoint that logs all the prompts and responses. The headers are not stored which means it doesn't store your OpenAI API key.

Limitations

Only chat API endpoint is supported (the server logs everything but UI was tested/prepared only for chat endpoint). Only SQL Server is supported right now.

Configuration

To prepare your deployment you need to configure by using system environment variables:

  • PromptLog__ConnectionString - the connection string to SQL Server database.
  • PromptLog__OpenAIApiBase - the endpoint to your OpenAI API. Default: https://api.openai.com/

Local development

For the configuration, you can use appsettings.Development.json file or user-secrets. In this case, the configuration keys are the following:

  • PromptLog:ConnectionString - the connection string to SQL Server database.
  • PromptLog:OpenAIApiBase - the endpoint to your OpenAI API. Default: https://api.openai.com/

About

Simple OpenAI proxy that helps you records and review your prompts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published