OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

In Danswer how to control a connector index refreh frequency

  • Thread starter Thread starter KZiovas
  • Start date Start date
K

KZiovas

Guest
I am reading about chat AI assistant Danswer that it has a feature where its connectors automatically index updates or new files from their respective source, for example here it mentions this feature and here but in the documentation I cannot find how to control this for a specific connector, for example I want to set my file connector to update twice a day. IN the file connector documentation I cant see any relevant info.

By digging in the code I found that they have a refresh_freq variable which is used in the logic that runs background jobs for updating the index. So somehow this variable should be set but I dont see anywhere how to do it (apart from manually probably going and altering the connector by code which seems like a terrible way to do it). Any ideas on how this can be done normally?
<p>I am reading about <a href="https://docs.danswer.dev/introduction" rel="nofollow noreferrer">chat AI assistant Danswer</a> that it has a feature where its connectors automatically index updates or new files from their respective source, for example <a href="https://medium.com/@techlatest.net/overview-of-danswer-data-connectors-cf29ba131162" rel="nofollow noreferrer">here it mentions this feature</a> and here but in the documentation I cannot find how to control this for a specific connector, for example I want to set my file connector to update twice a day. IN the <a href="https://docs.danswer.dev/connectors/file" rel="nofollow noreferrer">file connector documentation</a> I cant see any relevant info.</p>
<p>By digging in the code I found that they have a <code>refresh_freq</code> variable which is used in the logic that runs background jobs for updating the index. So somehow this variable should be set but I dont see anywhere how to do it (apart from manually probably going and altering the connector by code which seems like a terrible way to do it). Any ideas on how this can be done normally?</p>
 

Latest posts

D
Replies
0
Views
1
Damiano Miazzi
D
Top