mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-16 22:48:09 +01:00
basic react API
This commit is contained in:
11
README.md
11
README.md
@@ -39,10 +39,13 @@ Run query get_tool_data to see the data the tool has collected so far.
|
||||
- `poetry run uvicorn api.main:app --reload` to start the API server.
|
||||
- Access the API at `/docs` to see the available endpoints.
|
||||
|
||||
## UI
|
||||
TODO: Document /frontend react app running instructions.
|
||||
|
||||
## TODO
|
||||
- The LLM prompts move through 3 mock tools (FindEvents, SearchFlights, CreateInvoice) but I should make them contact real APIs.
|
||||
- Might need to abstract the json example in the prompt generator to be part of a ToolDefinition (prevent overfitting to the example).
|
||||
- I need to build a chat interface so it's not cli-controlled. Also want to show some 'behind the scenes' of the agents being used as they run.
|
||||
- What happens if I don't want to confirm a step, but instead want to correct it? TODO figure out
|
||||
- What happens if I am at confirmation step and want to end the chat (do I need some sort of signal router?)
|
||||
- Currently hardcoded to the Temporal dev server at localhost:7233. Need to support options incl Temporal Cloud.
|
||||
- Currently hardcoded to the Temporal dev server at localhost:7233. Need to support options incl Temporal Cloud.
|
||||
- UI: A bit ugly
|
||||
- UI: Tool Confirmed state could be better represented
|
||||
- UI: 'Start new chat' button needs to handle better
|
||||
Reference in New Issue
Block a user