Skip to content

Commit

Permalink
Updated README with pinecone index creation steps
Browse files Browse the repository at this point in the history
  • Loading branch information
josancamon19 committed Apr 26, 2024
1 parent 13b922b commit 2265449
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions apps/AppStandalone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,25 @@ Before starting, make sure you have the following installed:
```
Follow the prompts to select your project and target platforms (Android, iOS, Web).

5. **API Keys**:

5. **Pinecone Index**:
- If you don't have one yet, create a new [Pinecone](https://www.pinecone.io/) account.
- Navigate to the Pinecone Console and initiate a new index.
- Define the index name.
- Set the number of dimensions to `1,536`, as required for the `text-embedding-3-small` embeddings model.
- Keep the remaining settings as default and proceed with creation.
- Retrieve your index URL and namespace values, and update them in the environment variables file.

6. **API Keys**:
Add your Firebase and other necessary API keys to the `.env` file.

6. **Run Build Runner**:
7. **Run Build Runner**:
Generate necessary files with Build Runner:
```
dart run build_runner build
```

7. **Configure Xcode**:
8. **Configure Xcode**:
- Open your iOS project in Xcode:
```
open ios/Runner.xcworkspace
Expand Down Expand Up @@ -106,7 +115,7 @@ Before starting, make sure you have the following installed:
),
```

8. **Run the App**:
9. **Run the App**:
- Select your target device in Xcode or Android Studio.
- Run the app.

Expand Down

0 comments on commit 2265449

Please sign in to comment.