https://github.com/abetlen/open-chat-playground
A simple single page user interface for OpenAI compatible web servers.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.8%) to scientific vocabulary
Repository
A simple single page user interface for OpenAI compatible web servers.
Basic Info
- Host: GitHub
- Owner: abetlen
- License: mit
- Language: TypeScript
- Default Branch: main
- Homepage: https://abetlen.github.io/open-chat-playground/
- Size: 1.17 MB
Statistics
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Open Chat Playground
Open Chat Playground is a single page application for experimenting with OpenAI /v1/chat/completion compatible web servers.
It provides a few additional features over OpenAI's Chat Playground including:
- Markdown Rendering
- Tool Calling
- Image Content
- Ability to call other backends
- Dark Mode
Try out the hosted version
Setup
bash
git clone git@github.com:abetlen/open-chat-playground.git
cd open-chat-playground
npm install
npm run dev
Then just visit http://localhost:3000/open-chat-playground in your browser.
Connecting to Other API Providers (Cohere, Groq, Anthropic)
Many hosted services do not provide an OpenAI-compatible API though it's still possible to connect to them. To connect to these providers you can use the LiteLLMs OpenAI Proxy and then set the url in the Chat Playground settings.
Example
```yaml
litellm.config.yaml
modellist: - modelname: command-r litellmparams: model: command-r apikey: "os.environ/COHEREAPIKEY" - modelname: groq litellmparams: model: groq/llama2-70b-4096 apikey: "os.environ/GROQAPI_KEY" ```
bash
pip install litellm
litellm --config litellm.config.yaml
License
This project is licensed under the MIT License.
Owner
- Name: Andrei
- Login: abetlen
- Kind: user
- Location: San Francisco, California
- Twitter: abetlen
- Repositories: 49
- Profile: https://github.com/abetlen
GitHub Events
Total
- Watch event: 2
- Fork event: 2
Last Year
- Watch event: 2
- Fork event: 2
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- actions/configure-pages v4 composite
- actions/deploy-pages v4 composite
- actions/setup-node v4 composite
- actions/upload-pages-artifact v3 composite
- 556 dependencies
- @headlessui/react ^1.7.18 development
- @tailwindcss/forms ^0.5.7 development
- @types/node ^20 development
- @types/react ^18 development
- @types/react-dom ^18 development
- @types/react-syntax-highlighter ^15.5.11 development
- autoprefixer ^10.0.1 development
- eslint ^8 development
- eslint-config-next 14.1.3 development
- postcss ^8 development
- tailwindcss ^3.3.0 development
- typescript ^5 development
- @radix-ui/react-separator ^1.0.3
- @radix-ui/react-slot ^1.0.2
- class-variance-authority ^0.7.0
- clsx ^2.1.0
- lucide-react ^0.352.0
- next 14.1.3
- next-themes ^0.2.1
- openai ^4.28.4
- react ^18
- react-dom ^18
- react-markdown ^9.0.1
- react-syntax-highlighter ^15.5.0
- rehype-katex ^7.0.0
- remark ^15.0.1
- remark-gfm ^4.0.0
- remark-html ^16.0.1
- remark-math ^6.0.0
- tailwind-merge ^2.2.1
- tailwindcss-animate ^1.0.7
