My mind is rather confused, so I'll first run one pomodoro and keep a record of it. I don't know where is the appropriate place to write it, so I'll write it here for now. - 🌀Where should I write?
🍅 Create a private repository
push from omni :
git remote add enchi https://github.com/nishio/omoikane-embed-enchi.git
git branch -M main
XXXX git push -u origin main
Oh, you're sending the LFS.
git push -u origin main is a mistake!$ git push -u enchi mainclone and open with new code
$ git clone https://github.com/nishio/omoikane-embed-enchi.git$ code omoikane-embed-enchiRun it locally for now.
.env from omni since it is not in the repositorypayload = {
"title": title,
"project": PROJECT,
"text": "\n".join(buf),
"is_public": is_public,
}
- `is_public=True` is hard coded.
- I'll set it to false.
COLLECTION_NAME in .env work?COLLECTION_NAME as nishio.is_public=False for "I don't want the string hit by a vector search that is public"?is_public=False searchable in the future, and the generated information is entered into enchi, I can see a future where you accidentally enter information with is_public=False that should not be public to anyone but yourself, and it leaks.is_public=True or for_enchi=True appropriate?is_public=True or project="enchi".project="nishio" or project="enchi" to begin with?🍅 :
prev_title, prev_lines = bot_output[-1]
~~~~~~~~~~^^^^
IndexError: list index out of range
This is due to the fact that the main branch is trying to get and read the latest notes, and since this is the first introduction, the latest notes do not exist
I don't think we need the main branch in the first place this time, so I'll pass.
Error due to private project
I created one page with a manual trigger.
Refactored.
🍅
Where is origin in the first place?
% git remote rename origin core% git push omni main% git fetch enchi
% git push omni mainYour branch and 'enchi/main' have diverged,
and have 5 and 4 different commits each, respectively.
% git branch -dr enchi/mainOther
This page is auto-translated from /nishio/enchiへの導入 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.