Skip to content

Allow passing room_id within extra body to keep track of the conversations #218

Description

@jriveromuniz

Is there an existing issue for this?

  • I confirm that I have not found an existing or similar issue.

Problem (why)

When we use model.ask, we pass an insight_id as a parameter. This will :

  1. Retrieve the existing conversation associated with that insight_id.
  2. Relate each new message to that same insight_id.

This way, all messages are correctly grouped within the same conversation or "room." The problem we're seeing is that if we use the OpenAI client and pass the insight_id within an extra_body, the messages are not correctly related to that insight_id. As a result, instead of continuing the existing conversation, new, separate conversations are created."

Impact (who)

This change gives all users an option to keep track of the conversations within a room using the SDK.

Existing

OpenAIEndpoints.java

Requirements (what)

  • Get 'room_id' parameter and assign it to the insight_id value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions