LlamaIndexTS icon indicating copy to clipboard operation
LlamaIndexTS copied to clipboard

Retrieve OpenAIAgent from existing assistant with assistant_id or thread_id

Open illusion77 opened this issue 11 months ago • 0 comments

Like the implemented feature in llama-index python version

agent = OpenAIAssistantAgent.from_existing(
    assistant_id="asst_xxx",
    thread_id="thread_xxx", # thread_id: Optional[str] = None,
    tools=[query_engine_tool],
    verbose=True,
    run_retrieve_sleep_time=1.0,
)

illusion77 avatar Mar 03 '24 21:03 illusion77