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 persistence to Xef Server #314

Merged
merged 3 commits into from Aug 11, 2023
Merged

Add persistence to Xef Server #314

merged 3 commits into from Aug 11, 2023

Conversation

Montagon
Copy link
Contributor

@Montagon Montagon commented Aug 11, 2023

This PR adds persistence to the Xef Server module.

  • Adds a docker-compose file to manage two databases. One for the Xef Server (xef-db-postgres) and another for the VectorStore (xef-vector-store-postgres).
  • Adds support for configuration, having one for xef-db-postgres and another one for the xef-vector-store-postgres.
  • Adds migration support for the xef-db-postgres.
  • Adds a PersistenceService class structure with one implementation for PostgreSQL (PostgresXefService). From configuration, this can be changed by updating the type in the config. More integrations will be added in the future.

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.

Outstanding work @Montagon 🙌
Let me know when this is ready for review.

@Montagon Montagon reopened this Aug 11, 2023
* updated openAI defaults

* update OpenAI and java

* updated examples and fixed scala
@Montagon Montagon marked this pull request as ready for review August 11, 2023 14:19
@Montagon Montagon changed the title [DRAFT] Add persistence to server Add persistence to server Aug 11, 2023
@Montagon Montagon changed the title Add persistence to server Add persistence to Xef Server Aug 11, 2023
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.

thanks @Montagon !

@raulraja raulraja merged commit c068a06 into main Aug 11, 2023
5 checks passed
@raulraja raulraja deleted the add-persistence-to-server branch August 11, 2023 14:32
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.

None yet

3 participants