run-llama/LlamaIndexTS

Retrieve OpenAIAgent from existing assistant with assistant_id or thread_id

Aperta

#600 aperta il 3 mar 2024

 (0 commenti) (1 reazione) (0 assegnatari)TypeScript (524 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (3078 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor