Skip to content

Commit

Permalink
Adds Vertex AI embeddings class (#129)
Browse files Browse the repository at this point in the history
* Added Vertex AI embeddings class

* Updated poetry lock

* Updated CHANGELOG
  • Loading branch information
alexthomas93 authored Sep 17, 2024
1 parent b90003b commit 66231f8
Show file tree
Hide file tree
Showing 6 changed files with 554 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Next

### Added
- Introduced a new Vertex AI embeddings class for generating text embeddings using Vertex AI.
- Updated documentation to include OpenAI and Vertex AI embeddings classes.
- Added google-cloud-aiplatform as an optional dependency for Vertex AI embeddings.

## 0.6.2

## 0.6.1
Expand Down
12 changes: 12 additions & 0 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,18 @@ SentenceTransformerEmbeddings
.. autoclass:: neo4j_graphrag.embeddings.sentence_transformers.SentenceTransformerEmbeddings
:members:

OpenAIEmbeddings
================

.. autoclass:: neo4j_genai.embeddings.openai.OpenAIEmbeddings
:members:

VertexAIEmbeddings
==================

.. autoclass:: neo4j_genai.embeddings.vertexai.VertexAIEmbeddings
:members:

**********
Generation
**********
Expand Down
Loading

0 comments on commit 66231f8

Please sign in to comment.