Quick LLM Access via 4 Lines of Code

4 lines of code to call a LLM, with zero maintenance in the future with DominoIQ.
Can you find any devtool that make it simpler to use LLM:s like
OpenAI, Claude, Llama, Mistral code setup?

This is the code that makes the magic happens

Dim LLM As NOTESLLMREQUEST,llmresp As NOTESLLMRESPONSE,resp as string
Set LLM=session.Createllmrequest()
Set llmresp=llm.Completion(db.server, "StdReplyEmail", “This is the text you want to respond to”)
resp=llmresp.Content

StdReplyEmail is the predefined LLM prompt to be used (This one is delivered with DominoIQ). Resp will hold the response from the LLM that you can use for your purpose.

Start testing with DominoIQ today, if you need to help with the setup check out Serdars great post

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.