Skip to content

Conversation

@anders-swanson
Copy link
Contributor

Updates the OCI GenAI module to include an OCI GenAI Cohere Chat Model.

Note that the documentation is structured to support the addition of OCI GenAI LLama chat model in future pull requests.

@anders-swanson
Copy link
Contributor Author

Also, note that Cohere supports tools. I'd like to add this in another pull request.

@markpollack markpollack self-assigned this Oct 29, 2024
@markpollack
Copy link
Member

Thanks again. I'm stuck getting access to oracle models. It's the odd situation of 'take my money please'. My account is tied to a region that doesn't offer AI services and I can't change the region nor create a new account as the system detects the same credit card is being used. Any advice?

@anders-swanson
Copy link
Contributor Author

Hi Mark,

I'm happy to show you on my OCI account, if that works for you. With OCI Free Tier, you only get one region subscription (paygo you get more).

Signed-off-by: Anders Swanson <anders.swanson@oracle.com>
import java.security.KeyPair;
import java.security.KeyPairGenerator;

import com.oracle.bmc.http.client.pki.Pem;
Copy link
Member

Choose a reason for hiding this comment

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

missing dep, added

		<dependency>
			<groupId>com.oracle.oci.sdk</groupId>
			<artifactId>oci-java-sdk-common</artifactId>
			<version>${oci-sdk-version}</version>
			<scope>test</scope>
		</dependency>

@markpollack
Copy link
Member

thanks for the great contribution!

merged in fb65ed0

@markpollack markpollack closed this Nov 6, 2024
@anders-swanson anders-swanson deleted the oci-chat-model branch November 7, 2024 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants