jupyter-ai icon indicating copy to clipboard operation
jupyter-ai copied to clipboard

Base API URL for Embedding Model

Open S1M0N38 opened this issue 1 year ago • 1 comments
trafficstars

Problem

I think it could be useful to be able to setup up Base API URL for Embedding Model as well. For example if we use a custom Base API URL in Language Model to query OpenAI gpt-4, it is reasonable that we want to use the same custom Base API URL when hitting /embeddings endpoint.

Proposed Solution

Screenshot 2024-01-19 at 11 50 22

From the frontend prospective I think that a new text field, similar to the Language model Base API URL is consistent with the design principle.

I'm not sure sure about the backend implementation.

S1M0N38 avatar Jan 19 '24 10:01 S1M0N38

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

welcome[bot] avatar Jan 19 '24 10:01 welcome[bot]

Thanks for reporting this issue! Sorry this went undiscovered for so long. I've assigned another contributor to this issue and added it to a milestone for tracking.

dlqqq avatar Nov 27 '24 19:11 dlqqq