Giter Club home page Giter Club logo

gpt4-playground's People

Contributors

marcoworms avatar nashex avatar timweyand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gpt4-playground's Issues

Markdown tables not supported

Hello again,

I noticed that when I ask the model for a markdown table the output is in text and it doesn't format to a table structure.

Example:

Here is a table in Markdown format with the top 5 countries and their fictional security levels:

"| Rank | Country     | Security Level |
|------|-------------|----------------|
| 1    | Switzerland | Very High      |
| 2    | Denmark     | Very High      |
| 3    | Finland     | Very High      |
| 4    | Sweden      | High           |
| 5    | Norway      | High           |"

the output should be like an actual table (visually)

Response stream not working

Hi,

Thanks again for this wonderful tool.
I noticed that you have two files "OpenAI.ts" and "OpenAIProvider.tsx" , I suppose the second is to keep track of conversation, although, the interface is frozen until the response is completely done then the entire message is printed. I was thinking a good way is to print word by word as they come from the stream.
I tried to edit this but can't seem to solve it.

Changing the response message of the model

Hello,

Thanks for this great tool, I am actually trying to adapt your code for Azure OpenAI API, and I am using the chat completion models, here is the API Response :

{
 'id': 'chatcmpl-6p9XYPYSTTRi0xEviKjjilqrWU2Ve',
 'object': 'chat.completion',
 'created': 1677649420,
 'model': 'gpt-3.5-turbo',
 'usage': {'prompt_tokens': 56, 'completion_tokens': 31, 'total_tokens': 87},
 'choices': [
   {
    'message': {
      'role': 'assistant',
      'content': 'The 2020 World Series was played in Arlington, Texas at the Globe Life Field, which was the new home stadium for the Texas Rangers.'},
    'finish_reason': 'stop',
    'index': 0
   }
  ]
}

Can you please tell me how to modify the message object you wrote (id, role, content) so that it takes into account the new reponse.

Thanks,

OpenAI Key entered and no GPT 4 to see anymore

Hello together
Interesting. I entered the OpenAI Key and it shows only GPT 3 and no GPT 4. You can not select GPT 4.
Why ?
Can you help me there ?
I still think gpt4-playground is great because you don't have to log in. Thanks a lot

Greetings Michael

How can I limit the number of words that ChatGPT will read back from previous messages?

I want it to function like the regular user version of ChatGPT. In the regular version, ChatGPT will read back previous messages but only to a certain limit, not the entire conversation. This is to avoid situations where the previous conversation is too long and ChatGPT no longer has enough tokens to generate a response, leading to a refusal to respond. Additionally, reading back the entire conversation every time a new message is entered is also very token-consuming."

Message Container Scrolls Up in Playground

Hello again,

I noticed that when I'm using the playground interface, and I write a long message, the box keeps scrolling up each time I type a new character at the end.

Thanks.

Unexpected end of JSON input

Hi, I am grateful for the tool because I share my account with others. This allows me to use GPT via API, which is extremely helpful. But since yesterday, I could not be able to use it. The error goes: Unexpected end of JSON input.

Thanks for solving the issue.

Please bring back the ability to delete messages

image
20 minutes ago there was a cross with which you could delete an unnecessary message, but now apparently nothing at all. And as I understand it, after each update, my chat history disappears

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.