Chat interface to gemini chat agent, which offers gemini-1.5-pro that has >200k token context length

Alternatively can also use the chat_completion function for one off prompting

jtext = node.io.read_file("/Users/sheunaluko/dev/tidyscripts/apps/docs/jdoc.json")
chat = node.apis.gemini.chat.get_chat()
await chat(`Here is the entire documentation of the tidyscripts library in json format: -beginJsonText ${jtext} -endJsonText. I would like to ask you a question about the library now.`)

Index

Functions