About the Advanced Retrieval for AI with Chroma category

(Replace this first paragraph with a brief description of your new category. This guidance will appear in the category selection area, so try to keep it below 200 characters.)

Use the following paragraphs for a longer description, or to establish category guidelines or rules:

  • Why should people use this category? What is it for?

  • How exactly is this different than the other categories we already have?

  • What should topics in this category generally contain?

  • Do we need this category? Can we merge with another category, or subcategory?

we need slides for all short courses please
and what implementation is word_wrap function?

You are able to access the helper code. This is the implementatoin

def word_wrap(string, n_chars=72):
# Wrap a string at the next space after n_chars
if len(string) < n_chars:
return string
return string[:n_chars].rsplit(ā€™ ā€˜, 1)[0] + ā€˜\nā€™ + word_wrap(string[len(string[:n_chars].rsplit(ā€™ ', 1)[0])+1:], n_chars)

1 Like