Skip to content

This repository contains an example implementation of the KoboldCpp API using HTML, JavaScript, and CSS. The project demonstrates how to interact with the KoboldCpp API to generate text based on a provided prompt.

License

Notifications You must be signed in to change notification settings

altkriz/koboldapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

KoboldCpp API Test

This repository contains an example implementation of the KoboldCpp API using HTML, JavaScript, and CSS. The project demonstrates how to interact with the KoboldCpp API to generate text based on a provided prompt.

KoboldCpp API Test

KoboldCpp Logo

This repository contains an example implementation of the KoboldCpp API using HTML, JavaScript, and CSS. The project demonstrates how to interact with the KoboldCpp API to generate text based on a provided prompt.

Features

  • HTML Interface: The project provides a simple HTML interface for users to input a prompt and generate text using the KoboldCpp API.
  • JavaScript Functionality: JavaScript is used to handle user input, make asynchronous requests to the KoboldCpp API, and display the generated text.
  • CSS Styling: CSS styling is applied to the HTML elements to improve the visual appearance of the interface.
  • Error Handling: The JavaScript code includes error handling to manage cases where requests to the API fail or encounter errors.
  • Responsive Design: The interface is designed to be responsive and work well on various screen sizes.

Usage

  1. Clone the repository to your local machine.
  2. Open the index.html file in a web browser.
  3. Enter a prompt in the textarea provided.
  4. Click the "Generate Text" button to generate text based on the prompt.
  5. View the generated text displayed below the textarea.

Contributions

Contributions to this repository are welcome. Feel free to fork the repository, make changes, and submit pull requests with your improvements or additional features.

License

This project is licensed under the MIT License. You are free to use, modify, and distribute the code as per the terms of the license.

For more information and support, refer to the KoboldCpp API documentation.

About

This repository contains an example implementation of the KoboldCpp API using HTML, JavaScript, and CSS. The project demonstrates how to interact with the KoboldCpp API to generate text based on a provided prompt.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages