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

how to extend my project with phi-apis #1

Open
saakethch opened this issue Feb 24, 2024 · 3 comments
Open

how to extend my project with phi-apis #1

saakethch opened this issue Feb 24, 2024 · 3 comments

Comments

@saakethch
Copy link

saakethch commented Feb 24, 2024

i have tried to connect the apis with my existing db
dev_db = PgVectorDb(
name="ai-db", #f"{ws_settings.ws_name}-db",
enabled=ws_settings.dev_db_enabled,
pg_user="postgres",
pg_password="1234",
pg_database="postgres",
# Connect to this db on port 5432
host_port=5432,
)
I tried changing the image name but it didnt work.
Just to know is phidata saving conversations, eun data etc.. or any data when i follow the local installation of phi ai-api ?

PS: because I saw that api endpoints point to api.phidata for openai_conversation, embeddings, creating workspace/ assistant runs.

@saakethch
Copy link
Author

my projects docker compose:
worker:
build:
context: parg/to/phidata
dockerfile: Dockerfile
expose:
-8088

fastapi in dev resources changed to 8088

@ashpreetbedi
Copy link
Contributor

@saakethch wanna hop on the discord: https://discord.com/invite/4MtYHHrgA8

i can help there. api.phidata is only for monitoring, which is not mandatory. The assistant runs/logs and everything should be stored in your own postgres DB :)

@ashpreetbedi
Copy link
Contributor

You should be able to build everything without touching the api.phidata, that's a different product providing monitoring of ai apps

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

2 participants