Skip to content

How to provide function call output for OpenAi? #26

@zim32

Description

@zim32

I have troubles providing function call result. From OpenAi docs there should be something like:

      input_list.push({
          type: "function_call_output",
          call_id: item.call_id,
          output: json.dumps({
            horoscope
          })
      })

But I don't see anything like that. I can send only { role, content } message...

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