Initial commit for deployment

This commit is contained in:
Iyeoluwa Akinrinola
2025-05-09 15:41:16 +01:00
commit ac98999507
54 changed files with 4343 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
"""
Script to run the AI service.
"""
import uvicorn
import os
import sys
# Set environment variables for testing
os.environ['PINECONE_API_KEY'] = 'test-key'
os.environ['PINECONE_ENVIRONMENT'] = 'test-env'
os.environ['OPENAI_API_KEY'] = 'test-key'
# Run the service
if __name__ == "__main__":
print("Starting AI service on 0.0.0.0:5251")
uvicorn.run(
"ai_service.api:app",
host="0.0.0.0",
port=5251,
reload=True
)