langchain.js
    Preparing search index...
    • Get a session for the Portkey API. If one already exists with the same options, it will be returned. Otherwise, a new session will be created.

      Parameters

      • options: PortkeyOptions = {}

      Returns PortkeySession