Skip to content

Difference response between requests from openai package and api.openai.com #181

@nghlt

Description

@nghlt

Hi,
This is a simple example that return difference response between request from openai package and through the HTTP request

Human: "Give me an example sentence for the word: python"

> package:  'The python coiled itself around the tree branch.'
> HTTP request: 'Example: I am learning to code in Python this summer.'

Sometime, the HTTP response contains other words than Example, such as Computer, AI, Bot, Robot, ...
I wonder what is parameter to exclude these prefix in the response from HTTP request?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions