Skip to content

Repository files navigation

Embedding Playground

This project provides an interactive playground for comparing text similarities using various embedding models.

Features

  • Compare the similarity between two texts using embeddings
  • Support for multiple providers (OpenAI, Voyage AI)
  • Visual representation of similarity using a gauge
  • Vector preview functionality
  • API key management for different providers

Getting Started

  1. Clone the repository
  2. Install dependencies: bun i
  3. Run the development server: bun run dev
  4. Open your browser and navigate to http://localhost:5173

Usage

  1. Select a provider from the dropdown menu
  2. Choose an embedding model
  3. Enter your API key for the selected provider
  4. Input two texts you want to compare
  5. Click "Calculate Similarity" to see the results

Technologies Used

  • React
  • TypeScript
  • Remix
  • Tailwind CSS
  • Radix UI

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the GPL-3.0 License.

Releases

Packages

Used by

Contributors

Languages