run-llama/LlamaIndexTS

Retrieve OpenAIAgent from existing assistant with assistant_id or thread_id

Open

#600 opened on Mar 3, 2024

 (0 comments) (1 reaction) (0 assignees)TypeScript (524 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (3,078 stars)
PR merge metrics
 (PR metrics pending)

Description

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,
)

Contributor guide