sessions/next24/books-genai-vertex-springai/src/main/java/services/domain/FirestoreService.java [57:68]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public ApiFuture<WriteResult> storeBookInfo(String fileName, String title, String author, String summary, String modelResponse) {
    DocumentReference doc = firestore.collection("pictures").document(fileName);

    Map<String, Object> data = new HashMap<>();
    data.put("title", title);
    data.put("author", author);
    data.put("summaryInDatabase", summary);
    data.put("finalModelResponse", modelResponse);
    data.put("created", new Date());

    return doc.set(data, SetOptions.merge());
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sessions/next24/books-genai-vertex-langchain4j/src/main/java/services/domain/FirestoreService.java [57:68]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public ApiFuture<WriteResult> storeBookInfo(String fileName, String title, String author, String summary, String modelResponse) {
    DocumentReference doc = firestore.collection("pictures").document(fileName);

    Map<String, Object> data = new HashMap<>();
    data.put("title", title);
    data.put("author", author);
    data.put("summary", summary);
    data.put("modelResponse", modelResponse);
    data.put("created", new Date());

    return doc.set(data, SetOptions.merge());
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sessions/fall24/books-genai-vertex-springai/src/main/java/services/domain/FirestoreService.java [57:68]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public ApiFuture<WriteResult> storeBookInfo(String fileName, String title, String author, String summary, String modelResponse) {
    DocumentReference doc = firestore.collection("pictures").document(fileName);

    Map<String, Object> data = new HashMap<>();
    data.put("title", title);
    data.put("author", author);
    data.put("summaryInDatabase", summary);
    data.put("finalModelResponse", modelResponse);
    data.put("created", new Date());

    return doc.set(data, SetOptions.merge());
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



sessions/fall24/books-genai-vertex-langchain4j/src/main/java/services/domain/FirestoreService.java [57:68]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  public ApiFuture<WriteResult> storeBookInfo(String fileName, String title, String author, String summary, String modelResponse) {
    DocumentReference doc = firestore.collection("pictures").document(fileName);

    Map<String, Object> data = new HashMap<>();
    data.put("title", title);
    data.put("author", author);
    data.put("summary", summary);
    data.put("modelResponse", modelResponse);
    data.put("created", new Date());

    return doc.set(data, SetOptions.merge());
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



