-
Notifications
You must be signed in to change notification settings - Fork 157
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 oci gen ai support #133
base: main
Are you sure you want to change the base?
Add oci gen ai support #133
Conversation
Hi @adrianotanaka, sorry for the delay on this PR. |
Thanks @smoya , please let me know if I can help with anything. |
Hey @adrianotanaka I'm really sorry for the late response. We were on focus mode for the vectorizer work. We are also figuring and add more structure to the way we want to interact with the community, and how to handle, contributions. Expect some new guides, and guidelines coming soon. Regarding your PR. You should not put SQL code directly in the https://github.com/timescale/pgai/blob/main/DEVELOPMENT.md#develop-sql-in-the-pgai-extension Give it a read, and please if you have any feedback please share. Since you're importing the https://github.com/timescale/pgai/blob/main/projects/extension/requirements.txt And add https://github.com/timescale/pgai/blob/main/projects/extension/sql/idempotent/001-openai.sql#L70 Once you have that, run Last thing (I think), you need to add some tests for the code, some docs about it: https://github.com/timescale/pgai/blob/main/projects/extension/sql/idempotent/001-openai.sql#L70 And you can follow the openAI's tests as a guide: https://github.com/timescale/pgai/blob/main/projects/extension/tests/test_openai.py Hope this helps, and sorry again for the late response. |
Adding support to OCI Gen AI Services https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service/
Just two simple functions:
oci_list_models -> Returns available model per region/compartment
oci_embed -> Return a vector from a string