Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building your own api endpoint around your agent . #1893

Open
benedictdebrah opened this issue Jan 27, 2025 · 4 comments
Open

Building your own api endpoint around your agent . #1893

benedictdebrah opened this issue Jan 27, 2025 · 4 comments

Comments

@benedictdebrah
Copy link

It seems the only option available is to use the playground or terminal.
can we have it in an option where you wrap it under an api endpoint ?

@willemcdejongh
Copy link

Hi @benedictdebrah Would you mind expanding a bit more on your intended use case?

@dirkbrnd
Copy link
Contributor

@benedictdebrah We have an API template you could look at https://docs.phidata.com/templates/agent-api/run-local

We are working on some simpler examples to get you started

@benedictdebrah
Copy link
Author

@willemcdejongh The intended use case is to have the agent under an api endpoint
@app.post("/chat")

where users can interact with it from the frontend

@benedictdebrah
Copy link
Author

@dirkbrnd Thanks I will look into that too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants