Skip to main content

Enhancing Document Search in Thinkwise with AI Integration


Forum|alt.badge.img

 

Hello,

 

I'm exploring ways to enhance document search capabilities within Thinkwise, specifically focusing on textual metadata such as the content of the document, document name, document type (name), document number, and author.

Could you point me towards the documentation to documentation or resources for integrating AI-powered search, including leveraging external services like OpenAI, configuring custom search criteria, ensuring relevance and ranking of results, and implementing features such as natural language processing and document summarization?

Did this topic help you find an answer to your question?
This topic has been closed for replies.

2 replies

Remco Kort
Administrator
Forum|alt.badge.img+2
  • Administrator
  • 7 replies
  • April 30, 2024

That is a lot of questions, but I'll try to give you some pointers. I am going the make the assumption the documents are already in a format where the contents can be queried. If they are not you will have to get them into such a format. 

A good starting point would be reading our documentation: https://docs.thinkwisesoftware.com/docs/sf/llm

When implementing AI search you probably want to generate an embedding of every document and compare this to the embedding of the search query. An example of how this could be implemented: 

Summarization of documents can be done using our LLM instruction or LLM completion process actions. Do keep in mind that there are limits to the prompt size depending on which OpenAI model you are using. You might need to split documents and process them in parts if they are bigger than the token limit.


Forum|alt.badge.img

Thanks a bunch for your help!

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings