twelvelabs-io / tl-jockey

Jockey is a conversational video agent.
50 stars 12 forks source link

Reusable environment for indexID + API on the server side and locally. #98

Open DmitriiTsy opened 3 hours ago

DmitriiTsy commented 3 hours ago

We need a setup that allows anyone to update the index and API key, enabling them to launch Jockey (backend + frontend) for customers in just a few minutes

DmitriiTsy commented 2 hours ago

I'm thinking of a 3-steps solution here:

  1. Frontend Provide two input fields (on the first main screen of Jockey frontend) : IndexID and APIKey. When users fill in these fields and press the button, a call will first be made to verify if this combination of IndexID and APIKey exists in Twelve Labs. If it does:
  2. Notify the user that verification is complete, and push these keys through a function to the server side.
  3. Launch the server container and notify the user that the container is available, allowing them to start chatting

@james-le-twelve-labs Let me know what do you think about this approach here

Screenshot 2024-11-05 at 3 43 09 PM