Skip to main content

Credo UI

A Streamlit-based UI for conversational AI with integrated search capabilities.

Features

  • Chat interface with streaming responses
  • Multiple search modes:
    • Regular search
    • Deep search
    • Deep research
  • Sidebar for additional information and settings
  • Session management for chat history
  • Built on top of Streamlit and streamlit-shadcn-ui

Installation

pip install credo-ui

Usage

Run the application:

credo_ui

Screenshots

Search Results Chat interface with search capabilities

Chat Interface

Components

  • Chat Interface: A clean, responsive UI for interacting with LLMs
  • Search Integration: Connect to various search backends through the LLMSearch class
  • Customizable Sidebar: Add additional controls and information
  • Expandable "Thinking" Section: Shows intermediate processing steps

Project Structure

credo_ui/
├── ui.py             # Main UI components
├── sidebar.py        # Sidebar implementation
├── utils.py          # Helper functions
resources/
├── ui_image1.png     # UI screenshot for chat interface
├── ui_image2.png     # UI screenshot for search results

Example

import streamlit as st
from credo_ui.utils import setup_chat_session
from credo_ui.ui import render_titles
from credo_ui.sidebar import Sidebar

# Initialize
sidebar = Sidebar(st)
chat_manager = setup_chat_session(st)

# Render UI components
render_titles(st)
sidebar.render_sidebar_info()

# ... rest of your application

Configuration

Switch between different search modes using the toggle buttons:

  • DeepSearch: Enhanced search capabilities
  • Search: Basic search functionality
  • DeepResearch: In-depth research capabilities with thinking steps

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Metadata

Release files for credo_ui 0.0.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for credo_ui 0.0.21
File Size Uploaded Provenance
credo_ui-0.0.21.tar.gz 10.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for credo_ui 0.0.21
File Interpreter ABI Platform
credo_ui-0.0.21-py3-none-any.whl Python 3 none any Details

Total release size: 22.5 kB

Release files / credo_ui-0.0.21.tar.gz

Download URL credo_ui-0.0.21.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7514c068d25d49e9fc5a2ee2e3b348b323938825db2992c0fa6d82586a7532c5
BLAKE2b-256 checksum
How to use checksums
cf2a5e98b28a265fd15ce0aa2edb8f6f04c21fb0ed4f1585841834199f454400
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.11.0rc1 Linux/6.8.0-52-generic

Release files / credo_ui-0.0.21-py3-none-any.whl

Download URL credo_ui-0.0.21-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
026d8b36c56e354f1e0c55e3ac5bbf391a49fc3a5dfd08d41624a705e980a8a2
BLAKE2b-256 checksum
How to use checksums
5cd64a229aa0ff04c2551719d95bb09adc7c64e1c721a0015a0ae01d8cc51f3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.11.0rc1 Linux/6.8.0-52-generic

Security for credo_ui 0.0.21

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page