Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

wonderwhy-er/frontend-openai-testing

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frontend-openai-testing

Small playground to test calls to OpenAI from JavaScript Frontend

Why?

  • OpenAI playground itself is bit limited. For example you can't call image related requests from it
  • OpenAI Playground can't be extended with custom things
  • Doing it just from frontend minimizes things one needs to do this. You just need a browser and text editor to modify and use this, not need to install and run anything else
  • I use this to experiment on top by forking this repo

How to use

Its hosted using github pages here https://wonderwhy-er.github.io/frontend-openai-testing/

Follow the link and all steps of using it are explained there.

Validation of function call responses

In case of function call requests, responses will be validated using https://github.com/ajv-validator/ajv

It will just take parameters schema from your call, compile it with ajv, and then validate and show you errors

About

Small playground to test calls to OpenAI from JavaScript Frontend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.