rho715/private_model
0
Prompt Bookmarks
This is a Python script that utilizes the GPT-3.5 Turbo and GPT-4 models from OpenAI through the Azure Chat API to generate responses based on different prompt types. It also includes a Gradio interface for easy interaction with the models.
Available Prompt Types
- "ASK": Ask a question or make a general inquiry to the selected model.
- "PROMPT EDITOR": Ask AI to edit System Message
- "TRANSLATE to KOR": Translate text to Korean.
- "TRANSLATE to ENG": Translate text to English.
- "ENGLISH GRAMMAR CHECKER": Check English grammar with explanations.
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
- https://medium.com/@maciej.skorupka/langchain-azureopenai-and-azurechatopenai-7d2b08ad0515
