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

Add Server module #299

Merged
merged 12 commits into from
Aug 9, 2023
Merged

Add Server module #299

merged 12 commits into from
Aug 9, 2023

Conversation

Montagon
Copy link
Contributor

@Montagon Montagon commented Aug 7, 2023

The objective of this PR is to add a new module in Xef that will allow the use of the library as an API by exposing different endpoints.

This PR will add the endpoint of the PromptMessage, supporting OpenAI. The rest of the endpoints will be added in future PRs.

  • Provisioning.
  • API Header for setting the provider (OpenAI, GCP...), model and auth token.
  • Endpoint for chat/completion. With the same schema as OpenAI.
  • Add docker support for running the server. It will be added in a new PR.

raulraja
raulraja previously approved these changes Aug 7, 2023
@Montagon Montagon changed the title [DRAFT] Add Server module Add Server module Aug 9, 2023
@Montagon Montagon marked this pull request as ready for review August 9, 2023 07:48
javipacheco
javipacheco previously approved these changes Aug 9, 2023
Copy link
Contributor

@javipacheco javipacheco left a comment

Choose a reason for hiding this comment

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

Just a minor suggestions 🚀

Copy link
Contributor

@raulraja raulraja left a comment

Choose a reason for hiding this comment

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

Thank you @Montagon , excited about the upcoming Xef server!

@raulraja raulraja merged commit fe1cca3 into main Aug 9, 2023
5 checks passed
@raulraja raulraja deleted the add-xef-server-module branch August 9, 2023 21:03
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

Successfully merging this pull request may close these issues.

3 participants