8000 Allow select conversation settings using command line · Issue #93 · j178/chatgpt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Allow select conversation settings using command line #93
Open
@n2tr2

Description

@n2tr2

Hello,

My use case is the following: I use the OpenAI API or the Claude API, depending on the type of problem I want to solve. Currently, the chatgpt config only allows having a single DefaultConversation described, which doesn't allow switching between different providers without changing the config.

Am I missing something?
What do you think about making it possible to specify different default conversation settings related to the described providers? Something like

{  
    "version": 3,
    "providers": [
      {
        "type": "openai",
        "name": "openai-1",
        "base_url": "https://api.openai.com/v1"
      },
      {
        "type": "claude",
        "name": "claude-1",
        "base_url": "https://api.anthropic.com/v1"
      }
    ],
    "conversation_settings": [
      {
        "provider": "openai-1",
        "model": "gpt-4-turbo",
        "prompt": "custom",
        "context_length": 6,
        "stream": true,
        "temperature": 1,
        "max_tokens": 4096
      },
      {
        "provider": "claude-1",
        "model": "claude-3-opus-20240229",
        "prompt": "default",
        "context_length": 6,
        "stream": true,
        "temperature": 1,
        "max_tokens": 4096
      }
    ],
}

and then

./chatgpt --provider claude-1 --prompt default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0