Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Falcon 7B service integration #13

Merged
merged 10 commits into from
Jun 27, 2023
Merged

Falcon 7B service integration #13

merged 10 commits into from
Jun 27, 2023

Conversation

biswaroop1547
Copy link
Collaborator

This PR helps integrate tiiuae/falcon-7b model as a prem-service.



if __name__ == "__main__":
uvicorn.run("main:app", host="0.0.0.0", port=8001)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Port should be always 8000

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it! will update

@filopedraz
Copy link
Collaborator

Great job @biswaroop1547


def get_application() -> FastAPI:
application = FastAPI(title="prem-chat", debug=True, version="0.0.1")
application.include_router(api_router, prefix="/api/v1")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We removed /api/ from the roure defintion. You can keep only /v1

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh cool! will update then

@filopedraz filopedraz merged commit 612bd1c into main Jun 27, 2023
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants