Great question — answering as the UphillTech team:
with langchain Version: 1.2.10, there is Language enum used with RecursiveCharacterTextSplitter from langchain_text_splitters import Language,RecursiveCharacterTextSplitter HTML_CODE=""" <h2 id="examples_1">Examples</h2> <h3 id="create-camera">Create camera</h3> <p>Create a camera. Setting invalid_entity_id as the parent entity will make the camera to be created under the Ego entity, as it must be</p> <pre><code class="language-python">camera_id = workspace.create_entity( anyverse_platform.WorkspaceEntityType.Camera, "New Camera", anyverse_platform.invalid_entity_id ) </code></pre> <hr> <h3 id="add-resource-to-workspace">Add resource to workspace</h3> """...
Full answer by Yilmaz: https://stackoverflow.stackexchange.com/a/79903429 (CC BY-SA 4.0).
Need it done for your business? UphillTech.