Skip to content

Temperature should be a float #52

@esgn

Description

@esgn

Using Claude temperature is a float whose minimum value is 0.0 and maximum value is 1.0 : https://platform.claude.com/docs/en/api/completions/create?utm_source=chatgpt.com#create.temperature

Here https://github.com/ignfab/demo-geocontext/blob/a778522bb36e9ef6d850a8c61e38812088ec3214/agent.py#L17C1-L17C46 TEMPERATURE is cast to integer.

Temperature seems to be a float for all other existing models

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions