From a7c6341a2c697e9b5ee32c95343878ac1671a042 Mon Sep 17 00:00:00 2001 From: Peter Banda Date: Tue, 16 May 2023 13:10:14 +0200 Subject: [PATCH 1/3] Fixing a typo --- .../io/cequence/pineconeopenai/demo/PineconeOpenAIDemo.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/io/cequence/pineconeopenai/demo/PineconeOpenAIDemo.scala b/src/main/scala/io/cequence/pineconeopenai/demo/PineconeOpenAIDemo.scala index 9ebd36d..7eb55c7 100644 --- a/src/main/scala/io/cequence/pineconeopenai/demo/PineconeOpenAIDemo.scala +++ b/src/main/scala/io/cequence/pineconeopenai/demo/PineconeOpenAIDemo.scala @@ -74,7 +74,7 @@ object PineconeOpenAIDemo extends PineconeOpenAIDemoApp { // create a service for a given index name pineconeVectorService <- createPineconeVectorService(indexName) - // take the first 1000 entries and extract text, result is an iterator + // take the first 1000 entries and extract the text. the result is an iterator trecTextsIterator = scala.io.Source.fromFile("src/main/resources/trec-train.json") .getLines() .take(1000) From ce8a8adcc5243125d4abdd451466418fba1dd292 Mon Sep 17 00:00:00 2001 From: Peter Banda Date: Tue, 16 May 2023 13:11:12 +0200 Subject: [PATCH 2/3] Version bump - 0.1.0 --- README.md | 2 +- build.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d15d55e..3b595c9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Pinecone + OpenAI Scala Client - Demo/Seed Project -[![version](https://img.shields.io/badge/version-0.0.1-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT) [![Twitter Follow](https://img.shields.io/twitter/follow/0xbnd?style=social)](https://twitter.com/0xbnd) +[![version](https://img.shields.io/badge/version-0.1.0-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT) [![Twitter Follow](https://img.shields.io/twitter/follow/0xbnd?style=social)](https://twitter.com/0xbnd) This is a ready-to-fork, example/demo project demonstrating how to use [Pinecone](https://pinecone.io) vector database with [OpenAI](https://openai.com) embeddings in Scala using [Pinecone Scala Client](https://github.com/cequence-io/pinecone-scala) and [OpenAI Scala Client](https://github.com/cequence-io/openai-scala-client). diff --git a/build.sbt b/build.sbt index 43864c8..2a0d09e 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ organization := "io.cequence" name := "pinecone-openai-scala-demo" -version := "0.0.1" +version := "0.1.0" // Supported Scala versions val scala212 = "2.12.15" From e7b031bba0b87f090e894bf375c86903f1ecee2a Mon Sep 17 00:00:00 2001 From: peterbanda Date: Tue, 16 Jul 2024 12:17:43 +0200 Subject: [PATCH 3/3] Archived --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 3b595c9..e20c783 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ # Pinecone + OpenAI Scala Client - Demo/Seed Project [![version](https://img.shields.io/badge/version-0.1.0-green.svg)](https://cequence.io) [![License](https://img.shields.io/badge/License-MIT-lightgrey.svg)](https://opensource.org/licenses/MIT) [![Twitter Follow](https://img.shields.io/twitter/follow/0xbnd?style=social)](https://twitter.com/0xbnd) +--- + +### This project is archived! It has been moved to the main Pinecone Scala Client repository as a module [openai-examples](https://github.com/cequence-io/pinecone-scala/tree/master/openai-examples) + +--- + This is a ready-to-fork, example/demo project demonstrating how to use [Pinecone](https://pinecone.io) vector database with [OpenAI](https://openai.com) embeddings in Scala using [Pinecone Scala Client](https://github.com/cequence-io/pinecone-scala) and [OpenAI Scala Client](https://github.com/cequence-io/openai-scala-client). The demo app can be found in [PineconeOpenAIDemo](./src/main/scala/io/cequence/pineconeopenai/demo/PineconeOpenAIDemo.scala).