Skip to content

Conversation

clinia-brando
Copy link

Summary

  • Adds openai embedder implemention
  • Changes the pattern of the openai provider to match the one of vercel/aisdk e.g.
	// Initialize the OpenAI provider
	provider := openai.NewProvider()

	// Create a model
	model := provider.NewLanguageModel("gpt-4o-mini")
  • Refactor openai LLM to use provider config; default model init updated.

How was it tested?

Added unit tests and examples

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers under the terms of the Apache 2 License.

By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the Community Contribution License.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant